[issue14963] Use an iterative implementation for contextlib.ExitStack.__exit__

alon horev report at bugs.python.org
Thu May 31 11:30:43 CEST 2012


alon horev <alonho at gmail.com> added the comment:

that was indeed trickier, but overriding the __context__ attribute did the trick.

----------
Added file: http://bugs.python.org/file25770/14963.2.patch

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


More information about the Python-bugs-list mailing list