[SciPy-dev] Broken Python Type Alias
Christopher Hanley
chanley at stsci.edu
Mon Oct 31 09:43:19 EST 2005
Greetings,
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)
/data/sparty1/dev/devCode/<console>
AttributeError: 'module' object has no attribute 'float'
My regression tests first showed this behavior yesterday morning with
the checkout of newcore revision 1396.
Chris
--
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