From: Francesc A. <fa...@ca...> - 2006-06-09 10:06:53
|
A Divendres 09 Juny 2006 11:54, Albert Strasheim va escriure: > Just out of curiosity: > > In [1]: x =3D 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. Good point. I hit this before and forgot to send a message about this. I ag= ree=20 that a integer would be better. Although, now that I think about this, I=20 suppose that the issue should be the difference of representation of longs = in=20 32-bit and 64-bit platforms, isn't it? Cheers, =2D-=20 >0,0< Francesc Altet =A0 =A0 http://www.carabos.com/ V V C=E1rabos Coop. V. =A0=A0Enjoy Data "-" |