[issue24795] Make event loops with statement context managers

Martin Panter report at bugs.python.org
Thu Aug 6 02:57:53 CEST 2015


Martin Panter added the comment:

>From what I can see, the examples in the current documentation tend to diectly call loop.close() without an exception handler. Only two examples have the bare-bones try / finally handler (which is important for the example that uses Ctrl+C).

----------
nosy: +vadmium

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


More information about the Python-bugs-list mailing list