[issue5815] locale.getdefaultlocale() missing corner case

rg3 report at bugs.python.org
Wed Apr 22 20:26:25 CEST 2009


rg3 <sarbalap+freshmeat at gmail.com> added the comment:

I just realized that the "if" I introduced is not really needed.
"encoding = encoding.split('@')[0]" works whether the '@' symbol is
present or not.

----------

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


More information about the Python-bugs-list mailing list