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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21402>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to