[Stackless] numpy problem

Richard Tew richard.m.tew at gmail.com
Mon Jan 19 20:23:46 CET 2009

On Mon, Jan 19, 2009 at 8:46 AM, Alan Bromborsky <abrombo at verizon.net> wrote:
> I tried to import numpy into stackless and got the error:
> ImportError: /usr/lib/python2.5/site-packages/numpy/core/multiarray.so:
> undefined symbol: _PyUnicodeUCS4_IsWhitespace
> numpy uses 4-byte unicode while stackless uses 2-bytes.  What can I do to
> correct this problem?

I'd just like to expand on my earlier answer to this.

Note that Python unless it has a reason otherwise, defaults to the 2
byte mode.  This, like many other things discussed on this list
recently, is a standard Python behaviour.

See 'configure.in' and search for 'enable_unicode'.


More information about the Stackless mailing list