Bugs item #1531016, was opened at 2006-07-29 20:21 Message generated for change (Settings changed) made by rnd0110 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1531016&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Parser/Compiler Group: Python 2.4 Status: Open Resolution: None >Priority: 2 Submitted By: Roman Suzi (rnd0110) Assigned to: Nobody/Anonymous (nobody) >Summary: Comma not allowed at the end of argument list for **argument Initial Comment: This tells it all: >>> str('sdfd', **a,) File "<stdin>", line 1 str('sdfd', **a,) ^ SyntaxError: invalid syntax >>> str('sdfd', *a,) File "<stdin>", line 1 str('sdfd', *a,) ^ SyntaxError: invalid syntax While the docs tell otherwise: http://docs.python.org/ref/calls.html While having arguments after ** doesn't make sense, comma after ANY kinds of arguments seem to be more consistent. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1531016&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com