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 terry.reedy
Recipients esoma, terry.reedy
Date 2020-12-26.00:56:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1608944179.17.0.62699230757.issue42687@roundup.psfhosted.org>
In-reply-to
Content
I strongly disagree.  '<>' is not a legal operator any more.  It is a parse-time syntax error.  Whatever historical artifact is left in the CPython tokenizer, recognizing '<>' is not exposed to Python code.

>>> p = ast.parse('a <> b')
Traceback (most recent call last):
...
    a <> b
    ^
SyntaxError: invalid syntax  

When '<>' was legal, we may presume that tokenizer recognized it, so that not recognizing it was an intentional change.  Reverting this would be a dis-service to users.  

I think that the PR and this issue should be closed.  If the historical artifact bothers you, propose removing it instead on introducing a bug into tokenizer.
History
Date User Action Args
2020-12-26 00:56:19terry.reedysetrecipients: + terry.reedy, esoma
2020-12-26 00:56:19terry.reedysetmessageid: <1608944179.17.0.62699230757.issue42687@roundup.psfhosted.org>
2020-12-26 00:56:19terry.reedylinkissue42687 messages
2020-12-26 00:56:19terry.reedycreate