[issue9232] Allow trailing comma in any function argument list.
Mark Dickinson
report at bugs.python.org
Mon Jul 12 16:30:17 CEST 2010
New submission from Mark Dickinson <dickinsm at gmail.com>:
Python's current grammar allows a trailing comma after the argument list in:
def f(a, b,):
pass
but not in
def f(*, a, b,):
pass
I propose allowing trailing commas in both situations.
See python-dev discussion starting at
http://mail.python.org/pipermail/python-dev/2010-July/101636.html
----------
components: Interpreter Core
messages: 110089
nosy: mark.dickinson
priority: normal
severity: normal
stage: needs patch
status: open
title: Allow trailing comma in any function argument list.
type: feature request
versions: Python 3.2
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9232>
_______________________________________
More information about the Python-bugs-list
mailing list