[issue29446] Improve tkinter 'import *' situation

Serhiy Storchaka report at bugs.python.org
Sun Feb 5 10:45:37 EST 2017


Serhiy Storchaka added the comment:

This also excludes "constants" implicitly added by importing names from tkinter.constants. I don't know whether this is good or bad.

Interesting, but

    from tkinter import *
    import tkinter.ttk

and

    import tkinter.ttk
    from tkinter import *

have different effects.

----------

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


More information about the Python-bugs-list mailing list