This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients amaury.forgeotdarc, benjamin.peterson, ezio.melotti, georg.brandl, vstinner
Date 2010-05-21.23:36:31
SpamBayes Score 4.4406465e-06
Marked as misclassified No
Message-id <1274484994.03.0.545083066053.issue3798@psf.upfronthosting.co.za>
In-reply-to
Content
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)."
History
Date User Action Args
2010-05-21 23:36:34vstinnersetrecipients: + vstinner, georg.brandl, amaury.forgeotdarc, benjamin.peterson, ezio.melotti
2010-05-21 23:36:34vstinnersetmessageid: <1274484994.03.0.545083066053.issue3798@psf.upfronthosting.co.za>
2010-05-21 23:36:32vstinnerlinkissue3798 messages
2010-05-21 23:36:32vstinnercreate