On 10 Feb 2006, at 12:45, Nick Coghlan wrote:

An alternative would be to call it "__discrete__", as that is the key 

characteristic of an indexing type - it consists of a sequence of discrete 

values that can be isomorphically mapped to the integers.


Another alternative: __as_ordinal__.  Wikipedia describes ordinals as "numbers used to denote the position in an ordered sequence" which seems a pretty precise description of the intended result.  The "as_" prefix also captures the idea that this should be a lossless conversion.

Mark Russell
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to