Nick Coghlan wrote:

> The former seems fairly pointless, and the latter difficult (since it has 
> implications for moving the data store when the array gets resized).

I don't see why that should be a serious problem, as
long as it's understood that the address reported by
the array interface is only for temporary use.

I also don't see what relevance the semantics of
Python indexing or mutation has. The array interface
should just report the location and shape of the
data as it happens to be when the call is made.
What happens to it in between times is entirely
up to the object.

Greg


_______________________________________________
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