[issue13179] IDLE uses common tkinter variables across all editor windows

Roger Serwy report at bugs.python.org
Sat Oct 15 19:03:44 CEST 2011


Roger Serwy <roger.serwy at gmail.com> added the comment:

For Code Context, the behavior is a bug since the menu item check can be 
changed independently of the actual status of Code Context.

As far as I can tell, flist.vars mostly contains variables  created by 
EditorWindow.py's "get_var_obj". A quick grep for ".vars" in idlelib can 
confirm that.

It also contains variables created by PyShell.py, particularly 
'<<toggle-jit-stack-viewer>>' and '<<toggle-debugger>>'.  Since the 
shell can only have one instance, its tkinter variables can be held 
local to the EditorWindow instance.

----------

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


More information about the Python-bugs-list mailing list