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 serhiy.storchaka
Recipients serhiy.storchaka, vstinner
Date 2016-03-25.20:54:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458939275.12.0.657612765526.issue26642@psf.upfronthosting.co.za>
In-reply-to
Content
There are some questions.

1. Is there a reason only name is closed, not dunder_name? (Josh's question, but I'm interesting too).

2. Is it worth to first replace standard streams with "standard printers", and then close original streams? This allows to log warnings from closing streams.

3. "standard printers" are used at startup and at shutdown. Can we reuse some code? Or save and reuse "standard printers"?

4. Daemons close standard streams and fileno(stdout) can return unrelevant value. Perhaps it is not good idea to recreate closed stdout.
History
Date User Action Args
2016-03-25 20:54:35serhiy.storchakasetrecipients: + serhiy.storchaka, vstinner
2016-03-25 20:54:35serhiy.storchakasetmessageid: <1458939275.12.0.657612765526.issue26642@psf.upfronthosting.co.za>
2016-03-25 20:54:35serhiy.storchakalinkissue26642 messages
2016-03-25 20:54:34serhiy.storchakacreate