[issue25742] locale.setlocale does not work with unicode strings
Marc-Andre Lemburg
report at bugs.python.org
Fri Nov 27 18:03:47 EST 2015
Marc-Andre Lemburg added the comment:
On 28.11.2015 00:00, STINNER Victor wrote:
>
> STINNER Victor added the comment:
>
> Marc-Andre Lemburg added the comment:
>> Hmm, but basestring is always defined, even when Python is compiled
>> without Unicode support (...)
>
> Oh, I didn't know. Well, I already pushed my patch and it works. Feel
> free to modify locale.py to use basestring. I'm not interested to
> spend time on this *minor* issue anymore ;-)
No big deal. There are probably lots more places in the stdlib which
break without Unicode compiled in... :-)
> Thanks for the review.by the way.
Thanks for the patch.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25742>
_______________________________________
More information about the Python-bugs-list
mailing list