-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-110241: Add missing error check to record_eval
in _testinternalcapi
#110242
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When I opened that issue I half expected you to grep and find more cases :).
I take it you grepped for calls to PyList_Append
where the return value is ignored and this was the only other one?
Yeap :) There are some |
Thanks @sobolevn for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, @sobolevn and @JelleZijlstra, I could not cleanly backport this to
|
…ternalcapi` (pythonGH-110242) (cherry picked from commit 4596c76) Co-authored-by: Nikita Sobolev <[email protected]>
GH-110244 is a backport of this pull request to the 3.12 branch. |
Guess this code isn't in 3.11. |
_testinternalcapi
#110241