[issue9599] Add PySys_FormatStdout and PySys_FormatStderr functions

2010-08-16 Thread STINNER Victor
STINNER Victor added the comment: Commited as r84094 to 3.2. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue9599] Add PySys_FormatStdout and PySys_FormatStderr functions

2010-08-13 Thread STINNER Victor
New submission from STINNER Victor : For my work #9425 (Rewrite import machinery to work with unicode paths), I need a function to write unicode strings to sys.stderr (especially to write messages on import in verbose mode). Attached patch creates PySys_FormatStdout() and PySys_FormatStderr().