[issue37593] ast.arguments has confusing args/posonlyargs ordering

2019-08-16 Thread Mairi Dulaney
Mairi Dulaney added the comment: The patch that was merged to fix this may have caused a regresion in xonsh. Am working on a reproducer. -- nosy: +mdulaney ___ Python tracker

[issue37593] ast.arguments has confusing args/posonlyargs ordering

2019-07-14 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for the report, Benjamin! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37593] ast.arguments has confusing args/posonlyargs ordering

2019-07-14 Thread miss-islington
miss-islington added the comment: New changeset cf9a63c6c7e19f3d27cf3b5731d02cc216ef3dd1 by Miss Islington (bot) in branch '3.8': bpo-37593: Swap the positions of posonlyargs and args in the constructor of ast.parameters nodes (GH-14778)

[issue37593] ast.arguments has confusing args/posonlyargs ordering

2019-07-14 Thread miss-islington
Change by miss-islington : -- pull_requests: +14575 pull_request: https://github.com/python/cpython/pull/14779 ___ Python tracker ___

[issue37593] ast.arguments has confusing args/posonlyargs ordering

2019-07-14 Thread miss-islington
miss-islington added the comment: New changeset cd6e83b4810549c308ab2d7315dbab526e35ccf6 by Miss Islington (bot) (Pablo Galindo) in branch 'master': bpo-37593: Swap the positions of posonlyargs and args in the constructor of ast.parameters nodes (GH-14778)

[issue37593] ast.arguments has confusing args/posonlyargs ordering

2019-07-14 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +14574 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14778 ___ Python tracker

[issue37593] ast.arguments has confusing args/posonlyargs ordering

2019-07-14 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +levkivskyi, pablogsal, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list

[issue37593] ast.arguments has confusing args/posonlyargs ordering

2019-07-14 Thread Benjamin S Wolf
New submission from Benjamin S Wolf : Positional-only arguments come before position-or-keyword arguments. def f(pos1, pos2, /, pos_or_kwd, *, kwd1, kwd2): However, the posonlyargs are defined to come after args in the AST: arguments = (arg* args, arg* posonlyargs, arg? vararg, arg*