-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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-128961: Fix exhausted array iterator crash in __setstate__
#128962
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
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.
style nit :)
Misc/NEWS.d/next/Library/2025-01-17-21-33-11.gh-issue-128961.XwvyIZ.rst
Outdated
Show resolved
Hide resolved
Thanks, @tom-pytel! |
@sobolevn's PEP-7 remarks were addressed with e7f00dc. Looks like we're good to go. Thanks a lot, @tom-pytel! |
__setstate__
This comment was marked as outdated.
This comment was marked as outdated.
…pythonGH-128962) (cherry picked from commit 4dade05) Co-authored-by: Tomasz Pytel <tompytel@gmail.com>
…pythonGH-128962) (cherry picked from commit 4dade05) Co-authored-by: Tomasz Pytel <tompytel@gmail.com>
GH-128976 is a backport of this pull request to the 3.13 branch. |
GH-128977 is a backport of this pull request to the 3.12 branch. |
This comment was marked as off-topic.
This comment was marked as off-topic.
@tom-pytel Is this your first merged PR? If so, congrats! (The buildbot failure is unrelated, FWIW.) |
Yup, first official PR so thank you. I did python internals at at a company a couple years back so not my first cpython rodeo, but free-threading and the quickening/specialization stuff is new. |
Simple fix for this segfault.