[issue21525] Accept lists in Tkinter

2014-05-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue21525] Accept lists in Tkinter

2014-05-21 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8676e436c0f0 by Serhiy Storchaka in branch 'default': Issue #21525: Most Tkinter methods which accepted tuples now accept lists too. http://hg.python.org/cpython/rev/8676e436c0f0 -- nosy: +python-dev ___

[issue21525] Accept lists in Tkinter

2014-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Sounds like a good idea to me. The code looks pretty straightforward as far as I understood it. -- ___ Python tracker ___ _

[issue21525] Accept lists in Tkinter

2014-05-18 Thread Serhiy Storchaka
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 repr