Message412226
> Why was it decided to not raise a syntax error...
I'm not sure if such a decision was even ever made, the error happens before normalization is applied. I.e. the parser is doing two things here: (1) validating the syntax against the grammar and (2) building the AST. Normalization happens after (1), and `𝕋𝕣𝕦𝕖 = 0` is valid syntax because the grammar is NOT defined in terms of normalized identifiers, it's describing the valid (but confusing!) assignment that Carl described.
I agree that this doesn't seem like bug, but it IS my new favorite quirk of identifier normalization. |
|
Date |
User |
Action |
Args |
2022-02-01 00:41:18 | SnoopJeDi | set | recipients:
+ SnoopJeDi, Carl.Friedrich.Bolz, serhiy.storchaka, eryksun, Kodiologist, jack1142 |
2022-02-01 00:41:18 | SnoopJeDi | set | messageid: <1643676078.45.0.911726926812.issue46555@roundup.psfhosted.org> |
2022-02-01 00:41:18 | SnoopJeDi | link | issue46555 messages |
2022-02-01 00:41:18 | SnoopJeDi | create | |
|