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 56e0f76 commit 61f94a0Copy full SHA for 61f94a0
Lib/_pyrepl/unix_console.py
@@ -393,9 +393,6 @@ def restore(self):
393
try:
394
signal.signal(signal.SIGWINCH, self.old_sigwinch)
395
except ValueError as e:
396
- # We can silence the ValueError if signal.signal() raised it
397
- # from a non-main thread on a non-Windows platform. Otherwise,
398
- # we need to re-raise it as its cause could be different.
399
import threading
400
if threading.current_thread() is threading.main_thread():
401
raise e
0 commit comments