Skip to content

gh-145566: Skip stop-the-world when reassigning __class__ on newly created objects (gh-145567)#145567

Merged
colesbury merged 2 commits intopython:mainfrom
colesbury:gh-145566-object-set-class
Mar 6, 2026
Merged

gh-145566: Skip stop-the-world when reassigning __class__ on newly created objects (gh-145567)#145567
colesbury merged 2 commits intopython:mainfrom
colesbury:gh-145566-object-set-class

Conversation

@colesbury
Copy link
Contributor

@colesbury colesbury commented Mar 5, 2026

Copy link
Contributor

@mpage mpage left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@mpage mpage left a comment

Choose a reason for hiding this comment

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

Whoops, was a little too quick too accept. The failing tests look like real failures.

@bedevere-app
Copy link

bedevere-app bot commented Mar 5, 2026

When you're done making the requested changes, leave the comment: I have made the requested changes; please review again.

@colesbury colesbury added the needs backport to 3.14 bugs and security fixes label Mar 6, 2026
@colesbury colesbury changed the title gh-145566: Skip stop-the-world when reassigning __class__ on newly created objects gh-145566: Skip stop-the-world when reassigning __class__ on newly created objects (gh-145567) Mar 6, 2026
@colesbury colesbury merged commit 1d091a3 into python:main Mar 6, 2026
55 of 56 checks passed
@miss-islington-app
Copy link

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

@miss-islington-app
Copy link

Sorry, @colesbury, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 1d091a336e60b703a7d7ae4124f652eabe144f4e 3.14

@colesbury colesbury deleted the gh-145566-object-set-class branch March 6, 2026 17:01
colesbury added a commit to colesbury/cpython that referenced this pull request Mar 6, 2026
…__` on newly created objects (pythongh-145567)

(cherry picked from commit 1d091a3)

Co-authored-by: Sam Gross <colesbury@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Mar 6, 2026

GH-145601 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Mar 6, 2026
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