[Python-checkins] CVS: distutils/distutils msvccompiler.py,1.44,1.45

Thomas Heller theller@users.sourceforge.net
2002年2月08日 06:41:34 -0800


Update of /cvsroot/python/distutils/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv26986
Modified Files:
	msvccompiler.py 
Log Message:
Make it 1.5.2 compatible again.
Index: msvccompiler.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/msvccompiler.py,v
retrieving revision 1.44
retrieving revision 1.45
diff -C2 -d -r1.44 -r1.45
*** msvccompiler.py	29 Jan 2002 10:23:42 -0000	1.44
--- msvccompiler.py	8 Feb 2002 14:41:31 -0000	1.45
***************
*** 118,125 ****
 V = string.split(v,';')
 for v in V:
! try:
! v = v.encode("mbcs")
! except UnicodeError:
! pass
 if v == '' or v in L: continue
 L.append(v)
--- 118,126 ----
 V = string.split(v,';')
 for v in V:
! if hasattr(v, "encode"):
! try:
! v = v.encode("mbcs")
! except UnicodeError:
! pass
 if v == '' or v in L: continue
 L.append(v)

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