Python 2.5 alpha

D.Hering vel.accel at gmail.com
Sun Sep 18 13:03:37 EDT 2005


So far so good. Numeric-24.0b2, numarray-1.3.3, pytables-1.1.1 (gonna
wait alittle on the scipy install) all built. Tests passed except one
trivial test in numarray but does function:

1 items had failures:
   1 of 1205 in cache pass
***Test Failed*** 1 failures.
File "/usr/local/lib/python2.5/site-packages/numarray/numtest.py", line
3477, in cache pass
Failed example:
    try:
       import Numeric
    except ImportError:
       pass
    else:
       a = arange(5)
       b = Numeric.arange(5)
       c = a + b
Exception raised:
    Traceback (most recent call last):
      File "/usr/local/lib/python2.5/doctest.py", line 1243, in __run
        compileflags, 1) in test.globs
      File "<doctest cache pass[1203]>", line 2, in ?
      File "/usr/local/lib/python2.5/site-packages/Numeric/Numeric.py",
line 358, in ?
        from dotblas import dot, innerproduct, vdot
      File
"/usr/local/lib/python2.5/site-packages/numarray/dotblas.py", line 5,
in ?
        import generic as _gen
      File
"/usr/local/lib/python2.5/site-packages/numarray/generic.py", line 13,
in ?
        import numerictypes as _nt
      File
"/usr/local/lib/python2.5/site-packages/numarray/numerictypes.py", line
168, in ?
        Byte = _register("Byte",   Int8)
      File
"/usr/local/lib/python2.5/site-packages/numarray/numerictypes.py", line
68, in _register
        raise ValueError("Type %s has already been registered" % name)
    ValueError: Type Byte has already been registered

sh-3.00# python2.5
Python 2.5a0 (#1, Sep 18 2005, 10:20:55)
[GCC 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import numarray as na
>>> import Numeric as nu
>>> a = na.arange(5)
>>> b = nu.arange(5)
>>> c = a+b
>>> c
array([0, 2, 4, 6, 8])
>>>

Anyway, looking forward to now play with the generator functionality
and hoping the installs' continue to perform properly. :^) 

Dieter




More information about the Python-list mailing list