[issue24402] input() uses sys.__stdout__ instead of sys.stdout for prompt
Martin Panter
report at bugs.python.org
Sat Oct 10 01:12:51 EDT 2015
Martin Panter added the comment:
I wrote this on Arch Linux, so I doubt your Ubuntu failure is valid. The error you see is what I would expect if the bug were not actually fixed. I suspect you need to recompile /Python/bltinmodule.c, which contains the bug fix.
However, the test also hangs OS X buildbots. I can only guess at why it is hanging, either at the waitpid() line or the os.read() line. I am looking at refactoring my test to use the existing check_input_tty() infrastructure. It seems over the top by adding a separate pipe back to the parent process, but presumably will workaround whatever is causing the hang.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24402>
_______________________________________
More information about the Python-bugs-list
mailing list