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 pitrou
Recipients benjamin.peterson, pitrou, stutzbach
Date 2017-05-31.16:15:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1496247346.69.0.574083557121.issue30526@psf.upfronthosting.co.za>
In-reply-to
Content
Currently, if you want to change the line buffering behaviour of standard streams, you can create a new stream and assign it to sys.{stdout,stderr,stdin}.  Unfortunately, it is common for references to the old streams to be stored in various places (such as logging configuration, or third-party libraries).  Replacing them all is probably a hopeless cause.  It would be much better if one could simply write `sys.stdout.line_buffering = True` and be done with it.
History
Date User Action Args
2017-05-31 16:15:46pitrousetrecipients: + pitrou, benjamin.peterson, stutzbach
2017-05-31 16:15:46pitrousetmessageid: <1496247346.69.0.574083557121.issue30526@psf.upfronthosting.co.za>
2017-05-31 16:15:46pitroulinkissue30526 messages
2017-05-31 16:15:46pitroucreate