[issue11572] bring Lib/copy.py to 100% coverage

Brandon Craig Rhodes report at bugs.python.org
Sat Mar 19 19:18:32 CET 2011


Brandon Craig Rhodes <brandon at rhodesmill.org> added the comment:

Nick Coghlan <report at bugs.python.org> writes:

> Nick Coghlan <ncoghlan at gmail.com> added the comment:
>
> Regarding "__reduce__", other readers will have the same question Éric
> did, so that point should definitely go in a comment after the
> "__reduce_ex__" check.

I had initially wanted to make a comment, but feared the objection that
a comment would eventually fall out of sync with the implementation of
object.__reduce_ex__ over the years (just as copy.py currently has all
sorts of cruft that is no longer applicable).  But I think that you are
right that a comment that's at least true today is better than no
comment at all; so I will add one on Monday.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11572>
_______________________________________


More information about the Python-bugs-list mailing list