-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Python 3.8 has inserted a new argument in the beginning of ast.arguments's constructor, breaking bombast. Demo:
$ python3.7 -c "import ast; print(ast.arguments([]).args)"
$ python3.8 -c "import ast; print(ast.arguments([]).args)"
Reason:
$ python3.7 -c "import ast; print(ast.arguments._fields)"
('args', 'vararg', 'kwonlyargs', 'kw_defaults', 'kwarg', 'defaults')
$ python3.8 -c "import ast; print(ast.arguments._fields)"
('posonlyargs', 'args', 'vararg', 'kwonlyargs', 'kw_defaults', 'kwarg', 'defaults')
- bpo-36540: PEP 570 -- Implementation python/cpython#12701
- bpo-35224: Reverse evaluation order of key: value in dict comprehensions python/cpython#14139
- bpo-37593: Swap the positions of posonlyargs and args in the constructor of ast.parameters nodes python/cpython#14778
- [3.8] bpo-37593: Swap the positions of posonlyargs and args in the constructor of ast.parameters nodes (GH-14778) python/cpython#14779
Metadata
Metadata
Assignees
Labels
No labels