[New-bugs-announce] [issue11290] ttk.Combobox['values'] String Conversion to Tcl

Clayton Darwin report at bugs.python.org
Tue Feb 22 18:05:25 CET 2011

New submission from Clayton Darwin <claytondarwin at gmail.com>:

In working with the ttk.Combobox (Windows XP, Python 3.1), I have found that setting the values for the popdown using ttk.Combobox['values'] has an problem converting the string to the proper Tcl value when (and this is the only instance I have found) there is a backslash in the string but no spaces.  In this case, the string will translate if it is enclosed in curly brackets '{'+mystring+'}', which I believe is the Tcl syntax to not make substitutions.

I have attached a short script that illustrates this issue.


components: Tkinter
files: tcl_string_test.py
messages: 129097
nosy: claytondarwin
priority: normal
severity: normal
status: open
title: ttk.Combobox['values'] String Conversion to Tcl
type: behavior
versions: Python 3.1
Added file: http://bugs.python.org/file20843/tcl_string_test.py

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list