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 vstinner
Date 2016-03-25.13:13:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458911597.09.0.705997743741.issue26642@psf.upfronthosting.co.za>
In-reply-to
Content
The Python shutdown process is complex and fragile.

It was discussed in the issue #25654 to replace stdout and stderr with simple "standard printers" (implemented in C, don't depend on other Python objects or modules).

Attached patch implements this idea. The patch begins with closing standard stream objects (sys.stdin, sys.stdout, sys.stderr), and then replace stdout and stderr.
History
Date User Action Args
2016-03-25 13:13:17vstinnersetrecipients: + vstinner
2016-03-25 13:13:17vstinnersetmessageid: <1458911597.09.0.705997743741.issue26642@psf.upfronthosting.co.za>
2016-03-25 13:13:17vstinnerlinkissue26642 messages
2016-03-25 13:13:16vstinnercreate