[issue1222721] tk + setlocale problems...

Terry J. Reedy report at bugs.python.org
Sat Jun 26 00:33:21 CEST 2010


Terry J. Reedy <tjreedy at udel.edu> added the comment:

The backspace issue seems to have been fixed.

I modified bug.py for 3.1 by removing the coding cookie, changing unicode("Ïðîáà", "KOI8-R") to just "Ïðîáà", and fixing print. Running from IDLE, it ran and displayed a tk window with text entry and labelled button that printed "Friday" in the shell window.

On the other hand, "I also found that the problem only appears when the LC_NUMERIC setting is different to en_US. (for example if it is de_AT)" suggests that other might have a problem (I am in the US).

Sidenote: Since the obscure koi8-R encoding (no longer valid in 3.x, the interpreter said) is not described as part of the bug, it should not be part of a minimal example.

----------
nosy: +tjreedy
versions: +Python 2.7 -Python 2.5
Added file: http://bugs.python.org/file17771/nobug.py

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


More information about the Python-bugs-list mailing list