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 eric.smith
Recipients eric.smith, Михаил Кыштымов
Date 2020-03-09.08:14:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583741651.9.0.80543823783.issue39909@roundup.psfhosted.org>
In-reply-to
Content
I believe this is by design, as is the same restriction on statement-level assignment expressions. And if requiring parens discourages the use of assignment expressions in asserts, I think that's a good thing.

Why not just use the workaround you've already identified?
History
Date User Action Args
2020-03-09 08:14:11eric.smithsetrecipients: + eric.smith, Михаил Кыштымов
2020-03-09 08:14:11eric.smithsetmessageid: <1583741651.9.0.80543823783.issue39909@roundup.psfhosted.org>
2020-03-09 08:14:11eric.smithlinkissue39909 messages
2020-03-09 08:14:11eric.smithcreate