[issue21599] Argument transport in attach and detach method in Server class in base_events file is not used

2014-07-11 Thread STINNER Victor
STINNER Victor added the comment: Issue fixed in changesets e6198242a537 (Python 3.4) and 5a299c3ec120 (Python 3.5). -- resolution: -> fixed status: open -> closed ___ Python tracker _

[issue21599] Argument transport in attach and detach method in Server class in base_events file is not used

2014-07-01 Thread STINNER Victor
STINNER Victor added the comment: I proposed a deeper change to make most attributes and methods private: https://code.google.com/p/tulip/issues/detail?id=180 -- ___ Python tracker _

[issue21599] Argument transport in attach and detach method in Server class in base_events file is not used

2014-06-19 Thread STINNER Victor
STINNER Victor added the comment: The Server class is hardcoded in create_server() and create_unix_server(), it's not possible to pass an arbitrary class. Only the AbstractServer class is documented, and only close() and wait_for_close() methods: https://docs.python.org/dev/library/asyncio-even

[issue21599] Argument transport in attach and detach method in Server class in base_events file is not used

2014-06-06 Thread Giampaolo Rodola'
Changes by Giampaolo Rodola' : -- components: +Asyncio nosy: +gvanrossum, yselivanov ___ Python tracker ___ ___ Python-bugs-list maili

[issue21599] Argument transport in attach and detach method in Server class in base_events file is not used

2014-05-28 Thread Vajrasky Kok
New submission from Vajrasky Kok: In Lib/asyncio/base_events.py, we have these lines of code: --- def attach(self, transport): assert self.sockets is not None self.active_count += 1 def detach(self, transport):