[Python-ideas] list.copy() for consistency with dict.copy()

Amaury Forgeot d'Arc amauryfa at gmail.com
Tue Jul 23 12:48:23 CEST 2013

2013/7/23 anatoly techtonik <techtonik at gmail.com>

> The idea is to add list.copy() and make it as fast as slicing.

Already done in 3.3, see http://bugs.python.org/issue10516
and http://docs.python.org/3.3/whatsnew/3.3.html#other-language-changes

And the implementation in C uses list_slice(), so your wishes are fulfilled!

Amaury Forgeot d'Arc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20130723/0e16692b/attachment.html>

More information about the Python-ideas mailing list