ANN: Numpy runs on Python 3

Hi, As many of you probably already know, Numpy works fully on Python 3 and Python 2, with a *single code base*, since March. This work is scheduled to be included in the next releases 1.5 and 2.0. Porting Scipy to work on Python 3 has proved to be much less work, and will probably be finished "soon". (Ongoing work is here: http:// github.com/cournape/scipy3/commits/py3k , http://github.com/pv/scipy-work/ commits/py3k ) For those who are interested in already starting to port their stuff to Python 3, you can use Numpy's SVN trunk version. Grab it: svn clone http://svn.scipy.org/svn/numpy/trunk/ numpy cd numpy python3 setup.py build An important point is that supporting Python 3 and Python 2 in the same code base can be done, and it is not very difficult either. It is also much preferable from the maintenance POV to creating separate branches for Python 2 and 3. We attempted to log changes needed in Numpy at http://projects.scipy.org/numpy/browser/trunk/doc/Py3K.txt which may be useful (although not completely up-to-date) information for people wanting to do make the same transition in their own code. (Announcement as recommended by our PR department @ EuroScipy :) -- Pauli Virtanen

hi, it's probably obvious for most of the subscribers, but still: svn clone http://svn.scipy.org/svn/numpy/trunk/ numpy should actually read: svn checkout http://svn.scipy.org/svn/numpy/trunk/ numpy that said, I'm looking forward to the git migration ;-) ciao, tiziano (member of the PR department @ EuroScipy :) On Sat 10 Jul, 14:30, Pauli Virtanen wrote:
Hi,
As many of you probably already know, Numpy works fully on Python 3 and Python 2, with a *single code base*, since March. This work is scheduled to be included in the next releases 1.5 and 2.0.
Porting Scipy to work on Python 3 has proved to be much less work, and will probably be finished "soon". (Ongoing work is here: http:// github.com/cournape/scipy3/commits/py3k , http://github.com/pv/scipy-work/ commits/py3k )
For those who are interested in already starting to port their stuff to Python 3, you can use Numpy's SVN trunk version. Grab it:
svn clone http://svn.scipy.org/svn/numpy/trunk/ numpy cd numpy python3 setup.py build
An important point is that supporting Python 3 and Python 2 in the same code base can be done, and it is not very difficult either. It is also much preferable from the maintenance POV to creating separate branches for Python 2 and 3. We attempted to log changes needed in Numpy at
http://projects.scipy.org/numpy/browser/trunk/doc/Py3K.txt
which may be useful (although not completely up-to-date) information for people wanting to do make the same transition in their own code.
(Announcement as recommended by our PR department @ EuroScipy :)
-- Pauli Virtanen
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

On Sun, Jul 11, 2010 at 12:30 AM, Pauli Virtanen <pav@iki.fi> wrote:
(Announcement as recommended by our PR department @ EuroScipy :)
From a PR point of view, it'd be great to have an announcement like
this go out to python-list/comp.lang.python. Anyone who follows that list will have seen the continual "debate" about the progress being made by major projects in terms of Python 3 support. Numpy is often cited as one of the big projects which people are waiting on, so I think a lot of people would be excited to hear that the trunk supports python 3. Furthermore, the implementation notes you've got there would be a useful resource for other people looking to make the 2->3 transition. Just my 2c, many thanks as always to the people putting in all the hard work to make numpy happen! Tim
-- Pauli Virtanen
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion
participants (3)
-
Pauli Virtanen
-
Tim Leslie
-
Tiziano Zito