Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

GH-121832: Assert that the version number of static builtin types is not changed by PyType_Modified. #122182

Merged
merged 2 commits into from
Jul 24, 2024

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Jul 23, 2024

Update datetime module and test_type_cache.py to not call PyType_Modified.

… by PyType_Modified. Update datetime module and a test to not call PyType_Modified.
Copy link
Member

@picnixz picnixz left a 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

Copy link
Member

@ericsnowcurrently ericsnowcurrently left a 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>
@markshannon markshannon merged commit e55b05f into python:main Jul 24, 2024
34 checks passed
@ericsnowcurrently
Copy link
Member

Doesn't this need to be backported to 3.13?

@markshannon markshannon added the needs backport to 3.13 bugs and security fixes label Jul 24, 2024
@miss-islington-app
Copy link

Thanks @markshannon for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

nohlson pushed a commit to nohlson/cpython that referenced this pull request Jul 24, 2024
…es is not changed by PyType_Modified. (pythonGH-122182)

Update datetime module and test_type_cache.py to not call PyType_Modified.
nohlson pushed a commit to nohlson/cpython that referenced this pull request Jul 24, 2024
…es is not changed by PyType_Modified. (pythonGH-122182)

Update datetime module and test_type_cache.py to not call PyType_Modified.
@ericsnowcurrently ericsnowcurrently added needs backport to 3.13 bugs and security fixes and removed needs backport to 3.13 bugs and security fixes labels Jul 25, 2024
@miss-islington-app
Copy link

Thanks @markshannon for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 25, 2024
…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>
@bedevere-app
Copy link

bedevere-app bot commented Jul 25, 2024

GH-122290 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jul 25, 2024
@markshannon markshannon deleted the datetime-reload-safe branch August 6, 2024 10:14
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants