Message106271
Here is a patch for trunk. This bug is minor, and so I don't know if it can be commited to 2.7.
The patch adds also a test that I added to py3k in r81252:
"handle_system_exit() flushs files to warranty the output order
PyObject_Print() writes into the C object stderr, whereas PySys_WriteStderr() writes into the Python object sys.stderr. Each object has its own buffer, so call sys.stderr.flush() and fflush(stderr)." |
|
Date |
User |
Action |
Args |
2010-05-21 23:36:34 | vstinner | set | recipients:
+ vstinner, georg.brandl, amaury.forgeotdarc, benjamin.peterson, ezio.melotti |
2010-05-21 23:36:34 | vstinner | set | messageid: <1274484994.03.0.545083066053.issue3798@psf.upfronthosting.co.za> |
2010-05-21 23:36:32 | vstinner | link | issue3798 messages |
2010-05-21 23:36:32 | vstinner | create | |
|