[SciPy-user] optimize.minpack.error?

Pearu Peterson pearu at cens.ioc.ee
Thu Feb 28 02:17:03 EST 2002


On Wed, 27 Feb 2002, John J. Lee wrote:

> 
> The minpack.error Exception seems to be impossible to get at (scipy 0.1,
> but latest CVS minpackmodule.c seems similar at least).
> 
> Something to do with this, in minpackmodule.c, I guess:
> 
> minpack_error = PyErr_NewException ("minpack.error", NULL, NULL);
> 
> 
> but I couldn't figure out from Python C API manual exactly what this
> function is supposed to do.

It is described here
http://www.python.org/doc/current/api/exceptionHandling.html#l2h-95

But I don't understand what you are getting at. Do you want minpack.error
Exception arised in your app or what? Note that calling minpack functions
may fail with exceptions, not just minpack.error.

Pearu




More information about the SciPy-User mailing list