[issue21326] asyncio: request clearer error message when event loop closed

STINNER Victor report at bugs.python.org
Wed Jun 4 01:47:15 CEST 2014


STINNER Victor added the comment:

Attached asyncio_closed_py34.patch: minimum patch to fix this issue. run_forever() and run_until_complete() raises a RuntimeError if the event loop was closed.

The patch only uses the private attribute BaseEventLoop._closed in the BaseEventLoop class, not outside.

----------
keywords: +patch
Added file: http://bugs.python.org/file35474/asyncio_closed_py34.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21326>
_______________________________________


More information about the Python-bugs-list mailing list