[issue21402] tkinter.ttk._val_or_dict assumes tkinter._default_root exists

Serhiy Storchaka report at bugs.python.org
Wed May 14 08:44:40 CEST 2014


Serhiy Storchaka added the comment:

This is not so easy, because it does not work with wantobject=False and can not work with future versions of Tk. Actually we should use self.tk instead of _default_root, but this will change the signature of _list_from_layouttuple() and _val_or_dict(). Due to the risk of breaking existing user code which uses these private functions, they should be left with old signature and new functions should be added.

----------
assignee:  -> serhiy.storchaka
versions: +Python 2.7, Python 3.5

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


More information about the Python-bugs-list mailing list