Sven Brauch added the comment:
Ah, whops, I misunderstood that.
The error is rather generic:
Traceback (most recent call last):
File "./Lib/test/test_ast.py", line 796, in test_lambda
self._check_arguments(fac, self.expr)
File "./Lib/test/test_ast.py", line 596, in _check_arguments
check(arguments(args=args), "must have Load context")
File "./Lib/test/test_ast.py", line 593, in arguments
kwarg, kwargannotation, defaults, kw_defaults)
TypeError: arguments constructor takes either 0 or 12 positional arguments
It's very generic in C too:
Python/ast.c:1571:42: error: macro "arguments" requires 13 arguments, but only
9 given
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16795>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com