[issue20049] string.lowercase and string.uppercase can contain garbage

Alexander Pyhalov report at bugs.python.org
Sun Dec 22 08:00:53 CET 2013


Alexander Pyhalov added the comment:

Honestly, I don't understand locale-related things good enough. But I
received this explanation when discussed similar issue in illumos
developers mailing list.
http://comments.gmane.org/gmane.os.illumos.devel/14193

2013/12/22 Antoine Pitrou <report at bugs.python.org>

>
> Antoine Pitrou added the comment:
>
> > The reason is that with UTF-8 locale islower()/isupper() and similar
> > functions are not expected to work with non-ascii symbols.
>
> Can you explain why?
>
> ----------
> nosy: +pitrou
>
> _______________________________________
> Python tracker <report at bugs.python.org>
> <http://bugs.python.org/issue20049>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20049>
_______________________________________


More information about the Python-bugs-list mailing list