mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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
This commit is contained in:
parent
7eb10311be
commit
70db9e428a
6 changed files with 29 additions and 11 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue