[issue1352] Preliminary stderr patch

Guido van Rossum report at bugs.python.org
Tue Oct 30 01:29:36 CET 2007


Guido van Rossum added the comment:

Good idea.

Are there any places where PyBytes or PyString are written to stderr? 
Or can you get away with just supporting PyUnicode?

It's "dumb", not "dump".

I wouldn't explicitly remove the old stderr printer -- it will be
deleted automatically by the PyDict_SetItemString() call in
PySys_SetObject().  That way you'll still have it when the
PyFile_FromFd() call fails...

This patch doesn't commute with your 'closefd' patch...

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1352>
__________________________________


More information about the Python-bugs-list mailing list