Nick Coghlan <ncogh...@gmail.com> added the comment:

Aye, this is a specific case of the general issue noted in 
https://bugs.python.org/issue29988 (while it may be partially mitigated by 
https://bugs.python.org/issue32949, it isn't a guarantee)

----------
resolution:  -> duplicate
stage:  -> resolved
status: open -> closed
superseder:  -> with statements are not ensuring that __exit__ is called if 
__enter__ succeeds

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

Reply via email to