[pypy-issue] [issue1153] numpypy: critical bug with array.size

mikefc tracker at bugs.pypy.org
Thu May 31 07:45:49 CEST 2012


mikefc <coolbutuseless at gmail.com> added the comment:

I don't see this on latest osx64 nightly.  Could you try again?  Might be related 
to 32bit vs 64bit perhaps...

==========================================================
Python 2.7.2 (c6d48bfb9d2f, May 30 2012, 03:00:21)
[PyPy 1.9.1-dev0 with GCC 4.2.1] on darwin
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``PyPy 1.3 awaiting release''
>>>> from numpypy import arange, cos
>>>> x = cos(1+arange(10)
.... )
>>>> x
array([ 0.54030231, -0.41614684, -0.9899925 , -0.65364362,  0.28366219,
        0.96017029,  0.75390225, -0.14550003, -0.91113026, -0.83907153])
>>>> x.shape
(10,)
>>>> len(x)
10
>>>> x.size
10

----------
nosy: +mikefc
priority: critical -> bug
status: unread -> chatting

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1153>
________________________________________


More information about the pypy-issue mailing list