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 mbussonn
Recipients Jim.Jewett, The Compiler, ezio.melotti, martin.panter, mbussonn, ncoghlan, njs, serhiy.storchaka, takluyver, terry.reedy
Date 2015-08-20.17:21:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440091271.82.0.676859580884.issue24294@psf.upfronthosting.co.za>
In-reply-to
Content
Would `pty` even work on CI where the terminal itself might not be a TTY ?

    >>> subprocess.Popen(['bash', '-c', '''./python.exe -c "import sys; print(sys.stdin.isatty())"'''], stdin=subprocess.PIPE, stderr=subprocess.STDOUT)

    False

Otherwise, I can also (try to) implement  a debug flag "--FakeTTYYesIMReallySure" that make `.isatty()` lie.
History
Date User Action Args
2015-08-20 17:21:11mbussonnsetrecipients: + mbussonn, terry.reedy, ncoghlan, ezio.melotti, njs, takluyver, martin.panter, Jim.Jewett, serhiy.storchaka, The Compiler
2015-08-20 17:21:11mbussonnsetmessageid: <1440091271.82.0.676859580884.issue24294@psf.upfronthosting.co.za>
2015-08-20 17:21:11mbussonnlinkissue24294 messages
2015-08-20 17:21:11mbussonncreate