[issue39981] Default values for AST Nodes

2020-07-09 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +20566 pull_request: https://github.com/python/cpython/pull/21417 ___ Python tracker ___

[issue39981] Default values for AST Nodes

2020-03-16 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +18380 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19031 ___ Python tracker ___

[issue39981] Default values for AST Nodes

2020-03-16 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : For omitting some defaults, @serhiy.storchaka already added support to initialize some ast nodes with some default values (optional fields). An example; >>> ast.Constant().kind is None True This isn't exactly a default value, but some kind of class