2.3 list reverse() bug?
andymac at bullseye.apana.org.au
Sat Dec 27 23:11:34 CET 2003
On Fri, 26 Dec 2003, Alex Martelli wrote:
> list(x) is my favourite way to make a shallow copy of list x, but x[:]
> and copy.copy(x) are essentially equivalent.
Behaviourally yes, performance wise no.
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370
andymac at pcug.org.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
More information about the Python-list