Message383348
Ah! So then the proper code for me would be e.g.:
```
>>> globals()[unicodedata.normalize("NFKC", "µmeow")]
1e-06
```
Yes, it's clear when I read https://www.python.org/dev/peps/pep-3131/ that the normalization is going to happen. Is it also worth adding a note in the documentation for `globals()` and `locals()`? That's the first place I looked to try to find out what was wrong. |
|
Date |
User |
Action |
Args |
2020-12-19 01:11:25 | outofculture | set | recipients:
+ outofculture, vstinner, ezio.melotti, steven.daprano |
2020-12-19 01:11:25 | outofculture | set | messageid: <1608340285.48.0.354001326354.issue42680@roundup.psfhosted.org> |
2020-12-19 01:11:25 | outofculture | link | issue42680 messages |
2020-12-19 01:11:25 | outofculture | create | |
|