[Python-Dev] unscriptable? > I dispute this. Indices aren't necessarily numeric
> (think of an A-Z file),

Python has recently added an __index__ slot which means "as an
integer, and I really am an integer, I'm not just rounding like
int(3.4) would do"

So in the context of python, an index is numeric, whereas "subscript"
has already been used for hashtables with arbitrary keys.

-jJ
_______________________________________________
Python-Dev mailing list
zvllln-eum@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-dev%40tangomu.com


