[issue10516] Add list.clear() and list.copy()
Raymond Hettinger
report at bugs.python.org
Fri Feb 25 20:44:44 CET 2011
Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:
Georg, what is the issue? Is there some reason that bytearrays should not be copied or cleared? Is there some reason to prefer the current:
dup = b[:] # copy
del b[:] # clear
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10516>
_______________________________________
More information about the Python-bugs-list
mailing list