diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2022-06-09 07:12:43 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-09 07:12:43 (GMT) |
commit | a365dd64c2a1f0d142540d5031003f24986f489f (patch) | |
tree | 136b63bf5621d9289baae429f2221dfed2c9558c /Doc/library/struct.rst | |
parent | cffa4f7854eb11e21c25026b24e9ccd14763c8d3 (diff) | |
download | cpython-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