This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steven.daprano
Recipients PrometheusPi, ezio.melotti, steven.daprano, vstinner
Date 2019-10-28.13:21:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572268865.27.0.054941502545.issue38612@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-10-28 13:21:05steven.dapranosetrecipients: + steven.daprano, vstinner, ezio.melotti, PrometheusPi
2019-10-28 13:21:05steven.dapranosetmessageid: <1572268865.27.0.054941502545.issue38612@roundup.psfhosted.org>
2019-10-28 13:21:05steven.dapranolinkissue38612 messages
2019-10-28 13:21:05steven.dapranocreate