Posted Sep 20, 2006 12:06 UTC (Wed) by skaya (guest, #31233)
[Link]
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 ?
Python 2.5 released
Posted Sep 20, 2006 14:25 UTC (Wed) by tjc (subscriber, #137)
[Link]
Just curious: why do you want arrays with arbitrary lower indices?
Python 2.5 released
Posted Sep 21, 2006 20:01 UTC (Thu) by kbob (guest, #1770)
[Link]