[issue11647] function decorated with a context manager can only be invoked once
Nick Coghlan
report at bugs.python.org
Thu May 5 16:09:21 CEST 2011
Nick Coghlan <ncoghlan at gmail.com> added the comment:
The core bug has been fixed for 3.2.1 and forward ported to 3.3.
I credited the patch to "Ysj Ray" in ACKS and NEWS, let me know if you'd prefer a different attribution.
Leaving the issue open for now, since _recreate_cm() should be renamed and documented for 3.3 (but I haven't settled on a public name at this point - recreate_cm() isn't quite right for the public API, as reusable CMs aren't actually recreated by the method)
----------
versions: -Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11647>
_______________________________________
More information about the Python-bugs-list
mailing list