[issue11647] function decorated with a context manager can only be invoked once

Nick Coghlan report at bugs.python.org
Sun Dec 18 08:26:45 CET 2011


Nick Coghlan <ncoghlan at gmail.com> added the comment:

I'm prototyping a public version of the recreation API as "ContextDecorator.refresh_cm()" in contextlib2:

http://contextlib2.readthedocs.org/en/latest/index.html#contextlib2.ContextDecorator.refresh_cm

----------
type: behavior -> enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11647>
_______________________________________


More information about the Python-bugs-list mailing list