Zahari Dim added the comment:

Considering Python is used often to interact with lower level
languages, it seems interesting to have the ability to control the
"real" standard output and error that those languages use. Note that
redirecting to /dev/null is only one possible application of this
feature. Others would be for example linking the stout to the logging

Specifically regarding redirecting to /dev/null, in my experience this
would be fairly useful In scientific software where low level code
tends to be used on scientific merits rather than on how much control
it has over verbosity.

On Sun, May 8, 2016 at 12:04 AM, Martin Panter <> wrote:
> Martin Panter added the comment:
> Is it really common to have a C wrapper with undesirable output? I suspect 
> there is not much demand for this feature. Maybe this would be better outside 
> of Python’s standard library.
> ----------
> nosy: +martin.panter
> status: open -> languishing
> _______________________________________
> Python tracker <>
> <>
> _______________________________________


Python tracker <>
Python-bugs-list mailing list

Reply via email to