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 njs
Recipients Jim.Jewett, The Compiler, ezio.melotti, martin.panter, mbussonn, ncoghlan, njs, serhiy.storchaka, takluyver, terry.reedy
Date 2015-08-20.16:59:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440089953.67.0.198695750746.issue24294@psf.upfronthosting.co.za>
In-reply-to
Content
I don't see how any of those suggestions help for writing an automated test. Spawning a shell is irrelevant; the problem is to get a tty, which is much harder. There only way I can see that might work for an automated test is to use
  https://docs.python.org/3/library/pty.html
which is Linux only, but I suppose that's better than nothing.

(isatty(sys.stdin) does do something sensible on Windows, right? I hope?)
History
Date User Action Args
2015-08-20 16:59:13njssetrecipients: + njs, terry.reedy, ncoghlan, ezio.melotti, takluyver, martin.panter, Jim.Jewett, serhiy.storchaka, The Compiler, mbussonn
2015-08-20 16:59:13njssetmessageid: <1440089953.67.0.198695750746.issue24294@psf.upfronthosting.co.za>
2015-08-20 16:59:13njslinkissue24294 messages
2015-08-20 16:59:13njscreate