On Fri, Jun 10, 2011 at 4:57 PM, Ian Kelly <ian.g.ke...@gmail.com> wrote: > So as far as I can tell, generator-based context managers simply can't > be used as ContextDecorators. Furthermore, the documentation's claim > that they can is actually harmful, since they *appear* to work at > first. Or am I simply missing something here?
Please ignore my previous post. Looks like this has already been fixed for Python 3.2.1 and 3.3. http://bugs.python.org/issue11647 -- http://mail.python.org/mailman/listinfo/python-list