[Numpy-discussion] [SciPy-User] ANN: NumPy 1.5.0 release candidate 1

Bruce Southey bsouthey@gmail....
Thu Aug 26 11:34:20 CDT 2010


On Thu, Aug 26, 2010 at 6:30 AM, Ralf Gommers
<ralf.gommers@googlemail.com> wrote:
> I am pleased to announce the availability of the first release candidate of
> NumPy 1.5.0. This will be the first NumPy release to include support for
> Python 3, as well as for Python 2.7.
>
> Please try this RC and report any problems on the NumPy mailing list.
> Especially with Python 3 testing will be very useful. On Linux and OS X
> building from source should be straightforward, for Windows a binary
> installer is provided.
>
> Binaries, sources and release notes can be found at
> https://sourceforge.net/projects/numpy/files/
>
> Enjoy,
> Ralf
> _______________________________________________
> SciPy-User mailing list
> SciPy-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
>
On my 64-bit Linux all tests pass for:
Python versions: 2.4, 2.5, 2.6, 2.7, 3.1 and 3.2alpha

However, I did look at the known failures by setting verbose=10. The
output indicates two issues:

1) This ticket should be fixed or message changed to some future version:

Ticket #1081: weird array with strange input... ... KNOWNFAIL: Fix
this for 1.5.0.

2) The other is one regarding Python 3.

Ticket #99 ... KNOWNFAIL: numpy.intp('0xff', 16) not supported on Py3,
as it does not inherit from Python int

About all I understand is that 'intp' is 'an integer that is the size
of a pointer on the platform'. Anyhow, I think that at the very
leaintp must have the same behavior across Python versions.
With regards to Python 3, is there already an ticket for this or
should this ticket be reopened?

Python 2.6.4 (r264:75706, Jun  4 2010, 18:20:31)
[GCC 4.4.4 20100503 (Red Hat 4.4.4-2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> np.intp('0xb72a7008', 16)
3073011720
>>> np.int('0xb72a7008', 16)
3073011720



Python 3.1.2 (r312:79147, Mar 24 2010, 10:44:23)
[GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy as np
>>> int('0xb72a7008', 16)
3073011720
>>> np.intp('0xb72a7008', 16)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: function takes at most 1 argument (2 given)
>>> np.int('0xb72a7008', 16)
3073011720


Bruce


More information about the NumPy-Discussion mailing list