]> granicus.if.org Git - python/commit
Issue #23198: Reactor asyncio.StreamReader
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 13 Jan 2015 23:53:37 +0000 (00:53 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 13 Jan 2015 23:53:37 +0000 (00:53 +0100)
commitc2c12e433aa47149c692eef5e5debd7c475b04c7
tree15e9b44d4598413e8a78f1e64b1dda0f8bbd6a9a
parent231b404cb026649d4b7172e75ac394ef558efe60
Issue #23198: Reactor asyncio.StreamReader

- Add a new _wakeup_waiter() method
- Replace _create_waiter() method with a _wait_for_data() coroutine function
- Use the value None instead of True or False to wake up the waiter
Lib/asyncio/streams.py