[Python-checkins] python/dist/src/Lib/test test_pkg.py,1.17,1.18

tim_one@users.sourceforge.net tim_one@users.sourceforge.net
2002年8月14日 08:41:29 -0700


Update of /cvsroot/python/python/dist/src/Lib/test
In directory usw-pr-cvs1:/tmp/cvs-serv25409/python/lib/test
Modified Files:
	test_pkg.py 
Log Message:
tempfile's mkstemp(): Changed last argument from
 binary=True
to
 text=False
by BDFL Pronouncement. All other changes follow from this. The change
to the docs is ready to go, but blocked by another JackMacLock in the
doc directory.
Index: test_pkg.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/test_pkg.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** test_pkg.py	14 Aug 2002 01:05:57 -0000	1.17
--- test_pkg.py	14 Aug 2002 15:41:26 -0000	1.18
***************
*** 57,61 ****
 mkhier(root, hier)
 savepath = sys.path[:]
! fd, fname = tempfile.mkstemp(binary=False)
 os.write(fd, code)
 os.close(fd)
--- 57,61 ----
 mkhier(root, hier)
 savepath = sys.path[:]
! fd, fname = tempfile.mkstemp(text=True)
 os.write(fd, code)
 os.close(fd)

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