[New-bugs-announce] [issue44248] copy.deepcopy calls objdect's __deepcopy__ with incorrect argument
Donald O'Donnell
report at bugs.python.org
Thu May 27 11:56:04 EDT 2021
New submission from Donald O'Donnell <DonnieODonnell at gmail.com>:
In copy.py of Std Lib, line 153 is now:
y = copier(memo)
Should be:
y = copier(x)
The present version copies the `memo` dict rather than `x`, the object to be copied by it's __deepcopy__ method.
----------
components: Library (Lib)
files: diff.txt
messages: 394558
nosy: DonnieODonnell
priority: normal
severity: normal
status: open
title: copy.deepcopy calls objdect's __deepcopy__ with incorrect argument
type: behavior
Added file: https://bugs.python.org/file50068/diff.txt
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44248>
_______________________________________
More information about the New-bugs-announce
mailing list