[Python-checkins] r77752 - python/trunk/Lib/sysconfig.py

tarek.ziade python-checkins at python.org
Tue Jan 26 00:19:57 CET 2010


Author: tarek.ziade
Date: Tue Jan 26 00:19:56 2010
New Revision: 77752

Log:
switched the call order so this call works without suffering from issue #7774

Modified:
   python/trunk/Lib/sysconfig.py

Modified: python/trunk/Lib/sysconfig.py
==============================================================================
--- python/trunk/Lib/sysconfig.py	(original)
+++ python/trunk/Lib/sysconfig.py	Tue Jan 26 00:19:56 2010
@@ -84,7 +84,7 @@
 _EXEC_PREFIX = os.path.normpath(sys.exec_prefix)
 _CONFIG_VARS = None
 _USER_BASE = None
-_PROJECT_BASE = os.path.dirname(abspath(sys.executable))
+_PROJECT_BASE = abspath(os.path.dirname(sys.executable))
 
 if os.name == "nt" and "pcbuild" in _PROJECT_BASE[-8:].lower():
     _PROJECT_BASE = abspath(os.path.join(_PROJECT_BASE, pardir))


More information about the Python-checkins mailing list