This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients martin.panter, pitrou, serhiy.storchaka, sping, terry.reedy, twouters
Date 2015-05-24.10:05:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432461937.77.0.413036135018.issue24266@psf.upfronthosting.co.za>
In-reply-to
Content
I suspect this is actually a bug with Gnu Readline. The same issue exists in GDB.

When a signal handler (such as SIGINT) raises an exception to abort the input, Python calls rl_free_line_state(). The documentation for that function, <https://cnswww.cns.cwru.edu/php/chet/readline/readline.html#IDX341> says Readline’s own SIGINT handler (which Python doesn’t normally actually use) also calls it to abort the current line. It lists various states that are “freed”. Although the search state is not in the list, it seems like it should be.
History
Date User Action Args
2015-05-24 10:05:37martin.pantersetrecipients: + martin.panter, twouters, terry.reedy, pitrou, serhiy.storchaka, sping
2015-05-24 10:05:37martin.pantersetmessageid: <1432461937.77.0.413036135018.issue24266@psf.upfronthosting.co.za>
2015-05-24 10:05:37martin.panterlinkissue24266 messages
2015-05-24 10:05:37martin.pantercreate