[issue3219] repeated keyword arguments

2008-07-01 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: Done for 2.6 in r64622. (Georg reviewed.) -- resolution: - fixed status: open - closed ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3219

[issue3219] repeated keyword arguments

2008-06-27 Thread ganges master
New submission from ganges master [EMAIL PROTECTED]: under python 2.5 (and possibly 2.6 beta), the following code runs successfully: def f(**kwargs): ... print kwargs ... f(a=5,b=7,a=8) {'a': 8, 'b': 7} while in python 2.4, it fails as expected (complaining that a is given twice)

[issue3219] repeated keyword arguments

2008-06-27 Thread Benjamin Peterson
Benjamin Peterson [EMAIL PROTECTED] added the comment: The attached patch gives a SyntaxError. -- keywords: +patch nosy: +benjamin.peterson priority: - critical Added file: http://bugs.python.org/file10755/repeated_kwargs.patch ___ Python tracker

[issue3219] repeated keyword arguments

2008-06-27 Thread Guido van Rossum
Guido van Rossum [EMAIL PROTECTED] added the comment: Don't do this for 2.5 please. -- nosy: +gvanrossum versions: +Python 3.0 -Python 2.5 ___ Python tracker [EMAIL PROTECTED] http://bugs.python.org/issue3219 ___