Mark Dickinson <dicki...@gmail.com> added the comment: There was one place that needed to be changed in ast.c: namely, the check to make sure that there are keyword-only arguments following a bare star.
Here's a new patch, that fixes that issue, updates the grammar in the ast.c comment to match that in Grammar/Grammar, and also updates the production list given in the docs for function definitions. ---------- Added file: http://bugs.python.org/file18127/trailing_commas2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9232> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com