Skip to content

gh-136549: Fix signature of threading.excepthook() #136559

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add a test.
  • Loading branch information
serhiy-storchaka committed Jul 12, 2025
commit fb339b6cdafb13b9e8cefe91c3d1cf3b772e0f43
1 change: 1 addition & 0 deletions Lib/test/test_inspect/test_inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -5916,6 +5916,7 @@ def test_sysconfig_module_has_signatures(self):
def test_threading_module_has_signatures(self):
import threading
self._test_module_has_signatures(threading)
self.assertIsNotNone(inspect.signature(threading.__excepthook__))

def test_thread_module_has_signatures(self):
import _thread
Expand Down
Loading