Xuanji Li <xua...@gmail.com> added the comment:

Hi, I'm also looking at listobject.c also... if we want list.clear() to behave 
exactly like del list[], we may be able to just call list_ass_slice on the 
list. Similarly for list.copy which should behave like a=l[:]

----------
nosy: +xuanji

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10516>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to