-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Basically the suggesion in this reddit comment
From this article:
Python always applies NFKC
normalization to characters. Therefore, two distinct characters may actually
produce the same variable name. For example:>>> ª = 1 # FEMININE ORDINAL INDICATOR >>> a # LATIN SMALL LETTER A (i.e., ASCII lowercase 'a') 1
I've generated a mapping of these characters taken from this url.
The mapping can be found here. But beware that some characters may not be supported in python because I haven't tested every one of them.
I suggest adding another additional flag to enable this behaviour
I would have done it myself and opened a pr but I am too busy at the moment
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request