[Numpy-discussion] Status of NumPy and Python 3.3

David Cournapeau cournape@gmail....
Fri Jul 27 03:43:01 CDT 2012

On Fri, Jul 27, 2012 at 9:28 AM, David Cournapeau <cournape@gmail.com> wrote:
> On Fri, Jul 27, 2012 at 7:30 AM, Travis Oliphant <travis@continuum.io> wrote:
>> Hey all,
>> I'm wondering who has tried to make NumPy work with Python 3.3.   The Unicode handling was significantly improved in Python 3.3 and the array-scalar code (which assumed a certain structure for UnicodeObjects) is not working now.
>> It would be nice to get 1.7.0 working with Python 3.3 if possible before the release.     Anyone interested in tackling that little challenge?   If someone has already tried it would be nice to hear your experience.
> Given that we're late with 1.7, I would suggest passing this to the
> next release, unless the fix is simple (just a change of API).

I took a brief look at it, and from the errors I have seen, one is
cosmetic, the other one is a bit more involved (rewriting
PyArray_Scalar unicode support). While it is not difficult in nature,
the current code has multiple #ifdef of Py_UNICODE_WIDE, meaning it
would require multiple configurations on multiple python versions to
be tested.

I don't think python 3.3 support is critical - people who want to play
with bet interpreters can build numpy by themselves from master, so I
am -1 on integrating this into 1.7.

I may have a fix within tonight for it, though,


More information about the NumPy-Discussion mailing list