Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 10, 2023

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.
(cherry picked from commit d6892c2)

Co-authored-by: Serhiy Storchaka [email protected]

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.
(cherry picked from commit d6892c2)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-bot bedevere-bot added the type-bug An unexpected behavior, bug, or error label Sep 10, 2023
@serhiy-storchaka serhiy-storchaka enabled auto-merge (squash) September 10, 2023 17:07
@serhiy-storchaka serhiy-storchaka merged commit b070d73 into python:3.11 Sep 10, 2023
@miss-islington miss-islington deleted the backport-d6892c2-3.11 branch September 10, 2023 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants