New submission from kfj <[email protected]>:

Here's what I observed:

$ pypy
Python 2.7.3 (aa7b56060ddd, Apr 22 2013, 22:03:12)
[PyPy 2.0.0-beta2 with GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
And now for something completely different: ``PyPy 1.2 released -
http://pypy.org/''
>>>> import numpypy as np
>>>> a=np.zeros(10)
>>>> a.__array_interface__['data'][0]
-1220095968
>>>> a[2:].__array_interface__['data'][0]
-1220095968                                 <<<<<<<< same value

$ python
Python 2.7.3 (default, Apr 10 2013, 05:46:21)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> a=np.zeros(10)
>>> a.__array_interface__['data'][0]
162282152
>>> a[2:].__array_interface__['data'][0]
162282168                                  <<<<<<<<<<< different value

----------
nosy: +kfj
status: unread -> chatting

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1466>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to