I like your alias(...) function, with that one, an application could code my
function like try name(x) expect alias(x).abbreviations[0]. If the abbreviation
list is sorted by AdditionToUnicodeDate.
Or
try:
return name(x)
expect:
if category(x) == 'Cc':
return alias(x).abbreviations[0]
else:
raise
That would then raise only for unassigned codepoints.
_______________________________________________
Python-ideas mailing list
[email protected]
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/