summaryrefslogtreecommitdiffstats
path: root/Doc/library/struct.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2022-06-09 07:12:43 (GMT)
committerGitHub <noreply@github.com>2022-06-09 07:12:43 (GMT)
commita365dd64c2a1f0d142540d5031003f24986f489f (patch)
tree136b63bf5621d9289baae429f2221dfed2c9558c /Doc/library/struct.rst
parentcffa4f7854eb11e21c25026b24e9ccd14763c8d3 (diff)
downloadcpython-a365dd64c2a1f0d142540d5031003f24986f489f.zip
cpython-a365dd64c2a1f0d142540d5031003f24986f489f.tar.gz
cpython-a365dd64c2a1f0d142540d5031003f24986f489f.tar.bz2
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.
Diffstat (limited to 'Doc/library/struct.rst')
0 files changed, 0 insertions, 0 deletions