Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.10] gh-90494: Reject 6th element of the __reduce__() tuple (GH-93609) #93632

Merged
merged 1 commit into from
Jun 10, 2022

Commits on Jun 9, 2022

  1. pythongh-90494: Reject 6th element of the __reduce__() tuple (pythonG…

    …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>
    serhiy-storchaka authored and miss-islington committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    fb2256e View commit details
    Browse the repository at this point in the history