Neal Norwitz wrote:

> The patch adds a new method type (flags) METH_ARGS that is used in
> PyMethodDef. METH_ARGS means the min and max # of arguments are
> specified in the PyMethodDef by adding 2 new fields.

> * the defn of the MethodDef (# args) is separate from the function defn
> * potentially more error prone to write C methods???

"potentially"?  sounds like a recipe for disaster.  but the patch is nice, and 
more
speed never hurts.  maybe it's time to write that module fixup preprocessor 
thing
that Guido should have written some 15 years ago... ;-)

</F> 



_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to