Title: gh-141510: Raise TypeError in PyDict_SetItem() on frozendict by vstinner · Pull Request #145564 · python/cpython · GitHub
Open Graph Title: gh-141510: Raise TypeError in PyDict_SetItem() on frozendict by vstinner · Pull Request #145564 · python/cpython
X Title: gh-141510: Raise TypeError in PyDict_SetItem() on frozendict by vstinner · Pull Request #145564 · python/cpython
Description: If the following functions get an unexpected frozendict, raise a TypeError with an useful error message: PyDict_DelItem() PyDict_DelItemString() PyDict_Merge() PyDict_MergeFromSeq2() PyDict_Pop() PyDict_PopString() PyDict_SetDefault() PyDict_SetDefaultRef() PyDict_SetItem() PyDict_SetItemString() _PyDict_SetItem_KnownHash() PyDict_Update() Issue: gh-141510
Open Graph Description: If the following functions get an unexpected frozendict, raise a TypeError with an useful error message: PyDict_DelItem() PyDict_DelItemString() PyDict_Merge() PyDict_MergeFromSeq2() PyDict_Pop() ...
X Description: If the following functions get an unexpected frozendict, raise a TypeError with an useful error message: PyDict_DelItem() PyDict_DelItemString() PyDict_Merge() PyDict_MergeFromSeq2() PyDict_Pop() ...
Opengraph URL: https://github.com/python/cpython/pull/145564
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a06a947a-4ca2-774c-0344-62698054efff |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9D3A:2086C7:73B8435:A2D5986:6A501011 |
| html-safe-nonce | ac853c8601dfa7aa47ffc454834711e1111be097369c2d0d2379bc215510f37a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDNBOjIwODZDNzo3M0I4NDM1OkEyRDU5ODY6NkE1MDEwMTEiLCJ2aXNpdG9yX2lkIjoiNzg2NDM1NTIyNjk1NzkxMDAzMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 17bb851aed29ce07670595fe9831d78c6408156d3a24503589940830103c4b9c |
| hovercard-subject-tag | pull_request:3360317857 |
| 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/145564/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | If the following functions get an unexpected frozendict, raise a TypeError with an useful error message: PyDict_DelItem() PyDict_DelItemString() PyDict_Merge() PyDict_MergeFromSeq2() PyDict_Pop() ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | fe4f38b24922a1ce81c1708c3793b47c185599b9144ab94f6ca846b00698058d |
| 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 | 42b6390c91978a16f9196c38c7a00e9bf21f37e7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width