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 taleinat
Recipients taleinat, terry.reedy
Date 2014-06-15.06:23:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402813438.62.0.935972481863.issue21765@psf.upfronthosting.co.za>
In-reply-to
Content
Bah, I messed up the code sample in my previous message. It was supposed to be:

from unicodedata import normalize, category
norm_char_first = normalize(char)[0]
is_id_first_char = (
    norm_char_first == '_' or
    category(norm_char_first) in {"Lu", "Ll", "Lt", "Lm", "Lo", "Nl"}
)
History
Date User Action Args
2014-06-15 06:23:58taleinatsetrecipients: + taleinat, terry.reedy
2014-06-15 06:23:58taleinatsetmessageid: <1402813438.62.0.935972481863.issue21765@psf.upfronthosting.co.za>
2014-06-15 06:23:58taleinatlinkissue21765 messages
2014-06-15 06:23:58taleinatcreate