[New-bugs-announce] [issue15861] ttk.Treeview "unmatched open brace in list"

Bryan Oakley report at bugs.python.org
Tue Sep 4 23:41:43 CEST 2012


New submission from Bryan Oakley:

If you try to insert an item into the treeview, give it a tuple of values for the "values" attribute, and one of those values has unbalanced braces, you'll get an error "unmatched open brace in list"

To reproduce:

import Tkinter as tk
import ttk

root = tk.Tk()
tree = ttk.Treeview(root)
tree.insert("","end",values=("one","two","bam! {"))

root.mainloop()

----------
components: Tkinter
messages: 169839
nosy: Bryan.Oakley
priority: normal
severity: normal
status: open
title: ttk.Treeview "unmatched open brace in list"
type: behavior
versions: Python 2.7

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


More information about the New-bugs-announce mailing list