[issue22389] Add contextlib.redirect_stderr()

2014-11-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset 7f12c9c09fb6 by Berker Peksag in branch 'default': Issue #22389: Add contextlib.redirect_stderr(). https://hg.python.org/cpython/rev/7f12c9c09fb6 -- nosy: +python-dev ___ Python tracker

[issue22389] Add contextlib.redirect_stderr()

2014-11-28 Thread Berker Peksag
Changes by Berker Peksag berker.pek...@gmail.com: -- assignee: rhettinger - berker.peksag resolution: - fixed stage: patch review - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22389

[issue22389] Add contextlib.redirect_stderr()

2014-10-11 Thread Raymond Hettinger
Changes by Raymond Hettinger raymond.hettin...@gmail.com: -- assignee: ncoghlan - rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22389 ___

[issue22389] Add contextlib.redirect_stderr()

2014-10-11 Thread Berker Peksag
Berker Peksag added the comment: Good point. Patch updated. Thanks for the reviews! -- Added file: http://bugs.python.org/file36874/issue22389_v3.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22389

[issue22389] Add contextlib.redirect_stderr()

2014-10-11 Thread Nick Coghlan
Nick Coghlan added the comment: I just pushed the docs fix for issue #21061, so the docs part of the patch may need tweaking in order to apply automatically. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22389

[issue22389] Add contextlib.redirect_stderr()

2014-10-09 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@gmail.com: -- title: Generalize contextlib.redirect_stdout - Add contextlib.redirect_stderr() ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22389 ___

[issue22389] Add contextlib.redirect_stderr()

2014-10-09 Thread STINNER Victor
STINNER Victor added the comment: issue22389_v2.diff: .. function:: redirect_stdout(new_target) + redirect_stderr(new_target) I would prefer to have two distinct entries in the documentation. The redirect_stderr() doc can be after redirect_stdout() and just say Similar to

[issue22389] Add contextlib.redirect_stderr()

2014-10-09 Thread Yury Selivanov
Yury Selivanov added the comment: I think that Victor is right, it would be better to have two distinct entries in the docs. Besides that - LGTM. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22389