Matthias Bussonnier added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue24294>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to