[Python-checkins] python/dist/src/Lib tempfile.py,1.43,1.44

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
2002年8月13日 16:33:59 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv31318/python/Lib
Modified Files:
	tempfile.py 
Log Message:
template: removed special-casing for NT; there isn't an 8-character limit.
Index: tempfile.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/tempfile.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** tempfile.py	13 Aug 2002 23:31:02 -0000	1.43
--- tempfile.py	13 Aug 2002 23:33:56 -0000	1.44
***************
*** 73,80 ****
 TMP_MAX = 10000
 
! if _os.name == 'nt':
! template = '~t' # cater to eight-letter limit
! else:
! template = "tmp"
 
 tempdir = None
--- 73,77 ----
 TMP_MAX = 10000
 
! template = "tmp"
 
 tempdir = None

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