Skip to content
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

gh-60207: Raise OSError instead of ThreadError if thread creation fails #22068

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ZackerySpytz
Copy link
Contributor

@ZackerySpytz ZackerySpytz commented Sep 2, 2020

If PyThread_start_new_thread() fails, use a more informative OSError
instead of a generic ThreadError.

https://bugs.python.org/issue16003

If PyThread_start_new_thread() fails, use a more informative OSError
instead of a generic ThreadError.
@ZackerySpytz
Copy link
Contributor Author

It would be nice to have a unit test for this.

@erlend-aasland erlend-aasland changed the title bpo-16003: Raise OSError instead of ThreadError if thread creation fails gh-60207: Raise OSError instead of ThreadError if thread creation fails Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants