[issue32328] ttk.Treeview: _tkinter.TclError: list element in quotes followed by "; " instead of space

2018-03-16 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > If the issue really boils down to incorrectly passing a single string when > there is only one item in 'values', and a single-item tuple should be used > instead, then shouldn't the better solution be for Python to handle this

[issue32328] ttk.Treeview: _tkinter.TclError: list element in quotes followed by "; " instead of space

2018-03-16 Thread Joshua Kinard
Joshua Kinard added the comment: I have to disagree rather strongly with closing this as "not a bug". If the issue really boils down to incorrectly passing a single string when there is only one item in 'values', and a single-item tuple should be used instead, then

[issue32328] ttk.Treeview: _tkinter.TclError: list element in quotes followed by "; " instead of space

2018-03-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: Our ttk doc, https://docs.python.org/3/library/tkinter.ttk.html#item-options, here copies the tk doc: "The list of values associated with the item." It should say 'tuple or list', but that is a generic (and separate) issue of our ttk doc

[issue32328] ttk.Treeview: _tkinter.TclError: list element in quotes followed by "; " instead of space

2018-03-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: According to the documentation (https://www.tcl.tk/man/tcl/TkCmd/ttk_treeview.htm) the item option "values" is "The list of values associated with the item.", and the item option "tags" is "A list of tags associated with this

[issue32328] ttk.Treeview: _tkinter.TclError: list element in quotes followed by "; " instead of space

2017-12-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: With imports modified, same exceptions in 3.7.0a2 on Win10 -- nosy: +terry.reedy versions: +Python 3.7 ___ Python tracker

[issue32328] ttk.Treeview: _tkinter.TclError: list element in quotes followed by "; " instead of space

2017-12-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka nosy: +serhiy.storchaka ___ Python tracker ___

[issue32328] ttk.Treeview: _tkinter.TclError: list element in quotes followed by "; " instead of space

2017-12-14 Thread Joshua Kinard
New submission from Joshua Kinard : I think I've found another bug with Tkinter's string handling in Python 2.7.14, before it passes off to the TCL interpreter when inserting items into a ttk.Treeview widget. Specifically, it doesn't handle strings containing semi-colons