Skip to content

Conversation

@miss-islington
Copy link
Contributor

copy.copy() and copy.deepcopy() now always raise a TypeError if
reduce() returns a tuple with length 6 instead of silently ignore
the 6th item or produce incorrect result.
(cherry picked from commit a365dd6)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…H-93609) copy.copy() and copy.deepcopy() now always raise a TypeError if __reduce__() returns a tuple with length 6 instead of silently ignore the 6th item or produce incorrect result. (cherry picked from commit a365dd6) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington
Copy link
ContributorAuthor

Status check is done, and it's a success ✅ .

@miss-islington
Copy link
ContributorAuthor

Status check is done, and it's a success ✅ .

@ambvambv merged commit c3045d8 into python:3.11Jun 10, 2022
@miss-islingtonmiss-islington deleted the backport-a365dd6-3.11 branch June 10, 2022 14:00
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bugAn unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@miss-islington@ambv@bedevere-bot@serhiy-storchaka