[issue23792] help crash leaves terminal in raw mode
Martin Panter
report at bugs.python.org
Sat Mar 28 01:44:33 CET 2015
Martin Panter added the comment:
I suspect you also need ignore signals while piping data to the child process. Similar to how the POSIX system() call ignores SIGINT and SIGQUIT soon after spawning the child, until after the child has exited.
Try with a large help text on Linux, like
import _pyio
help(_pyio)
Also, Python 2 still gets interrupted for me, it is just that it doesn’t seem to happen immediately if it is up to the pipe.close() call.
----------
nosy: +vadmium
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23792>
_______________________________________
More information about the Python-bugs-list
mailing list