Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 57367:ed30bcffa146 legacy-trunk
improve several corner cases related with argument names in parenthesis
- Fix #7362: give a good error message for parenthesized arguments with
defaults.
- Add a py3k warning for any parenthesized arguments since those are not allowed
in Py3. This warning is not given in tuple unpacking, since that incurs the
tuple unpacking warning.
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Thu, 19 Nov 2009 22:54:57 +0000 |
| parents | 12079c3d4b77 |
| children | 4468666d01c4 |
