Florent Xicluna added the comment: Actually, the character is SUPERSCRIPT ONE, in the category No (Number other). http://www.fileformat.info/info/unicode/char/b9/index.htm
This is not a valid category for the identifiers, only "Nd" Number decimal is accepted. The issue is probably in namedtuple, which should check the "unicodedata.category" or better, check with method str.isidentifier. ---------- nosy: +flox versions: +Python 3.2 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue17331> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com