Martin Panter added the comment: This patch includes a test case using pty.fork() to ensure stdin is a terminal, so the bug would be triggered. It is a bit tricky, but hopefully works on Unix platforms. I have only tested it on Linux.
---------- Added file: http://bugs.python.org/file40707/input-terminal.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24402> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com