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 ishimoto
Recipients belopolsky, ishimoto, loewis, vstinner
Date 2013-02-25.02:51:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361760694.06.0.297040436495.issue10952@psf.upfronthosting.co.za>
In-reply-to
Content
Converting identifiers to NFKC is problematic to work with FULLWIDTH letters such as 'a'(FULLWIDTH LATIN SMALL LETTER A).

We can create module named 'aaa.py', but this module could not be imported on all platforms I know.

>>> import aaa
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named 'aaa'

Talking about Japanese environment, I don't see benefit to normalize variable names. FULLWIDTH/HALFWIDTH compatibility characters are commonly used here, and they are recognized different characters.  It would be too late to argue, but converting to normal form NKC instead of NFKC would be better. Python distinguishes small letters and large letters, but doesn't distinguish fullwidth and halfwidth. This is a pretty surprising behavior to me.
History
Date User Action Args
2013-02-25 02:51:34ishimotosetrecipients: + ishimoto, loewis, belopolsky, vstinner
2013-02-25 02:51:34ishimotosetmessageid: <1361760694.06.0.297040436495.issue10952@psf.upfronthosting.co.za>
2013-02-25 02:51:34ishimotolinkissue10952 messages
2013-02-25 02:51:33ishimotocreate