[Scipy-tickets] [SciPy] #1576: Attempt to access func_name attribute in fsolve in python 3
SciPy Trac
scipy-tickets@scipy....
Tue Dec 20 09:29:07 CST 2011
#1576: Attempt to access func_name attribute in fsolve in python 3
----------------------------+-----------------------------------------------
Reporter: sanders | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: scipy.optimize | Version: devel
Keywords: fsolve |
----------------------------+-----------------------------------------------
Comment(by dlaxalde):
The first error {{{ValueError: math domain error}}} refers to the fact
that {{{math.sqrt}}} does not accept negative numbers.
Then, indeed, the {{{__name__}}} attribute should probably be used instead
of {{{func_name}}} since the latter disappeared in Python3.
--
Ticket URL: <http://projects.scipy.org/scipy/ticket/1576#comment:1>
SciPy <http://www.scipy.org>
SciPy is open-source software for mathematics, science, and engineering.
More information about the Scipy-tickets
mailing list