summaryrefslogtreecommitdiff
path: root/Lib/asyncio/selector_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-09 21:32:05 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-01-09 21:32:05 +0100
commit4124d845b13fca7b51a0e28993389febbf08b87a (patch)
tree71bf593a1bbd3cc6a84819343e38e96da6a8077c /Lib/asyncio/selector_events.py
parentf586ae6790daf9eecd6ba24ed514381ca780eb2f (diff)
downloadcpython-4124d845b13fca7b51a0e28993389febbf08b87a.tar.gz
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 58b61f1c89..307a9add6a 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