| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:e16e726d-1100-0df8-1546-db05777dc05a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A8E6:497D6:D32977:11DEB38:6A51F957 |
| html-safe-nonce | 0c1a4666e22c8cf93bf982d26953e346c56ce05b0e8d2c74773accccb5ec425f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEU2OjQ5N0Q2OkQzMjk3NzoxMURFQjM4OjZBNTFGOTU3IiwidmlzaXRvcl9pZCI6IjIwOTYzNjAzODM0NzY1Mjk0OTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3d9ac4ec9141f864103cee6186a6b5ac6fa65d76aac5e4a046f367d830e105f8 |
| hovercard-subject-tag | pull_request:3942953110 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/152296/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/60327169e6481c6dfe11076c25e871a0a34a5cccb3b8d8ea4b1286a64435498b/python/cpython/pull/152296 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/60327169e6481c6dfe11076c25e871a0a34a5cccb3b8d8ea4b1286a64435498b/python/cpython/pull/152296 |
| og:image:alt | Issue
#149816 sub-case 108
Root Cause
This race is caused between _PyObject_SetDict and _PyObject_StoreInstanceAttribute.
Inside the !FT_ATOMIC_LOAD_UINT8(values->valid) branch the obj and dict ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LindaSummer |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/152296#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F152296 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F152296 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/152296 |
| Reload | https://github.com/python/cpython/pull/152296 |
| Reload | https://github.com/python/cpython/pull/152296 |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.7k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| LindaSummer | https://github.com/LindaSummer |
| python:main | https://github.com/python/cpython/tree/main |
| LindaSummer:fix/dict_borrow_ref | https://github.com/LindaSummer/cpython/tree/fix/dict_borrow_ref |
| Conversation | https://github.com/python/cpython/pull/152296 |
| Commits14 (14) | https://github.com/python/cpython/pull/152296/commits |
| Checks | https://github.com/python/cpython/pull/152296/checks |
| Files changed | https://github.com/python/cpython/pull/152296/files |
| gh-149816: Fix race between setattr and object.__dict__ update | https://github.com/python/cpython/pull/152296#top |
| LindaSummer | https://github.com/LindaSummer |
| python:main | https://github.com/python/cpython/tree/main |
| LindaSummer:fix/dict_borrow_ref | https://github.com/LindaSummer/cpython/tree/fix/dict_borrow_ref |
|
| https://github.com/LindaSummer |
| LindaSummer | https://github.com/LindaSummer |
| Jun 26, 2026 | https://github.com/python/cpython/pull/152296#issue-4752827774 |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
| #149816 | https://github.com/python/cpython/issues/149816 |
| cpython/Objects/dictobject.c | https://github.com/python/cpython/blob/3ffda34f5cd3809a8755c9596948e4e477661d5f/Objects/dictobject.c#L7558-L7570 |
| 3ffda34 | https://github.com/python/cpython/commit/3ffda34f5cd3809a8755c9596948e4e477661d5f |
| 22 free-threading race conditions #149816 | https://github.com/python/cpython/issues/149816 |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
| LindaSummer | https://github.com/LindaSummer |
| June 23, 2026 00:03 | https://github.com/python/cpython/pull/152296#commits-pushed-13d6728 |
|
| https://github.com/LindaSummer |
| draft fix patch | https://github.com/python/cpython/pull/152296/commits/13d6728d07fbd1d685915a08153fc36b0fd81c01 |
| 13d6728 | https://github.com/python/cpython/pull/152296/commits/13d6728d07fbd1d685915a08153fc36b0fd81c01 |
|
| https://github.com/LindaSummer |
| todo: test, make draft almost ok. | https://github.com/python/cpython/pull/152296/commits/fa8f8b57c7929726b7ab672cd827f3eca4565a36 |
| fa8f8b5 | https://github.com/python/cpython/pull/152296/commits/fa8f8b57c7929726b7ab672cd827f3eca4565a36 |
|
| https://github.com/LindaSummer |
| update for comment. | https://github.com/python/cpython/pull/152296/commits/265ff3fb6a536d2589c6df9e30ed3296ac5dc161 |
| 265ff3f | https://github.com/python/cpython/pull/152296/commits/265ff3fb6a536d2589c6df9e30ed3296ac5dc161 |
|
| https://github.com/LindaSummer |
| add unit test case | https://github.com/python/cpython/pull/152296/commits/1cbfd8e17c64f6ef1e8941f2c791dc828b29c349 |
| 1cbfd8e | https://github.com/python/cpython/pull/152296/commits/1cbfd8e17c64f6ef1e8941f2c791dc828b29c349 |
|
| https://github.com/LindaSummer |
| add blurb. | https://github.com/python/cpython/pull/152296/commits/5ff874d657693f58649abe3a0345251c2942f216 |
| 5ff874d | https://github.com/python/cpython/pull/152296/commits/5ff874d657693f58649abe3a0345251c2942f216 |
|
| https://github.com/LindaSummer |
| update test case import. | https://github.com/python/cpython/pull/152296/commits/1aaa428388a88c0fdbf97263661e8e620e3074cc |
| 1aaa428 | https://github.com/python/cpython/pull/152296/commits/1aaa428388a88c0fdbf97263661e8e620e3074cc |
|
| https://github.com/LindaSummer |
| fix unused error | https://github.com/python/cpython/pull/152296/commits/fd477ca6f6d85d811bff59b70284b713c10bfacb |
| fd477ca | https://github.com/python/cpython/pull/152296/commits/fd477ca6f6d85d811bff59b70284b713c10bfacb |
|
| https://github.com/LindaSummer |
| update test case | https://github.com/python/cpython/pull/152296/commits/aa631bcbfc07b8f8c772b5c3c28346c4083dbdcb |
| aa631bc | https://github.com/python/cpython/pull/152296/commits/aa631bcbfc07b8f8c772b5c3c28346c4083dbdcb |
| https://github.com/LindaSummer |
| LindaSummer | https://github.com/LindaSummer |
| markshannon | https://github.com/markshannon |
| methane | https://github.com/methane |
| code owners | https://github.com/python/cpython/blob/49d484e4b1665fcb546075edbee429b8184a9d73/.github/CODEOWNERS#L215 |
| June 26, 2026 14:39 | https://github.com/python/cpython/pull/152296#event-27250700062 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jun 26, 2026
| https://github.com/python/cpython/pull/152296#ref-issue-4442224953 |
|
22 free-threading race conditions
#149816
| https://github.com/python/cpython/issues/149816 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Jun 26, 2026 | https://github.com/python/cpython/pull/152296#event-27250704921 |
| https://github.com/LindaSummer |
| LindaSummer | https://github.com/LindaSummer |
| Jun 26, 2026 | https://github.com/python/cpython/pull/152296#issuecomment-4810596540 |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
| https://github.com/apps/chatgpt-codex-connector |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
|
Jun 26, 2026
| https://github.com/python/cpython/pull/152296#pullrequestreview-4580331837 |
|
View reviewed changes
| https://github.com/python/cpython/pull/152296/files/aa631bcbfc07b8f8c772b5c3c28346c4083dbdcb |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
| https://github.com/python/cpython/pull/152296#pullrequestreview-4580331837 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Your team has set up Codex to review pull requests in this repo | https://chatgpt.com/codex/cloud/settings/general |
| @codex | https://github.com/codex |
| @codex | https://github.com/codex |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
| Objects/dictobject.c | https://github.com/python/cpython/pull/152296/files/aa631bcbfc07b8f8c772b5c3c28346c4083dbdcb#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
| chatgpt-codex-connector | https://github.com/apps/chatgpt-codex-connector |
| Jun 26, 2026 | https://github.com/python/cpython/pull/152296#discussion_r3482131950 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| https://camo.githubusercontent.com/c595229c0ecb6ee85b9c7804144d495f131a495ec87091fea2b262d954c9a92d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50312d6f72616e67653f7374796c653d666c6174 |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
| https://github.com/LindaSummer |
| LindaSummer | https://github.com/LindaSummer |
| Jun 29, 2026 | https://github.com/python/cpython/pull/152296#issuecomment-4830975080 |
| @markshannon | https://github.com/markshannon |
| @methane | https://github.com/methane |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
| https://github.com/LindaSummer |
| LindaSummer | https://github.com/LindaSummer |
| Jul 5, 2026 | https://github.com/python/cpython/pull/152296#issuecomment-4886556581 |
| @kumaraditya303 | https://github.com/kumaraditya303 |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
| https://github.com/kumaraditya303 |
| kumaraditya303 | https://github.com/kumaraditya303 |
|
Jul 6, 2026
| https://github.com/python/cpython/pull/152296#pullrequestreview-4634681820 |
|
View reviewed changes
| https://github.com/python/cpython/pull/152296/files/aa631bcbfc07b8f8c772b5c3c28346c4083dbdcb |
| Objects/dictobject.c | https://github.com/python/cpython/pull/152296/files/aa631bcbfc07b8f8c772b5c3c28346c4083dbdcb#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
| kumaraditya303 | https://github.com/kumaraditya303 |
| Jul 6, 2026 | https://github.com/python/cpython/pull/152296#discussion_r3527888090 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
| LindaSummer | https://github.com/LindaSummer |
| Jul 7, 2026 | https://github.com/python/cpython/pull/152296#discussion_r3537309525 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @kumaraditya303 | https://github.com/kumaraditya303 |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
| LindaSummer | https://github.com/LindaSummer |
| July 6, 2026 23:15 | https://github.com/python/cpython/pull/152296#commits-pushed-ed54dbf |
|
| https://github.com/LindaSummer |
| Merge remote-tracking branch 'upstream/main' into fix/dict_borrow_ref | https://github.com/python/cpython/pull/152296/commits/ed54dbffc3e5ad8f40ce389d5da14cb0821d849b |
| ed54dbf | https://github.com/python/cpython/pull/152296/commits/ed54dbffc3e5ad8f40ce389d5da14cb0821d849b |
|
| https://github.com/LindaSummer |
| remove complex result struct for try_store_instance_attr_status. | https://github.com/python/cpython/pull/152296/commits/1500d1754d1bc69783d66a97c4ff4d2a91387055 |
| 1500d17 | https://github.com/python/cpython/pull/152296/commits/1500d1754d1bc69783d66a97c4ff4d2a91387055 |
|
| https://github.com/LindaSummer |
| Merge branch 'main' into fix/dict_borrow_ref | https://github.com/python/cpython/pull/152296/commits/aa58de4d466ed963cd5c1e7cf5bb240735c6bd10 |
| aa58de4 | https://github.com/python/cpython/pull/152296/commits/aa58de4d466ed963cd5c1e7cf5bb240735c6bd10 |
|
| https://github.com/LindaSummer |
| Merge branch 'main' into fix/dict_borrow_ref | https://github.com/python/cpython/pull/152296/commits/09e2148c2f0a7d5e480e26ad0e3b35ba9f2b7221 |
| 09e2148 | https://github.com/python/cpython/pull/152296/commits/09e2148c2f0a7d5e480e26ad0e3b35ba9f2b7221 |
|
| https://github.com/LindaSummer |
| Merge branch 'main' into fix/dict_borrow_ref | https://github.com/python/cpython/pull/152296/commits/75c3c652ac8dd4d714887199f21da2c0a3c8dc88 |
| 75c3c65 | https://github.com/python/cpython/pull/152296/commits/75c3c652ac8dd4d714887199f21da2c0a3c8dc88 |
| https://github.com/LindaSummer |
| LindaSummer | https://github.com/LindaSummer |
| Jul 7, 2026 | https://github.com/python/cpython/pull/152296#issuecomment-4905000580 |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
| @kumaraditya303 | https://github.com/kumaraditya303 |
| #153201 | https://github.com/python/cpython/issues/153201 |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
|
| https://github.com/LindaSummer |
| Merge branch 'main' into fix/dict_borrow_ref | https://github.com/python/cpython/pull/152296/commits/43d7cf48c8f0504b10e6c74b3687a730d9bfcff4 |
| 43d7cf4 | https://github.com/python/cpython/pull/152296/commits/43d7cf48c8f0504b10e6c74b3687a730d9bfcff4 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F152296 |
|
| https://github.com/kumaraditya303 |
|
kumaraditya303
| https://github.com/kumaraditya303 |
|
| https://github.com/python/cpython/pull/152296/files/aa631bcbfc07b8f8c772b5c3c28346c4083dbdcb |
|
| https://github.com/apps/chatgpt-codex-connector |
|
chatgpt-codex-connector[bot]
| https://github.com/apps/chatgpt-codex-connector |
|
| https://github.com/python/cpython/pull/152296/files/aa631bcbfc07b8f8c772b5c3c28346c4083dbdcb |
|
| https://github.com/methane |
|
methane
| https://github.com/methane |
|
| https://github.com/markshannon |
|
markshannon
| https://github.com/markshannon |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Please reload this page | https://github.com/python/cpython/pull/152296 |
|
| https://github.com/LindaSummer |
|
| https://github.com/kumaraditya303 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |