Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.14] gh-145685: Stop the world when updating MRO of existing types (gh-145707)#145715

Open
colesbury wants to merge 1 commit intopython:3.14from
colesbury:backport-0b65c88-3.14
Open

[3.14] gh-145685: Stop the world when updating MRO of existing types (gh-145707)#145715
colesbury wants to merge 1 commit intopython:3.14from
colesbury:backport-0b65c88-3.14

Conversation

@colesbury
Copy link
Contributor

@colesburycolesbury commentedMar 9, 2026
edited by bedevere-appbot
Loading

We already have a stop-the-world pause elsewhere in this code path (type_set_bases) and this makes will make it easier to avoid contention on the TYPE_LOCK when looking up names in the MRO hierarchy.

Also use deferred reference counting for non-immortal MROs.
(cherry picked from commit0b65c88)

…types (pythongh-145707)We already have a stop-the-world pause elsewhere in this code path(type_set_bases) and this makes will make it easier to avoid contentionon the TYPE_LOCK when looking up names in the MRO hierarchy.Also use deferred reference counting for non-immortal MROs.(cherry picked from commit0b65c88)Co-authored-by: Sam Gross <colesbury@gmail.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@markshannonmarkshannonAwaiting requested review from markshannonmarkshannon is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@colesbury

[8]ページ先頭

©2009-2026 Movatter.jp