[issue24266] raw_input + readline: Ctrl+C during search breaks readline
Martin Panter
report at bugs.python.org
Wed Jul 29 14:58:52 CEST 2015
Martin Panter added the comment:
Readline 7.0 alpha version includes a new “feature” that should help:
i. rl_callback_sigcleanup: a new application function that can clean up and unset any state set by readline’s callback mode. Intended to be used after a signal.
Patch readline-sigcleanup.patch uses this function, depending on a compile-time version check. It fixes the bug when compiled against Readline 7.
----------
stage: test needed -> patch review
Added file: http://bugs.python.org/file40054/readline-sigcleanup.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24266>
_______________________________________
More information about the Python-bugs-list
mailing list