-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-105375: Improve error handling in _ctypes #105593
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-105375: Improve error handling in _ctypes #105593
Conversation
Prevent repeated PyLong_FromVoidPtr() from possibly overwriting the current exception.
🤖 New build scheduled with the buildbot fleet by @erlend-aasland for commit 00461fa 🤖 If you want to schedule another build, you need to add the 🔨 test-with-refleak-buildbots label again. |
Argh, the refleaks in |
Thanks @erlend-aasland for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Prevent repeated PyLong_FromVoidPtr() from possibly overwriting the current exception. (cherry picked from commit e8998e4) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Prevent repeated PyLong_FromVoidPtr() from possibly overwriting the current exception. (cherry picked from commit e8998e4) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
GH-105663 is a backport of this pull request to the 3.12 branch. |
GH-105664 is a backport of this pull request to the 3.11 branch. |
Prevent repeated PyLong_FromVoidPtr() from possibly overwriting the
current exception.