diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-12-24 10:01:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-24 10:01:08 (GMT) |
commit | 269cb342ad487c7c244659bd25ed6d4d7bb95876 (patch) | |
tree | 3a7379bf4a143ca8832a1faf5b55830305fdb31b /Python/Python-ast.c | |
parent | 15ea4a429245ddb9d919757308777521f61c681c (diff) | |
download | cpython-269cb342ad487c7c244659bd25ed6d4d7bb95876.zip cpython-269cb342ad487c7c244659bd25ed6d4d7bb95876.tar.gz cpython-269cb342ad487c7c244659bd25ed6d4d7bb95876.tar.bz2 |
[3.12] gh-113028: Correctly memoize str in pickle when escapes added (GH-113436) (GH-113448)
This fixes a divergence between the Python and C implementations of pickle
for protocol 0, such that it pickle.py fails to re-use the first pickled
representation of strings involving characters that have to be escaped.
(cherry picked from commit 08398631a0298dcf785ee7bd0e26c7844823ce59)
Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions