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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, casevh, neologix, pitrou, santoso.wijaya, terry.reedy, vstinner
Date 2011-03-06.23:41:31
SpamBayes Score 0.10592973
Marked as misclassified No
Message-id <1299454891.89.0.224208435704.issue11395@psf.upfronthosting.co.za>
In-reply-to
Content
On Windows, isatty() is a cheap call: a simple lookup in the _ioinfo structure.  And dup2() can still change the destination of a file descriptor, so the new attribute can be out of sync...
I suggest to call isatty() on every write.
History
Date User Action Args
2011-03-06 23:41:31amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, terry.reedy, pitrou, vstinner, casevh, neologix, santoso.wijaya
2011-03-06 23:41:31amaury.forgeotdarcsetmessageid: <1299454891.89.0.224208435704.issue11395@psf.upfronthosting.co.za>
2011-03-06 23:41:31amaury.forgeotdarclinkissue11395 messages
2011-03-06 23:41:31amaury.forgeotdarccreate