[issue36667] pdb: restore SIGINT handler in sigint_handler already

2019-04-19 Thread daniel hahler
Change by daniel hahler : -- keywords: +patch pull_requests: +12804 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue36667] pdb: restore SIGINT handler in sigint_handler already

2019-04-19 Thread daniel hahler
New submission from daniel hahler : Without this, and additional SIGINT while waiting for the next statement (e.g. during `time.sleep`) will stop at `sigint_handler`. With this patch: > …/t-pdb-sigint-in-sleep.py(10)() -> sleep() (Pdb) c ^C Program interrupted. (Use 'cont' t