[issue11290] ttk.Combobox['values'] String Conversion to Tcl

Terry J. Reedy report at bugs.python.org
Fri Feb 25 21:24:57 CET 2011


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

With 3.2, (Winxp) I get combobox with first line,
input as
r'C:\Python31\Lib\tkinter\test\test_ttk',
displayed as
"C:Python31Lib	kinter	est	est_ttk"
Something either deleted \ or converted \t to tab.
Indeed, adding a space to the end of the string or enclosing as you specify inhibits deletion/conversion, so this seems like an error.

With imports fixed
from Tkinter import *
import ttk
the file runs fine in 2.7, so this seems 3.x specific problem.

----------
nosy: +gpolo, terry.reedy
versions: +Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list