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 serhiy.storchaka
Recipients aroberge, pablogsal, serhiy.storchaka
Date 2021-04-10.08:31:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618043482.07.0.297857720474.issue43797@roundup.psfhosted.org>
In-reply-to
Content
I tried to add

    | a=NAME '=' {
        RAISE_SYNTAX_ERROR_KNOWN_LOCATION(
            a, "invalid syntax. Maybe you meant '==' or ':=' instead of '='?") }
    | a=bitwise_or '=' {
        RAISE_SYNTAX_ERROR_KNOWN_LOCATION(
            a, "invalid syntax. Maybe you meant '==' instead of '='?") }

in invalid_named_expression, but it does not have any effect.
History
Date User Action Args
2021-04-10 08:31:22serhiy.storchakasetrecipients: + serhiy.storchaka, aroberge, pablogsal
2021-04-10 08:31:22serhiy.storchakasetmessageid: <1618043482.07.0.297857720474.issue43797@roundup.psfhosted.org>
2021-04-10 08:31:22serhiy.storchakalinkissue43797 messages
2021-04-10 08:31:21serhiy.storchakacreate