[issue7111] abort when stderr is closed

Antoine Pitrou report at bugs.python.org
Thu Feb 3 21:07:11 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Le jeudi 03 février 2011 à 19:59 +0000, Alexander Belopolsky a écrit :
> Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
> 
> > On Thu, Feb 3, 2011 at 2:44 PM, Antoine Pitrou <report at bugs.python.org> wrote:
> > ..
> >> Do you know of places where we use fd 2 instead of sys.stderr?
> >
> > We normally don't.
> 
> Hmm, grep "fprintf(stderr," returned 122 hits in the py3k branch.
> Are you sure these are all debug-build only?

"grep -C2" seems to say most of them are. I haven't done a survey.

----------

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


More information about the Python-bugs-list mailing list