summaryrefslogtreecommitdiffstats
path: root/Lib/asyncio/selector_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-09 20:32:05 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2015-01-09 20:32:05 (GMT)
commit70db9e428aa476682ca80369d09a968b35729845 (patch)
tree8ae8f3ec699f537280445f089804feac93bd35ae /Lib/asyncio/selector_events.py
parent7eb10311be26e8f353530ed79476d4c859243401 (diff)
downloadcpython-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/selector_events.py')
-rw-r--r--Lib/asyncio/selector_events.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/asyncio/selector_events.py b/Lib/asyncio/selector_events.py
index 58b61f1..307a9ad 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