Message191781
| Author |
belopolsky |
| Recipients |
belopolsky, benjamin.peterson, ezio.melotti, lemburg, loewis, serhiy.storchaka |
| Date |
2013年06月24日.16:10:07 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1372090208.06.0.650807676162.issue18234@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> The .aliases() function would have to return a list, not a single
> name, so a parameter would cause the return type to change, which
> is not a good idea.
You misunderstood my proposal. .name() will still return a single name, but the type parameter will control which name to return:
name(ch[, type=(None|'correction'|'control'|'alternate'|'figment'|'abbreviation')])
None - default, same as current behavior.
correction - indicates that the returned name is a corrected form for the original name (which remains valid) for the same code point.
control - return a new name added for a control character.
alternate - return an alternate name for a character
figment - return a name for a character that has been documented but was never in any actual standard.
abbreviation - return a common abbreviation for a character |
|