GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-150858: add stop-the-world in `type_set_qualname` by KowalskiThomas · Pull Request #150859 · python/cpython

Conversation

@KowalskiThomas

@KowalskiThomas KowalskiThomas commented Jun 3, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Fixes #150858.

  • Issue: Race in type_set_qualname leads to memory corruption under free-threading #150858

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@KowalskiThomas
fix: stop-the-world in type_set_qualname
a9f09e0
@bedevere-app bedevere-app Bot mentioned this pull request Jun 3, 2026
Race in type_set_qualname leads to memory corruption under free-threading #150858
Closed
@KowalskiThomas
misc: add news entry
317fbf4
@KowalskiThomas
KowalskiThomas marked this pull request as ready for review June 5, 2026 12:42
@KowalskiThomas
KowalskiThomas requested a review from markshannon as a code owner June 5, 2026 12:42
@bedevere-app bedevere-app Bot added the awaiting review label Jun 5, 2026
kumaraditya303
kumaraditya303 approved these changes Jun 11, 2026
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Jun 11, 2026
kumaraditya303
kumaraditya303 reviewed Jun 11, 2026
View reviewed changes
Comment thread Misc/NEWS.d/next/Core_and_Builtins/2026-06-03-16-27-00.gh-issue-150858.j2dSkD.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@kumaraditya303
Update Misc/NEWS.d/next/Core_and_Builtins/2026-06-03-16-27-00.gh-issu…
7a37117
…e-150858.j2dSkD.rst
@kumaraditya303
kumaraditya303 enabled auto-merge (squash) June 11, 2026 11:41
@KowalskiThomas

KowalskiThomas commented Jun 11, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Seems like CI failed (due to an unrelated test I think) so auto merge won't do anything

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@kumaraditya303
kumaraditya303 merged commit 1ec6596 into python:main Jun 11, 2026
98 of 100 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the awaiting merge label Jun 11, 2026
philthompson10 pushed a commit to philthompson10/cpython that referenced this pull request Jun 17, 2026
@KowalskiThomas @philthompson10
pythongh-150858: fix data race while changing __qualname__ of a typ…
815b6ac
…e object(python#150859)
@nascheme nascheme mentioned this pull request Jul 14, 2026
Backport free-threading memory-safety fixes to 3.14 and 3.15 #153714
Closed
@kumaraditya303 kumaraditya303 added the needs backport to 3.15 bugs and security fixes label Jul 15, 2026
@miss-islington-app

miss-islington-app Bot commented Jul 15, 2026

Copy link
Copy Markdown

Thanks @KowalskiThomas for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app

bedevere-app Bot commented Jul 15, 2026

Copy link
Copy Markdown

GH-153747 is a backport of this pull request to the 3.15 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 bugs and security fixes label Jul 15, 2026
kumaraditya303 pushed a commit that referenced this pull request Jul 15, 2026
@miss-islington @KowalskiThomas
[3.15] gh-150858: fix data race while changing __qualname__ of a ty…
5125584
…pe object(GH-150859) (#153747)

gh-150858: fix data race while changing `__qualname__` of a type object(GH-150859)
(cherry picked from commit 1ec6596)

Co-authored-by: Thomas Kowalski <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@kumaraditya303 kumaraditya303 kumaraditya303 approved these changes
@markshannon markshannon Awaiting requested review from markshannon markshannon is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Race in type_set_qualname leads to memory corruption under free-threading

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@KowalskiThomas @kumaraditya303
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.