Added TODOs to improve the Python clients socket connection code.

Fri, 17 Apr 2015 18:57:38 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 17 Apr 2015 18:57:38 +0200
changeset 4220
4df8f9fc7ea9
parent 4219
a6ee92e1f023
child 4221
c9fdc07753a7

Added TODOs to improve the Python clients socket connection code.

DebugClients/Python/DebugClientBase.py file | annotate | diff | comparison | revisions
DebugClients/Python3/DebugClientBase.py file | annotate | diff | comparison | revisions
--- a/DebugClients/Python/DebugClientBase.py	Fri Apr 17 18:41:41 2015 +0200
+++ b/DebugClients/Python/DebugClientBase.py	Fri Apr 17 18:57:38 2015 +0200
@@ -1129,6 +1129,7 @@
         @param redirect flag indicating redirection of stdin, stdout and
             stderr (boolean)
         """
+        # TODO: replace this by socket.create_connection
         if remoteAddress is None:                       # default: 127.0.0.1
             sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
             sock.connect((DebugProtocol.DebugAddress, port))
--- a/DebugClients/Python3/DebugClientBase.py	Fri Apr 17 18:41:41 2015 +0200
+++ b/DebugClients/Python3/DebugClientBase.py	Fri Apr 17 18:57:38 2015 +0200
@@ -1140,6 +1140,7 @@
         @param redirect flag indicating redirection of stdin, stdout and
             stderr (boolean)
         """
+        # TODO: replace this by socket.create_connection
         if remoteAddress is None:                       # default: 127.0.0.1
             sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
             sock.connect((DebugProtocol.DebugAddress, port))

eric ide

mercurial