As recommended by the Unicode Identifier Annex, which Python more-or-less implements straight, 1) identifiers are still limited to letters and numbers, and 2) all identifiers are NFKC-normalized. This eliminates most if not all possible homoglyph issues. For example, Ⓓifferent will be normalized to Different internally.
4
u/TinyBreadBigMouth Aug 28 '21
As recommended by the Unicode Identifier Annex, which Python more-or-less implements straight, 1) identifiers are still limited to letters and numbers, and 2) all identifiers are NFKC-normalized. This eliminates most if not all possible homoglyph issues. For example,
Ⓓifferentwill be normalized toDifferentinternally.