[Patches] [ python-Patches-1444529 ] kwdargs for compile/__import__

SourceForge.net noreply at sourceforge.net
Tue Mar 7 06:22:38 CET 2006


Patches item #1444529, was opened at 2006-03-06 16:55
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1444529&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core (C code)
Group: Python 2.5
Status: Open
>Resolution: Accepted
Priority: 5
Submitted By: Thomas Wouters (twouters)
>Assigned to: Thomas Wouters (twouters)
Summary: kwdargs for compile/__import__

Initial Comment:
Keyword arguments for compile() and __import__(), as
discussed at PyCon. There is a slight speed difference
on my development system: __import__ is ~1% slower,
compile() is ~1.5% faster. I blame both on caches,
alignment and what not, so I bet they're totally
different for everyone. I'd say the advantage of
managing the growing set of arguments outweighs the
speed impact (if any.)


----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-03-06 21:22

Message:
Logged In: YES 
user_id=33168

These look good to me.  Thanks Thomas. I had started a patch
for import.  BTW I think the new __import__ needs to be
documented in libfuncs.txt or somewhere like that.  If you
don't get to it, I'll find my change and update the docs.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1444529&group_id=5470


More information about the Patches mailing list