[issue21933] Allow the user to change font sizes with the text pane of turtledemo

Serhiy Storchaka report at bugs.python.org
Sun Jul 27 09:54:10 CEST 2014


Serhiy Storchaka added the comment:

In 3.5 lists should work as fine as tuples. But in earlier version it would be 
safer to convert list to tuple.

Configure's value is preprocessed in Misc._options. If it is a tuple or a list 
with only int and str items, it will stringified. But if a list contains non-
int or non-str items, it will passed as is, and _tkinter in pre-3.5 will fail 
because lists are not supported.

----------

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


More information about the Python-bugs-list mailing list