Keyword arguments?



One of the bug reports says that the quadpack routines should allow
the user to set epsabs (absolute error limit) value for the quadpack
routines.  Currently, the routines take optional positional
arguments.  This works fine, and the extra epsabs arg could be placed
at the end, to preserve compatibility.

However, this isn't very nice, especially since the second optional
arg is limit, which is not normally changed.  

I was wondering about implementing a keyword argument scheme.
Something like

quad_qags(f,x,a,b, epsrel=1d-8, epsabs=1d-8, limit=500)

Everything after the b argument is optional, and sets the appropriate
value.  The order is not important, just like Lisp keyword args.
This basically gets translated into a Lisp call like (quad-qags f x a
b :epsrel 1d-8 :epsabs 1d-8 :limit 500).  The function quad-qags would
decide if other keyword args are allowed or not.

I know this would be different from what plot2d does, which basically
uses the syntax [a,b] instead of a = b.

What do people think about this?  Should quadpack more optional
positional args?  This new keyword arg scheme?  Use the plot2d style?


Ray