Title: gh-133467: fix data race in type_set_name by kumaraditya303 · Pull Request #137302 · python/cpython · GitHub
Open Graph Title: gh-133467: fix data race in type_set_name by kumaraditya303 · Pull Request #137302 · python/cpython
X Title: gh-133467: fix data race in type_set_name by kumaraditya303 · Pull Request #137302 · python/cpython
Description: This fixes two data races: type_set_name: Assign the new name under stop the world pause to avoid data races with threads concurrently reading and writing name. slot_tp_descr_get: Avoid assignment in slot_tp_descr_get as it is not thread safe in free-threading and is a minor optimization. Issue: gh-133467
Open Graph Description: This fixes two data races: type_set_name: Assign the new name under stop the world pause to avoid data races with threads concurrently reading and writing name. slot_tp_descr_get: Avoid assignment...
X Description: This fixes two data races: type_set_name: Assign the new name under stop the world pause to avoid data races with threads concurrently reading and writing name. slot_tp_descr_get: Avoid assignment...
Opengraph URL: https://github.com/python/cpython/pull/137302
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5ee35e25-6c0a-f86c-eb3d-cec9f3e5203f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AE6C:3679D7:63A3D:87662:6A545E37 |
| html-safe-nonce | 36f4b3a78ecaf6be70b2dad6158f779be835f8e63e5250589a331c5a106cbd6d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTZDOjM2NzlENzo2M0EzRDo4NzY2Mjo2QTU0NUUzNyIsInZpc2l0b3JfaWQiOiIxNzg5NzE2NTY3Njk4OTg4NTk5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | fc6193b3a74a69bb8ee9d0ca06fbcd522a041dadfbc02b1a5debf3727e7295f4 |
| hovercard-subject-tag | pull_request:2713098617 |
| 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 | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/137302/files |
| twitter:image | https://avatars.githubusercontent.com/u/59607654?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/59607654?s=400&v=4 |
| og:image:alt | This fixes two data races: type_set_name: Assign the new name under stop the world pause to avoid data races with threads concurrently reading and writing name. slot_tp_descr_get: Avoid assignment... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width