[Numpy-discussion] Python 3 porting

Pauli Virtanen pav at iki.fi
Sun Feb 21 08:43:57 EST 2010


Hi,

The test suite passes now on Pythons 2.4 - 3.1. Further testing is very
welcome -- also on Python 2.x. Please check that your favourite software
still builds and works with SVN trunk Numpy.

Currently, Scipy has some known failures because of

(i) removed new= keyword in numpy.histogram
(ii) Cython supports only native size/alignment PEP 3118 buffers, and
     Numpy arrays are most naturally expressed in the standardized
     sizes. Supporting the full struct module alignment stuff appears
     to be a slight PITA. I'll try to take a look at how to address
     this.

But everything else seems to work on Python 2.6.

    ***

Python version 2.4.6 (#2, Jan 21 2010, 23:27:36) [GCC 4.4.1]
Ran 2509 tests in 18.892s
OK (KNOWNFAIL=4, SKIP=2)

Python version 2.5.4 (r254:67916, Jan 20 2010, 21:44:03) [GCC 4.4.1]
Ran 2512 tests in 18.531s
OK (KNOWNFAIL=4)

Python version 2.6.4 (r264:75706, Dec  7 2009, 18:45:15) [GCC 4.4.1]
Ran 2519 tests in 19.367s
OK (KNOWNFAIL=4)

Python version 3.1.1+ (r311:74480, Nov  2 2009, 14:49:22) [GCC 4.4.1]
Ran 2518 tests in 23.239s
OK (KNOWNFAIL=5)


Cheers,
Pauli




More information about the NumPy-Discussion mailing list