[Twisted-Python] _listenerDict

Sean C. Riley sean at twistedmatrix.com
Mon Jul 15 13:47:43 MDT 2002


in twisted.internet.app.py self._listenerDict is initialized as a list at line 87 but then re-initialized as a dict later on at line 479. It appears to be referenced as a dict everywhere except that first initialization... I assume it should be a dict?

If you unlistenTCP without bindPorts being called, i get a traceback saying the list self._listenerDict has no attribute "has_key".






More information about the Twisted-Python mailing list