Message191781
> 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 |
|
Date |
User |
Action |
Args |
2013-06-24 16:10:08 | belopolsky | set | recipients:
+ belopolsky, lemburg, loewis, benjamin.peterson, ezio.melotti, serhiy.storchaka |
2013-06-24 16:10:08 | belopolsky | set | messageid: <1372090208.06.0.650807676162.issue18234@psf.upfronthosting.co.za> |
2013-06-24 16:10:08 | belopolsky | link | issue18234 messages |
2013-06-24 16:10:07 | belopolsky | create | |
|