[Twisted-Python] Bad inconsistency with buildProtocol

Pavel Pergamenshchik pp64 at cornell.edu
Thu Jun 19 00:18:33 EDT 2003

It looks like buildProtocol gets passed inconsistent values for addr. In a program that connects to itself:
pahan at dunce:~/Twisted$ python echo.py
EchoServerFactory from ('', 43044)
EchoClientFactory to ('INET', 'localhost', 8000)

For incoming connections, addr gets passed straight from <socketobj>.accept, which is not in the proper format.

More information about the Twisted-Python mailing list