Title: Add frozendict support to pickle · Issue #145091 · python/cpython · GitHub
Open Graph Title: Add frozendict support to pickle · Issue #145091 · python/cpython
X Title: Add frozendict support to pickle · Issue #145091 · python/cpython
Description: >>> from pickle import dumps >>> dumps(frozendict(a=1, b=2)) Traceback (most recent call last): File "
Open Graph Description: >>> from pickle import dumps >>> dumps(frozendict(a=1, b=2)) Traceback (most recent call last): File "
X Description: >>> from pickle import dumps >>> dumps(frozendict(a=1, b=2)) Traceback (most recent call last): File "<pyshell#8>", line 1, in <module> dumps(frozendict(a=1,...
Opengraph URL: https://github.com/python/cpython/issues/145091
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add frozendict support to pickle","articleBody":"```python\n\u003e\u003e\u003e from pickle import dumps\n\u003e\u003e\u003e dumps(frozendict(a=1, b=2))\nTraceback (most recent call last):\n File \"\u003cpyshell#8\u003e\", line 1, in \u003cmodule\u003e\n dumps(frozendict(a=1, b=2))\nTypeError: cannot pickle 'frozendict' object\n```","author":{"url":"https://github.com/rhettinger","@type":"Person","name":"rhettinger"},"datePublished":"2026-02-22T00:04:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/145091/cpython/issues/145091"}
| 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:f0958eb9-bc77-dc86-7d11-61105296cf55 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C7AA:3DE393:2ACB69A:3A89A86:6A505626 |
| html-safe-nonce | d090190cb763f8958fd6601193051892e6cae86dae52517893d0b3bcdd955031 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0FBOjNERTM5MzoyQUNCNjlBOjNBODlBODY6NkE1MDU2MjYiLCJ2aXNpdG9yX2lkIjoiODMyMTg0NTA0NTg1OTczNTA3OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5b7faf24213fb6d3dd5e47487ca8f5493d9828aed3a0ce1503864928de831038 |
| hovercard-subject-tag | issue:3973116628 |
| 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/145091/issue_layout |
| twitter:image | https://opengraph.githubassets.com/994d6573a2b26116c21fa0333caa4a6699cebbf61fa558fd1a6508408b691f02/python/cpython/issues/145091 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/994d6573a2b26116c21fa0333caa4a6699cebbf61fa558fd1a6508408b691f02/python/cpython/issues/145091 |
| og:image:alt | >>> from pickle import dumps >>> dumps(frozendict(a=1, b=2)) Traceback (most recent call last): File " |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rhettinger |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width