[issue10516] Add list.clear() and list.copy()

Xuanji Li report at bugs.python.org
Sat Nov 27 13:16:35 CET 2010


Xuanji Li <xuanji at gmail.com> added the comment:

That's good if it's so... can you explain why list_clear doesn't guarantee that the list is empty? Why would XDECREF populate the list? I don't quite understand it.

eli: are you writing a patch for this?

----------

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


More information about the Python-bugs-list mailing list