diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-10 23:03:21 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-10 23:03:21 (GMT) |
commit | 7de2646cdf70fda17fffd369fa7c1784afc1ab00 (patch) | |
tree | 8f733cd0aa7c401122759941c526dadd7bb8bbf7 /Lib/asyncio/protocols.py | |
parent | c8935fe8608b5227ccbc944846d2d0468ab3865f (diff) | |
download | cpython-7de2646cdf70fda17fffd369fa7c1784afc1ab00.zip cpython-7de2646cdf70fda17fffd369fa7c1784afc1ab00.tar.gz cpython-7de2646cdf70fda17fffd369fa7c1784afc1ab00.tar.bz2 |
Cleanup properly proactor event loop
* store the "self reading" future when the "self pipe" is closed (when the
event loop is closed)
* store "accept" futures to cancel them when we stop serving
* close the "accept socket" if the "accept future" is cancelled
Fix many warnings which can be seen when unit tests are run in verbose mode.
Diffstat (limited to 'Lib/asyncio/protocols.py')
0 files changed, 0 insertions, 0 deletions