[issue29988] with statements are not ensuring that __exit__ is called if __enter__ succeeds
Nick Coghlan
report at bugs.python.org
Wed Sep 11 18:09:28 EDT 2019
Nick Coghlan <ncoghlan at gmail.com> added the comment:
There is also the draft test case at https://github.com/ncoghlan/cpython/pull/2
That needs updating to account for the eval loop changes since I last worked on it, though. (I think that conflict may also be keeping the bots from running, even after I updated the issue title to use the modern convention)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue29988>
_______________________________________
More information about the Python-bugs-list
mailing list