[Numpy-discussion] numpy1.4 dtype issues: scipy.stats & pytables

denis denis-bz-py at t-online.de
Tue Jan 12 11:33:21 EST 2010


On 11/01/2010 18:10, josef.pktd at gmail.com wrote:

> For this problem, it's supposed to be only those packages that have or
> import cython generated code.

Right; is this a known bug, is there a known fix  for mac dmgs ?
(Whisper, how'd it get past testing ?)

scipy/stats/__init__.py has an apparent patch which doesn't work
     #remove vonmises_cython from __all__, I don't know why it is included
     __all__ = filter(lambda s:not (s.startswith('_') or s.endswith('cython')),dir())

but just removing vonmises_cython in distributions.py
=> import scipy.stats then works.

Similarly import scipy.cluster => trace
   File "numpy.pxd", line 30, in scipy.spatial.ckdtree (scipy/spatial/ckdtree.c:6087)
ValueError: numpy.dtype does not appear to be the correct type object

I like the naming convention xx_cython.so.

cheers
   -- denis





More information about the NumPy-Discussion mailing list