Message243975
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. |
|
Date |
User |
Action |
Args |
2015-05-24 10:05:37 | martin.panter | set | recipients:
+ martin.panter, twouters, terry.reedy, pitrou, serhiy.storchaka, sping |
2015-05-24 10:05:37 | martin.panter | set | messageid: <1432461937.77.0.413036135018.issue24266@psf.upfronthosting.co.za> |
2015-05-24 10:05:37 | martin.panter | link | issue24266 messages |
2015-05-24 10:05:37 | martin.panter | create | |
|