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

Guido van Rossum report at bugs.python.org
Tue Apr 22 16:33:10 CEST 2014


Guido van Rossum added the comment:

Hm, I've never hear from someone who did this before. It might be easy to fix, but it would be ugly too (every EventLoop method would have to check this), and not very useful (you'll only make this mistake once in your life).

How much time did you waste debugging this?

Maybe we can just change repr(loop) to make it clear that it's closed?

----------
priority: normal -> low

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


More information about the Python-bugs-list mailing list