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 <rep...@bugs.python.org> <http://bugs.python.org/issue24266> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com