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 kmeyer
Recipients kmeyer, paul.moore, steve.dower, tim.golden, zach.ware
Date 2016-11-10.08:18:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1478765918.44.0.71383121228.issue28654@psf.upfronthosting.co.za>
In-reply-to
Content
[Python 3.5.2 on Windows]

>py -c "import sys; print(sys.stdout.isatty(), file=sys.stderr)" > NUL
True

NUL is the Windows equivalent of /dev/nul, so the result should probably be False.

Under Cygwin, the result is as expected:

$ python3 -c "import sys; print(sys.stdout.isatty(), file=sys.stderr)" > /dev/nul
False
History
Date User Action Args
2016-11-10 08:18:38kmeyersetrecipients: + kmeyer, paul.moore, tim.golden, zach.ware, steve.dower
2016-11-10 08:18:38kmeyersetmessageid: <1478765918.44.0.71383121228.issue28654@psf.upfronthosting.co.za>
2016-11-10 08:18:38kmeyerlinkissue28654 messages
2016-11-10 08:18:37kmeyercreate