[Numpy-discussion] 1.1.1rc1 to be tagged tonight

Alan McIntyre alan.mcintyre@gmail....
Tue Jul 22 12:00:08 CDT 2008

On Tue, Jul 22, 2008 at 12:48 PM, Charles R Harris
<charlesr.harris@gmail.com> wrote:
> Actually, I think this should fail in mainline also. Alan,
> does nose show import failures?

I've seen talk of it swallowing some exceptions, but I'm not sure of
the specifics.  Are you referring to "import numpy.ma.mrecords" under
Python 2.3, NumPy trunk?   Here's what I get:

Python 2.3.7 (#1, Jul 14 2008, 22:34:29)
[GCC 4.1.2 (Gentoo 4.1.2 p1.1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy.ma.mrecords
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/local/lib/python2.3/site-packages/numpy/__init__.py",
line 107, in ?
    import ma
  File "/usr/local/lib/python2.3/site-packages/numpy/ma/__init__.py",
line 14, in ?
    import core
  File "/usr/local/lib/python2.3/site-packages/numpy/ma/core.py", line 113, in ?
    max_filler.update([(k, -np.inf) for k in [np.float32, np.float64]])
AttributeError: keys

More information about the Numpy-discussion mailing list