[New-bugs-announce] [issue41414] AST for arguments shows extra element
James Foster
report at bugs.python.org
Mon Jul 27 17:36:15 EDT 2020
New submission from James Foster <python at jgfoster.net>:
https://docs.python.org/3.8/library/ast.html shows seven elements:
arguments = (arg* posonlyargs, arg* args, arg? vararg, arg* kwonlyargs,
expr* kw_defaults, arg? kwarg, expr* defaults)
https://docs.python.org/3.7/library/ast.html shows six elements:
arguments = (arg* args, arg? vararg, arg* kwonlyargs, expr* kw_defaults,
arg? kwarg, expr* defaults)
based on ast.c:1479 I believe that six is the proper number and that the first element ("arg* posonlyargs, ") is a duplicate of the second element ("arg* args, ") and should be removed.
----------
assignee: docs at python
components: Documentation
messages: 374425
nosy: docs at python, jgfoster
priority: normal
severity: normal
status: open
title: AST for arguments shows extra element
type: behavior
versions: Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41414>
_______________________________________
More information about the New-bugs-announce
mailing list