Message191300
| Author |
belopolsky |
| Recipients |
belopolsky |
| Date |
2013年06月17日.00:24:18 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1371428658.79.0.833817613364.issue18234@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Python is aware of unicode codepoint aliases, but unicodedata does not provide a way to find aliases of a given codepoint:
>>> ucd.lookup('ESCAPE') == '\N{ESCAPE}'
True
>>> ucd.lookup('RS') == '\N{RS}'
True
but
>>> ucd.name('\N{ESCAPE}')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: no such name
>>> ucd.name('\N{RS}')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ValueError: no such name |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年06月17日 00:24:18 | belopolsky | set | recipients:
+ belopolsky |
| 2013年06月17日 00:24:18 | belopolsky | set | messageid: <1371428658.79.0.833817613364.issue18234@psf.upfronthosting.co.za> |
| 2013年06月17日 00:24:18 | belopolsky | link | issue18234 messages |
| 2013年06月17日 00:24:18 | belopolsky | create |
|