[Twisted-Python] What the hell?

Itamar twisted at itamarst.org
Fri Aug 31 13:15:16 EDT 2001

 From tcp.py:

class Client(Connection):
     """A client for TCP (and similiar) sockets.
     def __init__(self, host, port, protocol):
         """Initialize the client, setting up its socket, and request to
         if host == 'unix':
             # "port" in this case is really a filename

That is sooo wrong. What if my computer is named 'unix'? Why does the 
TCP code deal with files?

More information about the Twisted-Python mailing list