New submission from Donald O'Donnell <donnieodonn...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue44248>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to