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 vstinner
Recipients eric.smith, vstinner, Михаил Кыштымов
Date 2020-03-09.08:23:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> assert var := None

It's good that this syntax is rejected: it looks like a typo (assert var == None). Moreover, it's part of of the PEP 572 design.

Python works as expected, I suggest to close the issue as not a bug.
Date User Action Args
2020-03-09 08:23:02vstinnersetrecipients: + vstinner, eric.smith, Михаил Кыштымов
2020-03-09 08:23:02vstinnersetmessageid: <>
2020-03-09 08:23:02vstinnerlinkissue39909 messages
2020-03-09 08:23:02vstinnercreate