[issue1515] deepcopy doesn't copy instance methods
Antoine Pitrou
report at bugs.python.org
Fri Nov 27 14:47:33 CET 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
The test should be a real unittest in Lib/test/test_copy, not something
in the __main__ section of Lib/copy.py. Nobody runs these, as a matter
of fact if you run Lib/copy.py under the py3k branch it fails.
To nitpick a bit, I also think Michael's test above was better, since it
was checking whether the copied method actually worked.
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1515>
_______________________________________
More information about the Python-bugs-list
mailing list