Martin Panter added the comment:

I reported this to Gnu Readline: 
<https://lists.gnu.org/archive/html/bug-readline/2015-05/msg00014.html>. So far 
it sounds like there is no general solution. I am posting a patch implementing 
Sebastian’s workaround. But my personal philosophy is to leave Python alone if 
it is not doing anything wrong and this is indeed a Readline bug.

Chet also pointed out that there are other modes in addition to incremental 
search that are not cancelled. For instance, the “argument” mode where you 
press Alt+<number> etc.

----------
keywords: +patch
Added file: http://bugs.python.org/file39514/readline-cancel.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

Reply via email to