Message173735
Ubuntu 12.04, python 3.2.3
Optional trailing comma causes syntax error if used for keyword-only argument list:
These are OK --
def f(a, b,): pass
def f(a, b=None,): pass
These triggers syntax error --
def f(a, *, b,): pass
def f(a, *, b=None,): pass
python 3.1 and 3.2 shows this error, not tested for 3.3 yet. |
|
Date |
User |
Action |
Args |
2012-10-25 06:24:20 | Inyeol.Lee | set | recipients:
+ Inyeol.Lee |
2012-10-25 06:24:20 | Inyeol.Lee | set | messageid: <1351146260.34.0.857834219193.issue16319@psf.upfronthosting.co.za> |
2012-10-25 06:24:20 | Inyeol.Lee | link | issue16319 messages |
2012-10-25 06:24:19 | Inyeol.Lee | create | |
|