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 Михаил Кыштымов
Recipients eric.smith, Михаил Кыштымов
Date 2020-03-09.08:21:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583742108.65.0.684023186783.issue39909@roundup.psfhosted.org>
In-reply-to
Content
if this is by design i'm fine with somebody closing this issue.

i've not found mention of such case in pep so i though it's not by design.
docs say `assert` just takes "expression" and "assignment expression" has "expression" in it's name.
https://docs.python.org/3/reference/simple_stmts.html#the-assert-statement

workaraund does not look as cool because of parentheses.

again, if this is "as intended" i'm fine with closing issue.
History
Date User Action Args
2020-03-09 08:21:48Михаил Кыштымовsetrecipients: + Михаил Кыштымов, eric.smith
2020-03-09 08:21:48Михаил Кыштымовsetmessageid: <1583742108.65.0.684023186783.issue39909@roundup.psfhosted.org>
2020-03-09 08:21:48Михаил Кыштымовlinkissue39909 messages
2020-03-09 08:21:47Михаил Кыштымовcreate