[issue1941] 2.6 stdlib using with statement

Adam Olsen report at bugs.python.org
Sat Jan 26 21:36:42 CET 2008


Adam Olsen added the comment:

Is there a guarantee that the with-statement is safe in the face of
KeyboardInterrupt?  PEP 343 seems to imply it's not, using it as a
reason for why we need no special handling if __exit__ fails.

----------
nosy: +Rhamphoryncus

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1941>
__________________________________


More information about the Python-bugs-list mailing list