[issue15805] Add stdout redirection tool to contextlib
Nick Coghlan
report at bugs.python.org
Tue Jul 23 05:02:11 CEST 2013
Nick Coghlan added the comment:
Alexander, please read the earlier comments on the issue: we're deliberately *not* doing that. Such functionality is more advanced, and more appropriate for an API in the subprocess module. Anyone interested in exploring that option further should create a separate issue.
This API is about making a *particular* common use case genuinely trivial. Generalising it *isn't* desirable, as any such generalisations will be sufficiently complex that people are better off just rolling their own solution from first principles.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15805>
_______________________________________
More information about the Python-bugs-list
mailing list