LWN.net Logo

Python 2.5 released

Python 2.5 released

Posted Sep 20, 2006 12:06 UTC (Wed) by skaya (guest, #31233)
In reply to: Python 2.5 released by dofwno
Parent article: Python 2.5 released

If by "arbitrary lower indices" you mean "negative indices", methinks this will not happen, since myarray[-1] means "the last element of myarray". But you can use a hashtable for that ;-)

If you mean "an array which starts at position 10000" (for instance), I think you can achieve that with a simple wrapper around getitem/setitem.

... If you mean something else, I would be grateful if you could clarify ?


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds