diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-01-10 13:30:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 13:30:37 (GMT) |
commit | 89cee94b315c88d3cd4c9ffc051e7abd6a5f2196 (patch) | |
tree | eb1510818cfed63f0e62a4dfbedba1f0208d3d74 /Python/formatter_unicode.c | |
parent | b3d2427f2280fa8dae3515036c518d74ba43ebd1 (diff) | |
download | cpython-89cee94b315c88d3cd4c9ffc051e7abd6a5f2196.zip cpython-89cee94b315c88d3cd4c9ffc051e7abd6a5f2196.tar.gz cpython-89cee94b315c88d3cd4c9ffc051e7abd6a5f2196.tar.bz2 |
gh-89850: Add default C implementations of persistent_id() and persistent_load() (GH-113579)
Previously the C implementation of pickle.Pickler and pickle.Unpickler
classes did not have such methods and they could only be used if
they were overloaded in subclasses or set as instance attributes.
Fixed calling super().persistent_id() and super().persistent_load() in
subclasses of the C implementation of pickle.Pickler and pickle.Unpickler
classes. It no longer causes an infinite recursion.
Diffstat (limited to 'Python/formatter_unicode.c')
0 files changed, 0 insertions, 0 deletions