We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5abd63a commit c9c5bf2Copy full SHA for c9c5bf2
Lib/pdb.py
@@ -3085,8 +3085,8 @@ def handler(signum, frame):
3085
# Restore the old wakeup fd if we installed a new one
3086
if old_wakeup_fd is not sentinel:
3087
signal.set_wakeup_fd(old_wakeup_fd)
3088
- self.signal_read = self.signal_write = None
3089
finally:
+ self.signal_read = self.signal_write = None
3090
if old_handler is not sentinel:
3091
# Restore the old handler if we installed a new one
3092
signal.signal(signal.SIGINT, old_handler)
0 commit comments