[Python-checkins] python/dist/src/Lib site.py,1.53.6.1,1.53.6.2

jhylton at users.sourceforge.net jhylton at users.sourceforge.net
Tue Dec 2 01:47:39 EST 2003


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1:/tmp/cvs-serv30842
Modified Files:
 Tag: release23-maint
	site.py 
Log Message:
A hack: Disable import of re, because sre doesn't compile right.
DON'T MERGE THIS CHANGE TO THE TRUNK.
Index: site.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/site.py,v
retrieving revision 1.53.6.1
retrieving revision 1.53.6.2
diff -C2 -d -r1.53.6.1 -r1.53.6.2
*** site.py	20 Oct 2003 14:34:46 -0000	1.53.6.1
--- site.py	2 Dec 2003 06:47:37 -0000	1.53.6.2
***************
*** 92,96 ****
 if (os.name == "posix" and sys.path and
 os.path.basename(sys.path[-1]) == "Modules"):
! from distutils.util import get_platform
 s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
 s = os.path.join(os.path.dirname(sys.path[-1]), s)
--- 92,98 ----
 if (os.name == "posix" and sys.path and
 os.path.basename(sys.path[-1]) == "Modules"):
! ## from distutils.util import get_platform
! def get_platform():
! return "linux-i686"
 s = "build/lib.%s-%.3s" % (get_platform(), sys.version)
 s = os.path.join(os.path.dirname(sys.path[-1]), s)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /