gh-90494: Reject 6th element of the __reduce__() tuple (GH-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.
S
Serhiy Storchaka committed
a365dd64c2a1f0d142540d5031003f24986f489f
Parent: cffa4f7
Committed by GitHub <noreply@github.com>
on 6/9/2022, 7:12:43 AM