[SciPy-dev] Broken Python Type Alias

Christopher Hanley chanley at stsci.edu
Mon Oct 31 08:43:19 CST 2005


The alias to the python type "sb.float" that previously was working in 
my regression testing system now raises an attribute error.  However, 
"sb.float_" still functions correctly. Example:

In [16]: x = sb.ones((10,),dtype=sb.float)
exceptions.AttributeError                            Traceback (most 
recent call last)


AttributeError: 'module' object has no attribute 'float'

My regression tests first showed this behavior yesterday morning with 
the checkout of newcore revision 1396.


Christopher Hanley
Systems Software Engineer
Space Telescope Science Institute
3700 San Martin Drive
Baltimore MD, 21218
(410) 338-4338

More information about the Scipy-dev mailing list