diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-01-09 21:32:05 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-01-09 21:32:05 +0100 |
commit | 70db9e428aa476682ca80369d09a968b35729845 (patch) | |
tree | 8ae8f3ec699f537280445f089804feac93bd35ae /Lib/asyncio/selector_events.py | |
parent | 7eb10311be26e8f353530ed79476d4c859243401 (diff) | |
download | cpython-70db9e428aa476682ca80369d09a968b35729845.tar.gz cpython-70db9e428aa476682ca80369d09a968b35729845.zip |
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/selector_events.py')
-rw-r--r-- | Lib/asyncio/selector_events.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/asyncio/selector_events.py b/Lib/asyncio/selector_events.py index 58b61f1c89e..307a9add6a9 100644 --- a/Lib/asyncio/selector_events.py +++ b/Lib/asyncio/selector_events.py @@ -145,7 +145,6 @@ class BaseSelectorEventLoop(base_events.BaseEventLoop): pass # False alarm. except OSError as exc: # There's nowhere to send the error, so just log it. - # TODO: Someone will want an error handler for this. if exc.errno in (errno.EMFILE, errno.ENFILE, errno.ENOBUFS, errno.ENOMEM): # Some platforms (e.g. Linux keep reporting the FD as |