[Numpy-discussion] Array Protocol change for Python 2.6 (original) (raw)
Albert Strasheim fullung at gmail.com
Fri Jun 9 05:54:25 EDT 2006
- Previous message (by thread): [Numpy-discussion] Array Protocol change for Python 2.6
- Next message (by thread): [Numpy-discussion] Array Protocol change for Python 2.6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello all
-----Original Message----- From: numpy-discussion-bounces at lists.sourceforge.net [mailto:numpy-_ _discussion-bounces at lists.sourceforge.net] On Behalf Of Travis Oliphant Sent: 08 June 2006 22:27 To: numpy-discussion Subject: [Numpy-discussion] Array Protocol change for Python 2.6
... I would like to eliminate all the other array protocol attributes before NumPy 1.0 (and re-label those such as arraydata that are useful in other contexts --- like ctypes).
Just out of curiosity:
In [1]: x = N.array([])
In [2]: x.array_data Out[2]: ('0x01C23EE0', False)
Is there a reason why the array_data tuple stores the address as a hex string? I would guess that this representation of the address isn't the most useful one for most applications.
Regards,
Albert
- Previous message (by thread): [Numpy-discussion] Array Protocol change for Python 2.6
- Next message (by thread): [Numpy-discussion] Array Protocol change for Python 2.6
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]