This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Takuo Matsuoka
Recipients Takuo Matsuoka, docs@python
Date 2021-08-26.13:49:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629985742.7.0.870981642172.issue45015@roundup.psfhosted.org>
In-reply-to
Content
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/
)
History
Date User Action Args
2021-08-26 13:49:02Takuo Matsuokasetrecipients: + Takuo Matsuoka, docs@python
2021-08-26 13:49:02Takuo Matsuokasetmessageid: <1629985742.7.0.870981642172.issue45015@roundup.psfhosted.org>
2021-08-26 13:49:02Takuo Matsuokalinkissue45015 messages
2021-08-26 13:49:02Takuo Matsuokacreate