[issue3067] setlocale error message is confusing

2011-06-20 Thread vincent.chute
vincent.chute added the comment: "Since the module predates unicode strings (it is in 1.5) and since the locale string is passed to a C function, 'string' in the doc can just as well be taken to mean ascii byte string only, as the code requires." My only comment is that

[issue3067] setlocale Tracebacks on unicode locale strings

2008-06-09 Thread vincent.chute
New submission from vincent.chute <[EMAIL PROTECTED]>: import locale locale.setlocale( locale.LC_ALL, u'ja_JP.utf8') Traceback (most recent call last): File "", line 1, in File "/usr/lib/python2.5/locale.py", line 475, in setlocale locale = normali

[issue3067] setlocale Tracebacks on unicode locale strings

2008-06-09 Thread vincent.chute
vincent.chute <[EMAIL PROTECTED]> added the comment: I have confirmed this exists on trunk http://svn.python.org/view/python/trunk/Lib/locale.py?rev=63824&view=markup (63824 is the latest) where the line in question is now 475 ___ Python track