Title: dict insert_split_key() change introduces data-race · Issue #152238 · python/cpython · GitHub
Open Graph Title: dict insert_split_key() change introduces data-race · Issue #152238 · python/cpython
X Title: dict insert_split_key() change introduces data-race · Issue #152238 · python/cpython
Description: Bug report Bug description: GH-152200 fixes a deadlock but it introduces a data-race, resulting in a correctness bug. Demo of bug is linked to other issue. Suggested fix is to revert the original optimization (GH-150490) and also the fix...
Open Graph Description: Bug report Bug description: GH-152200 fixes a deadlock but it introduces a data-race, resulting in a correctness bug. Demo of bug is linked to other issue. Suggested fix is to revert the original o...
X Description: Bug report Bug description: GH-152200 fixes a deadlock but it introduces a data-race, resulting in a correctness bug. Demo of bug is linked to other issue. Suggested fix is to revert the original o...
Opengraph URL: https://github.com/python/cpython/issues/152238
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"dict insert_split_key() change introduces data-race","articleBody":"# Bug report\n\n### Bug description:\n\nGH-152200 fixes a deadlock but it introduces a data-race, resulting in a correctness bug. [Demo of bug](https://github.com/python/cpython/issues/151593#issuecomment-4802991249) is linked to other issue. Suggested fix is to revert the original optimization (GH-150490) and also the fix applied to it.\n\n### CPython versions tested on:\n\nCPython main branch\n\n### Operating systems tested on:\n\n_No response_\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-152232\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/nascheme","@type":"Person","name":"nascheme"},"datePublished":"2026-06-25T22:00:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/152238/cpython/issues/152238"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:53130a85-6a15-827e-6c59-0b298ad78884 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA10:139708:406AA69:5A3148A:6A50C96F |
| html-safe-nonce | baffbe0861b7e38268308a68094d52da8acc2051f92fdf3c0b6375ff152ff78b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTEwOjEzOTcwODo0MDZBQTY5OjVBMzE0OEE6NkE1MEM5NkYiLCJ2aXNpdG9yX2lkIjoiMzYzMzU4ODUzOTQ1Nzg0OTcxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 25c9e66ab982cb5216651b26f4a08151fb19041f6753924e16b30f9e14a3b05c |
| hovercard-subject-tag | issue:4747687867 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/152238/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b431332c22ed76920d21685f4750caac0a258610ad0e8dd6ddcafd69d7b41b8f/python/cpython/issues/152238 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b431332c22ed76920d21685f4750caac0a258610ad0e8dd6ddcafd69d7b41b8f/python/cpython/issues/152238 |
| og:image:alt | Bug report Bug description: GH-152200 fixes a deadlock but it introduces a data-race, resulting in a correctness bug. Demo of bug is linked to other issue. Suggested fix is to revert the original o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nascheme |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| turbo-cache-control | no-preview |
| 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 | 08e79d53fc070870d5b168356afebb1e286a2ffe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width