[Python-Dev] XXX - in funcobject.c
Kristján Valur Jónsson
kristjan at ccpgames.com
Wed Feb 6 10:49:40 CET 2008
> -----Original Message-----
> From: Amaury Forgeot d'Arc [mailto:amauryfa at gmail.com]
> Sent: Wednesday, February 06, 2008 00:02
> To: Guido van Rossum
> Cc: Kristján Valur Jónsson; python-dev at python.org
> Subject: Re: [Python-Dev] XXX - in funcobject.c
>
> Yet Another Kind Of Tuple... However this seems the correct thing to
> do.
>
> In addition, if we agree to restrict arguments names to str (and
> disallow subclasses), there are easy optimizations in
> PyEval_EvalCodeEx, somewhere around the "XXX slow" comment (!)
Super. I think I'll do this myself and see if the crashes go away (even though I know that doesn't constitute a proof).
Also, allow me to suggest that we preallocate stack space for, say, 10 kwargs, to avoid the malloc for the common cases.
Kristján
More information about the Python-Dev
mailing list