New submission from Serhiy Storchaka: There is very common error when user pass list instead tuple to Tkinter. Some functions accept both tuple and list, some functions reject list, but many functions silently convert non-tuple value to str (e.g. [1, 2] -> '[1, 2]' instead of expected Tcl representation '{1 2}'). The proposed patch adds support of Python lists in all Tkinter functions which accept tuples.
---------- assignee: serhiy.storchaka components: Tkinter files: tkinter_accept_lists.patch keywords: patch messages: 218747 nosy: gpolo, loewis, serhiy.storchaka, terry.reedy priority: normal severity: normal stage: patch review status: open title: Accept lists in Tkinter type: enhancement versions: Python 3.5 Added file: http://bugs.python.org/file35282/tkinter_accept_lists.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21525> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com