<div dir="ltr">2013/7/23 anatoly techtonik <span dir="ltr"><<a href="mailto:techtonik@gmail.com" target="_blank">techtonik@gmail.com</a>></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
The idea is to add list.copy() and make it as fast as slicing.<br></blockquote><div><br></div><div>Already done in 3.3, see <a href="http://bugs.python.org/issue10516">http://bugs.python.org/issue10516</a></div><div>and <a href="http://docs.python.org/3.3/whatsnew/3.3.html#other-language-changes">http://docs.python.org/3.3/whatsnew/3.3.html#other-language-changes</a></div>
<div><br></div><div>And the implementation in C uses list_slice(), so your wishes are fulfilled!<br></div><div><br></div></div>-- <br>Amaury Forgeot d'Arc
</div></div>