-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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-121832: Assert that the version number of static builtin types is not changed by PyType_Modified. #122182
Conversation
… by PyType_Modified. Update datetime module and a test to not call PyType_Modified.
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.
Just a few nitpicks
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.
LGTM
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Doesn't this need to be backported to 3.13? |
Thanks @markshannon for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…es is not changed by PyType_Modified. (pythonGH-122182) Update datetime module and test_type_cache.py to not call PyType_Modified.
…es is not changed by PyType_Modified. (pythonGH-122182) Update datetime module and test_type_cache.py to not call PyType_Modified.
Thanks @markshannon for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
…es is not changed by PyType_Modified. (pythonGH-122182) Update datetime module and test_type_cache.py to not call PyType_Modified. (cherry picked from commit e55b05f) Co-authored-by: Mark Shannon <mark@hotpy.org>
GH-122290 is a backport of this pull request to the 3.13 branch. |
Update datetime module and test_type_cache.py to not call PyType_Modified.
--with-pydebug
enabled #121832