Chris Angelico writes:

 > I don't think str.upper() is the place for it; Python has a locale
 > module that is a better fit for this.

Many would argue that (POSIX) locales aren't a good fit for
anything. :-)

I agree that it's kind of hard to see anything more complex than a
fixed table for the entire Unicode repertoire belonging in str,
though.  (I admit that my feeling toward Erdogan makes me less
sympathetic to the Turks. :-)  Use of locale notation in keys for more
sophisticated treatment is hard to beat as far as I know, though.

Steve


_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/7KTN6H7HKXJL7NI3MWEQ7ZY6V47XUVJQ/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to