diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-09-10 17:06:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-10 17:06:09 (GMT) |
commit | d6892c2b9263b39ea1c7905667942914b6a24b2c (patch) | |
tree | 26857f7693712248ae06996a024659a1c73bb51f /Python/tracemalloc.c | |
parent | 71b6e2602c0b5b06d51855f179cdb30094a67968 (diff) | |
download | cpython-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