Title: gh-141510: Add can_modify_dict() in dictobject.c by vstinner · Pull Request #144955 · python/cpython · GitHub
Open Graph Title: gh-141510: Add can_modify_dict() in dictobject.c by vstinner · Pull Request #144955 · python/cpython
X Title: gh-141510: Add can_modify_dict() in dictobject.c by vstinner · Pull Request #144955 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: can_modify_dict() is stricter than ASSERT_DICT_LOCKED() for frozendict. It uses PyUnstable_Object_IsUniquelyReferenced() which matters for free-threaded builds. Replace anydict_setitem_take2() with...
X Description: can_modify_dict() is stricter than ASSERT_DICT_LOCKED() for frozendict. It uses PyUnstable_Object_IsUniquelyReferenced() which matters for free-threaded builds. Replace anydict_setitem_take2() with...
Opengraph URL: https://github.com/python/cpython/pull/144955
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:47ddbf93-1bc6-0b7b-d386-a77995e64df3 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8164:FDB96:2CDB6:3B3AF:6A516FAC |
| html-safe-nonce | e5d37419a4770c946f08ff6be85d4d96a4153bf1532670e863e4cd82ffccc7f5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTY0OkZEQjk2OjJDREI2OjNCM0FGOjZBNTE2RkFDIiwidmlzaXRvcl9pZCI6IjEzNzMwMjgyMDg0NTkzNTgwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d2e789fcfcb94739c75ab6afb7342db299ec08a5764738dde47e336b7630cb4e |
| hovercard-subject-tag | pull_request:3298811959 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/144955/checks |
| twitter:image | https://opengraph.githubassets.com/78a00429162a5915116a69f5998d968b01811b2b9d606207431e2ce2dbb9a4f5/python/cpython/pull/144955 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/78a00429162a5915116a69f5998d968b01811b2b9d606207431e2ce2dbb9a4f5/python/cpython/pull/144955 |
| og:image:alt | can_modify_dict() is stricter than ASSERT_DICT_LOCKED() for frozendict. It uses PyUnstable_Object_IsUniquelyReferenced() which matters for free-threaded builds. Replace anydict_setitem_take2() with... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| 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 | b19955a9dd40fd99462443f7911b522d7216776a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width