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 <[EMAIL PROTECTED]> <http://bugs.python.org/issue1352> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com