[issue23198] asyncio: refactor StreamReader

2015-01-13 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23198 ___

[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 rep...@bugs.python.org

[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 rep...@bugs.python.org http://bugs.python.org/issue23198

[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