[New-bugs-announce] [issue21525] Accept lists in Tkinter

Serhiy Storchaka report at bugs.python.org
Sun May 18 18:04:31 CEST 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue21525>
_______________________________________


More information about the New-bugs-announce mailing list