[issue23198] asyncio: refactor StreamReader

2015-01-13 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23198] asyncio: refactor StreamReader

2015-01-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 94a6f9a3580e by Victor Stinner in branch '3.4': Issue #23198: Reactor asyncio.StreamReader https://hg.python.org/cpython/rev/94a6f9a3580e -- nosy: +python-dev ___ Python tracker

[issue23198] asyncio: refactor StreamReader

2015-01-09 Thread STINNER Victor
STINNER Victor added the comment: See also this feature request: "StreamReader needs a timeout" https://code.google.com/p/tulip/issues/detail?id=96 -- ___ Python tracker ___

[issue23198] asyncio: refactor StreamReader

2015-01-08 Thread STINNER Victor
New submission from STINNER Victor: Attached patch refactors the asyncio.StreamReader class: - use the value None instead of True or False to wake up the waiter - add a new _wakeup_waiter() method - replace _create_waiter() method with a _wait_for_data() coroutine function The change adds a sub