[issue19403] Make contextlib.redirect_stdout reentrant

Nick Coghlan report at bugs.python.org
Sat Oct 26 16:18:22 CEST 2013


Nick Coghlan added the comment:

I think this change also makes for nicer examples of reentrant (using the updated redirect_stdout) and reusable-but-not-reentrant (using ExitStack) behaviour in the docs.

----------
keywords: +patch
Added file: http://bugs.python.org/file32375/issue19403_reentrant_redirect_stdout.diff

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


More information about the Python-bugs-list mailing list