Is there a common function to do this? Right now I'm just doing the following (and overriding __len__)
idx < 0:
idx = len(self) + idx
if idx < 0 or idx >= len(self):
raise IndexError, "array index (%d) out of range [0, %d)" %(idx, len(self))