Benjamin Peterson <[email protected]> added the comment: 2012/1/18 Jim Jewett <[email protected]>: > > Jim Jewett <[email protected]> added the comment: > > @Benjamin -- the catch is, if it isn't already in NFKC form, then python > won't really accept it as an identifier. Sometimes it will silently > canonicalize it for you so that it seems to work, but other times it won't. > And program calling isidentifier is likely to be a program that uses the > strings directly for access, instead of always routing them through the > parser.
AFAIK, the only time it will "silently" canonicalize it for you is parsing. Even if it wasn't, you can't say it's not an identifier, it's just not normalized. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue13821> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
