-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
Add missing error checks for usages of PyIter_Next
#128198
Labels
3.12
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Comments
picnixz
added
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
3.12
bugs and security fixes
labels
Dec 24, 2024
picnixz
changed the title
Add missing error checks for
Add missing error checks for usages of Dec 24, 2024
PyIter_Next
PyIter_Next
serhiy-storchaka
pushed a commit
that referenced
this issue
Dec 25, 2024
serhiy-storchaka
pushed a commit
to serhiy-storchaka/cpython
that referenced
this issue
Dec 26, 2024
…_Next() (pythonGH-128199) (cherry picked from commit 5c814c8) Co-authored-by: Yan Yanchii <yyanchiy@gmail.com>
serhiy-storchaka
pushed a commit
to serhiy-storchaka/cpython
that referenced
this issue
Dec 26, 2024
…_Next() (pythonGH-128199) (cherry picked from commit 5c814c8) Co-authored-by: Yan Yanchii <yyanchiy@gmail.com>
serhiy-storchaka
added a commit
that referenced
this issue
Dec 26, 2024
serhiy-storchaka
added a commit
that referenced
this issue
Dec 26, 2024
Closing since completed and backported. Thanks for the fix. |
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Jan 8, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.12
bugs and security fixes
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
Not all usages of
PyIter_Next
in the codebase comply with specified behavior:cpython/Objects/abstract.c
Lines 2905 to 2919 in 180d417
One example would be:
cpython/Objects/frameobject.c
Lines 246 to 268 in 180d417
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
PyIter_Next
#128199The text was updated successfully, but these errors were encountered: