Commit Graph

17 Commits

Author SHA1 Message Date
Seo Sanghyeon
a17456dba5 Raise TypeError for duplicate keyword arguments 2019-10-04 19:29:57 +09:00
Seo Sanghyeon
bdb6208f6f Do not panic in parser 2019-10-03 19:41:12 +09:00
Vazrupe (HyeonGyu Lee)
21669a023b Add duplicate keyword argument error
Fixes #116
2019-09-26 12:27:57 +09:00
Jeong YunWon
dc8057a1c2 Refactor snippets/testutil 2019-09-17 17:37:24 +09:00
Maxim Kurnikov
0098e8485a move PyFuncArgs.kwargs to IndexMap 2019-05-22 03:18:15 +03:00
ben
d5a9d96d62 Expose function.__defaults__ and function.__kwdefaults__(only getters) 2019-04-07 07:38:42 +12:00
ben
5fd3cf2bcd Implemented keyword only defaults 2019-04-07 07:38:42 +12:00
Windel Bouwman
ab3d004c42 Fix syntax for float literals, statements seperated by semicolons and starargs after keyword arguments. 2019-04-05 21:59:20 +02:00
Windel Bouwman
e6fd9fb0a0 Add double star arguments in function calls 2018-10-28 20:05:05 +01:00
Windel Bouwman
3f6c716b37 Implement star expand argument in function call. 2018-10-28 19:16:21 +01:00
Windel Bouwman
1f30693718 Allow unpack in assignment of list as well as trailing comma for 1 sized tuples 2018-10-28 00:26:24 +02:00
Windel Bouwman
1222830678 Implement star arg on left hand side of assignment. 2018-10-22 21:52:06 +02:00
Windel Bouwman
525807c319 Add __getitem__ on list, tuple and str 2018-10-21 21:09:38 +02:00
Windel Bouwman
f59f8a9567 Add support for *args and **kwargs in functions. 2018-10-21 20:48:08 +02:00
Daniel Watkins
3e56bc1d60 Include numbers in valid identifier characters
Fixes #27.
2018-08-04 16:00:15 -04:00
Daniel Watkins
dc633ef818 Comment or move all currently-failing snippet tests
This allows us to make the snippet tests merge-blockers, whilst
improving over time.
2018-08-04 13:55:23 -04:00
Windel Bouwman
2354102795 Add interactive shell 2018-07-09 22:06:49 +02:00