[SciPy-dev] scipy_core bugs
Robert Kern
rkern at ucsd.edu
Wed Sep 28 04:07:58 EDT 2005
I don't like the fact that scipy.{bool,int,float,complex,object,unicode}
conflict with builtins. That was a bit surprising at the prompt.
Unfortunately, they don't cleanly inherit from the Python counterparts.
In [48]: from scipy import *
In [49]: s = 'This is text.'
In [50]: u = unicode(s)
In [51]: len(u)
---------------------------------------------------------------------------
exceptions.TypeError Traceback (most
recent call last)
/Users/kern/svk-projects/ipython/nbdoc/trunk/scipy_tutorial/<console>
TypeError: len() of unsized object
--
Robert Kern
rkern at ucsd.edu
"In the fields of hell where the grass grows high
Are the graves of dreams allowed to die."
-- Richard Harter
More information about the SciPy-Dev
mailing list