Message220614
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"}
) |
|
Date |
User |
Action |
Args |
2014-06-15 06:23:58 | taleinat | set | recipients:
+ taleinat, terry.reedy |
2014-06-15 06:23:58 | taleinat | set | messageid: <1402813438.62.0.935972481863.issue21765@psf.upfronthosting.co.za> |
2014-06-15 06:23:58 | taleinat | link | issue21765 messages |
2014-06-15 06:23:58 | taleinat | create | |
|