diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-09 20:32:05 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-09 20:32:05 (GMT) |
commit | 70db9e428aa476682ca80369d09a968b35729845 (patch) | |
tree | 8ae8f3ec699f537280445f089804feac93bd35ae /Lib/asyncio/futures.py | |
parent | 7eb10311be26e8f353530ed79476d4c859243401 (diff) | |
download | cpython-70db9e428aa476682ca80369d09a968b35729845.zip cpython-70db9e428aa476682ca80369d09a968b35729845.tar.gz cpython-70db9e428aa476682ca80369d09a968b35729845.tar.bz2 |
asyncio: sync with Tulip
* Tulip issue 184: FlowControlMixin constructor now get the event loop if the
loop parameter is not set. Add unit tests to ensure that constructor of
StreamReader and StreamReaderProtocol classes get the event loop.
* Remove outdated TODO/XXX
Diffstat (limited to 'Lib/asyncio/futures.py')
-rw-r--r-- | Lib/asyncio/futures.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/asyncio/futures.py b/Lib/asyncio/futures.py index f46d008..e0e12f0 100644 --- a/Lib/asyncio/futures.py +++ b/Lib/asyncio/futures.py @@ -20,7 +20,6 @@ _FINISHED = 'FINISHED' _PY34 = sys.version_info >= (3, 4) -# TODO: Do we really want to depend on concurrent.futures internals? Error = concurrent.futures._base.Error CancelledError = concurrent.futures.CancelledError TimeoutError = concurrent.futures.TimeoutError @@ -30,7 +29,6 @@ STACK_DEBUG = logging.DEBUG - 1 # heavy-duty debugging class InvalidStateError(Error): """The operation is not allowed in this state.""" - # TODO: Show the future, its state, the method, and the required state. class _TracebackLogger: |