Message248902
If pty is going to work at all then it should work regardless of whether the tests themselves are being run under a tty, yes.
I personally would not want to merge a test based on making isatty lie, because the point of tests is to increase confidence that things work, and that test sounds more complicated and error prone than the original code being tested. I'm not a cpython committer though...
I am more concerned that isatty might actually just not work on windows, since it is actually strictly speaking true that you never have a "try" on Windows, even if you might have a gui console window open. It would be a good idea to check this quickly...
The other option would be to just remove the isatty check from the patch entirely -- it wasn't something that had strong consensus in the first place. |
|
Date |
User |
Action |
Args |
2015-08-20 17:31:38 | njs | set | recipients:
+ njs, terry.reedy, ncoghlan, ezio.melotti, takluyver, martin.panter, Jim.Jewett, serhiy.storchaka, The Compiler, mbussonn |
2015-08-20 17:31:38 | njs | set | messageid: <1440091898.52.0.580241416294.issue24294@psf.upfronthosting.co.za> |
2015-08-20 17:31:38 | njs | link | issue24294 messages |
2015-08-20 17:31:38 | njs | create | |
|