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

SourceForge.net noreply at sourceforge.net
Sun Oct 12 14:12:38 EDT 2003


Patches item #822290, was opened at 2003-10-12 18:12
Message generated for change (Tracker Item Submitted) made by Item Submitter
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% 
 

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

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