Nathaniel Smith added the comment:

On another topic: you should add a test where the 'with' block exits by raising 
an exception, because in this case the interpreter jumps straight to 
WITH_CLEANUP_START, potentially skipping the DEFER_PENDING_UNTIL entirely.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue29988>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to