Skip to content

[3.13] GH-119462: Enforce invariants of type versioning. Backport of GH-120731. #120748

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

Merged
merged 3 commits into from
Jun 20, 2024

Conversation

markshannon
Copy link
Member

@markshannon markshannon commented Jun 19, 2024

@JelleZijlstra
Copy link
Member

@markshannon there are some compilation failures, apparently the type version cache doesn't exist the same way?

@JelleZijlstra JelleZijlstra removed their request for review June 20, 2024 03:48
Make sure that invariants of type versioning are maintained:
* Superclasses always have their version number assigned before subclasses
* The version tag is always zero if the tag is not valid.
* The version tag is always non-if the tag is valid.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like typo (non-if)

@markshannon markshannon merged commit b8fd80f into python:3.13 Jun 20, 2024
34 checks passed
@markshannon markshannon deleted the backport-120731 branch June 20, 2024 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants