[issue29988] (async) with blocks and try/finally are not as KeyboardInterrupt-safe as one might like

Jeroen Demeyer report at bugs.python.org
Wed Jun 28 10:56:40 EDT 2017


Jeroen Demeyer added the comment:

> Actually, I think it's between the end of the `try` and the beginning of the `finally` (which is precisely the same place that *breaks* for a with statement).

Sorry, this is wrong and Erik was right. But the special case doesn't work anyway, so it doesn't really matter.

----------

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


More information about the Python-bugs-list mailing list