-
-
Notifications
You must be signed in to change notification settings - Fork 32.2k
bpo-33316: PyThread_release_lock always fails #6541
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
Conversation
@zooba Is this ready to merge? |
Could you add any tests? |
I don't readily see how it's possible to test this. There's no error code or anything at I could test I can think of something myself but would like to receive some feedback so that I don't have to redo it afterwards. |
I removed the " needs backport to 3.6" label, the 3.6 branch no longer accept bugfixes (only security fixes are accepted): https://devguide.python.org/#status-of-python-branches |
We didn't have a test before, and this is code that has always been incorrect yet without apparent impact. |
Thanks @native-api for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7. |
Use correct interpretation of return value from APIs. (cherry picked from commit 05e9221) Co-authored-by: native-api <ivan_pozdeev@mail.ru>
GH-11737 is a backport of this pull request to the 3.7 branch. |
https://bugs.python.org/issue33316