Skip to content

gh-37817: Allow assignment to __bases__ of direct subclasses of builtin classes#137585

Merged
serhiy-storchaka merged 3 commits intopython:mainfrom
serhiy-storchaka:set-bases
Sep 15, 2025
Merged

gh-37817: Allow assignment to __bases__ of direct subclasses of builtin classes#137585
serhiy-storchaka merged 3 commits intopython:mainfrom
serhiy-storchaka:set-bases

Conversation

@serhiy-storchaka
Copy link
Copy Markdown
Member

@serhiy-storchaka serhiy-storchaka commented Aug 9, 2025

Copy link
Copy Markdown
Member

@vstinner vstinner left a comment

Choose a reason for hiding this comment

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

LGTM

Comment thread Objects/typeobject.c Outdated
Co-authored-by: Victor Stinner <vstinner@python.org>
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) September 15, 2025 16:17
@serhiy-storchaka
Copy link
Copy Markdown
Member Author

Thank you for your review, @vstinner.

@serhiy-storchaka serhiy-storchaka merged commit 29d026f into python:main Sep 15, 2025
45 checks passed
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.

2 participants