commit | d6892c2b9263b39ea1c7905667942914b6a24b2c | [log] [tgz] |
---|---|---|
author | Serhiy Storchaka <storchaka@gmail.com> | Sun Sep 10 20:06:09 2023 +0300 |
committer | GitHub <noreply@github.com> | Sun Sep 10 20:06:09 2023 +0300 |
tree | 26857f7693712248ae06996a024659a1c73bb51f | |
parent | 71b6e2602c0b5b06d51855f179cdb30094a67968 [diff] |
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.