Open
Description
But accepted in gpython
it should be raised Syntax error.
cpython
>>> def a(x=3, b, c):
... pass
...
File "<stdin>", line 1
SyntaxError: non-default argument follows default argument
gpython
>>> def a(x=3, b, c):
... pass
...
>>> a()
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
FIXME line of source goes here
TypeError: "a() missing 2 required positional arguments: 'x' and 'b'"