-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
Open
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
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 instructions at lines 7493 to 7495 (MemoCleanup and assignment of new_memo to self->memo) cancels the result of instruction at line 7482 (MemoPut).
Thanks in advance.
CPython versions tested on:
3.12
Operating systems tested on:
Windows
Metadata
Metadata
Assignees
Labels
extension-modulesC modules in the Modules dirC modules in the Modules dirtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
No status