Christian Heimes added the comment: Guido van Rossum wrote: > Are there any places where PyBytes or PyString are written to stderr? > Or can you get away with just supporting PyUnicode?
I could have simple copied the write method from _fileio.c and letting the argument parser do its job instead of fighting with the API for 20 minutes. : > It's "dumb", not "dump". I need an IDE with a context aware spell checker :] > 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... I didn't know that. I'll keep it in place. __________________________________ 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