Repository navigation
Conversation
On Windows, when stdin is `NUL`, starting the REPL results on an exception loop because it is not caught by `os.isatty`
| ) | ||
|
|
||
| self.assertEqual(proc.returncode, 0, proc.stderr) | ||
| self.assertIn("tty required", proc.stderr) |
There was a problem hiding this comment.
The current Windows console setup already rejects NUL before the prompt loop. Can we check whether the hang still occurs on a current build? This assertion only checks the warning text.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
On Windows, when stdin is
NUL, starting the REPL results on an exception loop because it is not caught byos.isatty