Closed ghantoos closed 8 years ago
After looking into the bug, I stumbled on a recent python bug report (https://bugs.python.org/issue24266), that eventually was traced down to GNU/readline (https://lists.gnu.org/archive/html/bug-readline/2015-05/msg00014.html).
This seems to be an issue with the callback functionality in readline, which is why bash (for example) doesn't exhibit the problem.
À suivre.
When searching through the readline history, using ctrl-r. If the search is cancelled (with ctrl-c), the command mysteriously appears back on the line and is executed. This could be dangerous in some cases/commands.
Thanks to François Rieux for reporting this bug.