Message355539
This is an intentional feature: identifiers are normalised using NFKC normalization.
py> from dis import dis
py> dis(compile('ϕ=1', '', 'single'))
1 0 LOAD_CONST 0 (1)
3 STORE_NAME 0 (φ)
6 LOAD_CONST 1 (None)
9 RETURN_VALUE
py> from unicodedata import normalize
py> normalize('NFKC', 'ϕ')
'φ'
So not a bug. |
|
Date |
User |
Action |
Args |
2019-10-28 13:21:05 | steven.daprano | set | recipients:
+ steven.daprano, vstinner, ezio.melotti, PrometheusPi |
2019-10-28 13:21:05 | steven.daprano | set | messageid: <1572268865.27.0.054941502545.issue38612@roundup.psfhosted.org> |
2019-10-28 13:21:05 | steven.daprano | link | issue38612 messages |
2019-10-28 13:21:05 | steven.daprano | create | |
|