benrg <benrud...@gmail.com> added the comment:

But when I translate my example according to PEP 343, it works (i.e., doesn't 
raise an exception) in 3.2, and PEP 343 says "[t]he details of the above 
translation are intended to prescribe the exact semantics." So I think that at 
least one of PEP 343, the evaluation of mgr.__exit__, or the evaluation of with 
mgr: pass must be broken, though I'm no longer sure which.

----------

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

Reply via email to