[issue11647] function decorated with a context manager can only be invoked once
Antoine Pitrou
report at bugs.python.org
Fri Mar 25 15:38:08 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> Agreed with nick's idea, the implicitly recreation of the context
> managers would confuse users.
Uh, why would it? That's exactly what I expect the decorator to do, and
I was astonished to discover that it *doesn't*.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11647>
_______________________________________
More information about the Python-bugs-list
mailing list