diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-01-25 15:32:06 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-01-25 15:32:06 +0100 |
commit | b688cdad5fc9c26854efd6175be500cd1c24df3d (patch) | |
tree | ab2495a5622c01c8a85e3c5e14139db5b8337dbd /Lib/asyncio/proactor_events.py | |
parent | 9945ea3e3fd779ff428f21be49f1287ac816bd97 (diff) | |
download | cpython-b688cdad5fc9c26854efd6175be500cd1c24df3d.tar.gz |
Update asyncio from the Tulip project
Major changes:
- StreamReader.readexactly() now raises an IncompleteReadError if the
end of stream is reached before we received enough bytes, instead of
returning less bytes than requested.
- Unit tests use the main asyncio module instead of submodules like events
- _UnixWritePipeTransport now also supports character devices, as
_UnixReadPipeTransport. Patch written by Jonathan Slenders.
- Export more symbols: BaseEventLoop, BaseProactorEventLoop,
BaseSelectorEventLoop, Queue and Queue sublasses, Empty, Full
Diffstat (limited to 'Lib/asyncio/proactor_events.py')
-rw-r--r-- | Lib/asyncio/proactor_events.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/asyncio/proactor_events.py b/Lib/asyncio/proactor_events.py index ba5169e9d8..3b44f24835 100644 --- a/Lib/asyncio/proactor_events.py +++ b/Lib/asyncio/proactor_events.py @@ -4,6 +4,8 @@ A proactor is a "notify-on-completion" multiplexer. Currently a proactor is only implemented on Windows with IOCP. """ +__all__ = ['BaseProactorEventLoop'] + import socket from . import base_events |