[Python-checkins] CVS: python/dist/src/Lib/test/output test_extcall,1.2,1.3

Jeremy Hylton python-dev@python.org
Thu, 30 Mar 2000 18:55:30 -0500


Update of /projects/cvsroot/python/dist/src/Lib/test/output
In directory goon.cnri.reston.va.us:/home/jhylton/python/src/Lib/test/output

Modified Files:
	test_extcall 
Log Message:
Two fixes for extended call syntax:
If a non-tuple sequence is passed as the *arg, convert it to a tuple
before checking its length.
If named keyword arguments are used in combination with **kwargs, make
a copy of kwargs before inserting the new keys.



Index: test_extcall
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/test/output/test_extcall,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** test_extcall	2000/03/28 23:53:22	1.2
--- test_extcall	2000/03/30 23:55:28	1.3
***************
*** 17,20 ****
--- 17,24 ----
  1 (2, 3) {}
  1 (2, 3, 4, 5) {}
+ 0 (1, 2) {}
+ 1 () {'d': 4, 'b': 2, 'c': 3, 'a': 1}
+ {'b': 2, 'c': 3, 'a': 1}
+ {'b': 2, 'c': 3, 'a': 1}
  keyword parameter redefined: x
  keyword parameter redefined: b