Author martin.panter
Recipients RusiMody, berker.peksag, ezio.melotti, martin.panter, python-dev, r.david.murray
Date 2015-03-29.23:47:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I don’t think SIGQUIT handling is a big problem. But even with the new change, it is still easy to screw up the terminal in many cases, so I wouldn’t say this is fixed yet. Steps for Python 3 in a small 80 × 25 terminal on Linux:

* import _pyio; help(_pyio)
* Hit Ctrl-C

Steps for Python 2:

* import _pyio; help(_pyio)
* Hit Ctrl-C
* Hit Space ten times to scroll down. Alternatively, hit Ctrl-C a second time.

I am posting a quick patch which I think should fix this in Python 3 by deferring the traceback until after the child has finished. Another method is using the signal module like <>, but that’s probably too platform-specific for the pydoc module.
Date User Action Args
2015-03-29 23:47:50martin.pantersetrecipients: + martin.panter, ezio.melotti, r.david.murray, RusiMody, python-dev, berker.peksag
2015-03-29 23:47:50martin.pantersetmessageid: <>
2015-03-29 23:47:50martin.panterlinkissue23792 messages
2015-03-29 23:47:50martin.pantercreate