Title: Assigning a dict to the memo of an Unpickler object fails · Issue #111066 · python/cpython · GitHub
Open Graph Title: Assigning a dict to the memo of an Unpickler object fails · Issue #111066 · python/cpython
X Title: Assigning a dict to the memo of an Unpickler object fails · Issue #111066 · python/cpython
Description: Bug report Bug description: Hi, When using the C accelerated implementation of the pickle module, assigning a dict to the memo of an Unpickler object leads to clearing the memo. I think there is an error in Unpickler_set_memo as instruct...
Open Graph Description: Bug report Bug description: Hi, When using the C accelerated implementation of the pickle module, assigning a dict to the memo of an Unpickler object leads to clearing the memo. I think there is an...
X Description: Bug report Bug description: Hi, When using the C accelerated implementation of the pickle module, assigning a dict to the memo of an Unpickler object leads to clearing the memo. I think there is an...
Opengraph URL: https://github.com/python/cpython/issues/111066
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Assigning a dict to the memo of an Unpickler object fails","articleBody":"# Bug report\n\n### Bug description:\n\nHi,\n\nWhen using the C accelerated implementation of the pickle module, assigning a dict to the memo of an Unpickler object leads to clearing the memo.\nI think there is an error in Unpickler_set_memo as instructions at lines 7493 to 7495 (MemoCleanup and assignment of new_memo to self->memo) cancels the result of instruction at line 7482 (MemoPut).\n\nThanks in advance.\n\n### CPython versions tested on:\n\n3.12\n\n### Operating systems tested on:\n\nWindows\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-162329\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/PCigales","@type":"Person","name":"PCigales"},"datePublished":"2023-10-19T12:02:39Z","url":"https://github.com/python/cpython/issues/111066"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:ac7b88af-4df0-e225-28a4-b7357abb192a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AD2A:CC1A4:378AB68:46B00E9:6B01EC3E |
| html-safe-nonce | 8aee1f7c10311020f3eea7966c7ce41fce6c73d53f10e7c16873711b6b05e89f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDJBOkNDMUE0OjM3OEFCNjg6NDZCMDBFOTo2QjAxRUMzRSIsInZpc2l0b3JfaWQiOiIyMjQ0MjYzOTUxNzYyMzIwNDQ2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e6d90a7ea8e78fab55ebf4f00a445daaa6c3c193814a1c5130d44c3dc7c1d16d |
| hovercard-subject-tag | issue:1952051771 |
| 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/111066/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3dad8b0aaf142a578c6876d375145e3a08f982dc267fdc766a4f567c21fe9b43/python/cpython/issues/111066 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3dad8b0aaf142a578c6876d375145e3a08f982dc267fdc766a4f567c21fe9b43/python/cpython/issues/111066 |
| og:image:alt | Bug report Bug description: Hi, When using the C accelerated implementation of the pickle module, assigning a dict to the memo of an Unpickler object leads to clearing the memo. I think there is an... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | PCigales |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width