From: Michael W. Hudson Date: Thu, 28 Feb 2002 10:13:26 +0000 (+0000) Subject: backport gvanrossum's checkin of X-Git-Tag: v2.2.1c1~132 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1110caf9a4d1f7090680fac6f0b5d63e5e90c1e6;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Lib/test/output/test_builtin b/Lib/test/output/test_builtin index 1c3b69c8380f..6c1b9aa81cdc 100644 --- a/Lib/test/output/test_builtin +++ b/Lib/test/output/test_builtin @@ -26,6 +26,7 @@ int isinstance issubclass len +list long map max