[Python-checkins] CVS: python/dist/src/Lib/test/output test_builtin,1.6,1.6.24.1

Michael Hudson mwh@users.sourceforge.net
2002年2月28日 02:13:29 -0800


Update of /cvsroot/python/python/dist/src/Lib/test/output
In directory usw-pr-cvs1:/tmp/cvs-serv19455
Modified Files:
 Tag: release22-maint
	test_builtin 
Log Message:
backport gvanrossum's checkin of
 revision 1.7 of test_builtin
SF patch #523169, by Samuele Pedroni.
There were never tests for the fact that list() always returns a *new*
list object, even when the argument is a list, while tuple() may
return a reference to the argument when it is a tuple. Now there are.
Index: test_builtin
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/test/output/test_builtin,v
retrieving revision 1.6
retrieving revision 1.6.24.1
diff -C2 -d -r1.6 -r1.6.24.1
*** test_builtin	19 Jan 2001 21:57:52 -0000	1.6
--- test_builtin	28 Feb 2002 10:13:26 -0000	1.6.24.1
***************
*** 27,30 ****
--- 27,31 ----
 issubclass
 len
+ list
 long
 map

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