Skip to content

gh-161744: Avoid stopping the world when a type's abstract flag is unchanged - #161745

Open
lpyu001 wants to merge 1 commit into
python:mainfrom
lpyu001:speedup
Open

lpyu001 wants to merge 1 commit into
python:mainfrom
lpyu001:speedup

Conversation

@lpyu001

@lpyu001 lpyu001 commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Skip the stop-the-world pause when setting abstractmethods leaves the type's abstract flag unchanged. Flag changes still pause threads, and type cache invalidation remains in place.

Skip the stop-the-world pause when setting __abstractmethods__ leaves the type's abstract flag unchanged. Flag changes still pause threads, and type cache invalidation remains in place.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant