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 Carl.Friedrich.Bolz
Recipients Carl.Friedrich.Bolz, Kodiologist, SnoopJeDi
Date 2022-01-29.11:42:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1643456541.34.0.823352344023.issue46555@roundup.psfhosted.org>
In-reply-to
Content
hah, this is "great":

>>> 𝕋𝕣𝕦𝕖 = 1
>>> globals()
{'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': None, '__annotations__': {}, '__builtins__': <module 'builtins' (built-in)>, 'True': 1}

The problem is that the lexer assumes that anything that is not ASCII cannot be a keyword and lexes 𝕋𝕣𝕦𝕖 as an identifier.
History
Date User Action Args
2022-01-29 11:42:21Carl.Friedrich.Bolzsetrecipients: + Carl.Friedrich.Bolz, Kodiologist, SnoopJeDi
2022-01-29 11:42:21Carl.Friedrich.Bolzsetmessageid: <1643456541.34.0.823352344023.issue46555@roundup.psfhosted.org>
2022-01-29 11:42:21Carl.Friedrich.Bolzlinkissue46555 messages
2022-01-29 11:42:21Carl.Friedrich.Bolzcreate