summaryrefslogtreecommitdiffstats
path: root/Python/tracemalloc.c
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-09-10 17:06:09 (GMT)
committerGitHub <noreply@github.com>2023-09-10 17:06:09 (GMT)
commitd6892c2b9263b39ea1c7905667942914b6a24b2c (patch)
tree26857f7693712248ae06996a024659a1c73bb51f /Python/tracemalloc.c
parent71b6e2602c0b5b06d51855f179cdb30094a67968 (diff)
downloadcpython-d6892c2b9263b39ea1c7905667942914b6a24b2c.zip
cpython-d6892c2b9263b39ea1c7905667942914b6a24b2c.tar.gz
cpython-d6892c2b9263b39ea1c7905667942914b6a24b2c.tar.bz2
gh-50644: Forbid pickling of codecs streams (GH-109180)
Attempts to pickle or create a shallow or deep copy of codecs streams now raise a TypeError. Previously, copying failed with a RecursionError, while pickling produced wrong results that eventually caused unpickling to fail with a RecursionError.
Diffstat (limited to 'Python/tracemalloc.c')
0 files changed, 0 insertions, 0 deletions