[Scipy-tickets] [SciPy] #1409: Calling polyfit causing error in python string conversions

SciPy Trac scipy-tickets@scipy....
Tue Mar 15 11:59:10 CDT 2011


#1409: Calling polyfit causing error in python string conversions
------------------------------+---------------------------------------------
 Reporter:  NuclearXRayLaser  |       Owner:  somebody
     Type:  defect            |      Status:  new     
 Priority:  normal            |   Milestone:          
Component:  Other             |     Version:  0.9.0   
 Keywords:                    |  
------------------------------+---------------------------------------------

Comment(by NuclearXRayLaser):

 I can not repeat on a newer dual core winXP SP3 laptop or desktop, just on
 an older P4 WinXP SP3.

 Here is a more "to the point demo code"

 {{{
 import scipy

 print str(1e-6) # ok here

 # now just call polyfit and something bad happens
 a = scipy.polyfit([0,1,2], [1, 2, 3,], 1)

 # now certain string conversion don't work
 print str(1e-6)
 }}}

-- 
Ticket URL: <http://projects.scipy.org/scipy/ticket/1409#comment:3>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.


More information about the Scipy-tickets mailing list