Mercurial > cpython-lru_cache-weakref
comparison Python/Python-ast.c @ 45661:ff3e9aeaa692 legacy-trunk
Issue#2238: some syntax errors from *args or **kwargs expressions
would give bogus error messages, because of untested exceptions::
>>> f(**g(1=2))
XXX undetected error
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'int' object is not iterable
instead of the expected SyntaxError: keyword can't be an expression
Will backport.
| author | Amaury Forgeot d'Arc <amauryfa@gmail.com> |
|---|---|
| date | Wed, 05 Mar 2008 01:50:33 +0000 |
| parents | 3915d5f650fa |
| children | ca38f7a4b4c9 |
comparison
equal
deleted
inserted
replaced
| 45660:00cb0a35fb49 | 45661:ff3e9aeaa692 |
|---|
