[New-bugs-announce] [issue21402] tkinter.ttk._val_or_dict assumes tkinter._default_root exists

Stephen Paul Chappell report at bugs.python.org
Wed Apr 30 21:22:43 CEST 2014


New submission from Stephen Paul Chappell:

If a call is made to tkinter.NoDefaultRoot, then calls to tkinter.ttk._val_or_dict may fail. NoDefaultRoot ends with "del _default_root" (line 174) and removes the variable from the module's namespace. _val_or_dict can try to access this variable but assumes that it exists (line 319). If _default_root does not exist, the function will raise an AttributeError: 'module' object has no attribute '_default_root'.

----------
components: Library (Lib), Tkinter
messages: 217644
nosy: Zero
priority: normal
severity: normal
status: open
title: tkinter.ttk._val_or_dict assumes tkinter._default_root exists
type: crash
versions: Python 3.4

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


More information about the New-bugs-announce mailing list