summaryrefslogtreecommitdiffstats
path: root/Python/formatter_unicode.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-01-10 13:30:37 (GMT)
committerGitHub <noreply@github.com>2024-01-10 13:30:37 (GMT)
commit89cee94b315c88d3cd4c9ffc051e7abd6a5f2196 (patch)
treeeb1510818cfed63f0e62a4dfbedba1f0208d3d74 /Python/formatter_unicode.c
parentb3d2427f2280fa8dae3515036c518d74ba43ebd1 (diff)
downloadcpython-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