[Patches] [ python-Patches-822290 ] Faster startup by distutils diet

SourceForge.net noreply at sourceforge.net
Mon Oct 13 06:02:04 EDT 2003


Patches item #822290, was opened at 2003-10-12 19:12
Message generated for change (Comment added) made by mwh
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=822290&group_id=5470

Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Oren Tirosh (orenti)
Assigned to: Nobody/Anonymous (nobody)
Summary: Faster startup by distutils diet

Initial Comment:
site.py imports get_platform from distutils.utils. This results in 
importing of some other modules not used by the get_platform 
function such as re. 
 
This patch moves get_platform to a separate module and speeds 
up  ' python -c "raise SystemExit"  ' by about 20% 
 

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

>Comment By: Michael Hudson (mwh)
Date: 2003-10-13 11:02

Message:
Logged In: YES 
user_id=6656

This only affects an uninstalled Python build, right?

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

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



More information about the Patches mailing list