[New-bugs-announce] [issue45015] Language Reference failing to describe the treatment of starred expressions
Takuo Matsuoka
report at bugs.python.org
Thu Aug 26 09:49:02 EDT 2021
New submission from Takuo Matsuoka <motogeomtop at gmail.com>:
The issue is described as Issue (1) here:
https://mail.python.org/archives/list/python-ideas@python.org/message/BEGGQEU6MG7RYIY7HB4I6VQ23L6TXB6H/
Please look at "Note" just before "Issues treated" there as
well. What's mentioned in this note is also filed in this issue tracker
with ID 44983
https://bugs.python.org/issue44983
Coming back to Issue (1), the discrepancy is in the definitions of
yield_expression, return_stmt, augmented_assignment_stmt, and
for_stmt. (That is, the only exception is the definition of
subscription
https://docs.python.org/3/reference/expressions.html#subscriptions
making the exception look inconsistent and confusing.)
https://docs.python.org/3/reference/expressions.html#yield-expressions
https://docs.python.org/3/reference/simple_stmts.html#the-return-statement
https://docs.python.org/3/reference/simple_stmts.html#augmented-assignment-statements
https://docs.python.org/3/reference/compound_stmts.html#the-for-statement
(In case someone is interested in what are proposed over there, a
summary of the proposal can also be found at
https://mail.python.org/archives/list/python-ideas@python.org/message/KF37FMD5K5M2ZVTJO6IS3J6M7HHE4VRU/
)
----------
assignee: docs at python
components: Documentation
messages: 400346
nosy: Takuo Matsuoka, docs at python
priority: normal
severity: normal
status: open
title: Language Reference failing to describe the treatment of starred expressions
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45015>
_______________________________________
More information about the New-bugs-announce
mailing list