cpython/Lib/tkinter
Serhiy Storchaka 80c445cafb
[3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23854)
* Tkinter functions and constructors which need a default root window
  raise now RuntimeError with descriptive message instead of obscure
  AttributeError or NameError if it is not created yet or cannot
  be created automatically.

* Add tests for all functions which use default root window.

* Fix import in the pynche script.

(cherry picked from commit 3d569fd6dc)
2020-12-19 16:38:37 +02:00
..
test [3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23854) 2020-12-19 16:38:37 +02:00
__init__.py [3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23854) 2020-12-19 16:38:37 +02:00
__main__.py
colorchooser.py
commondialog.py [3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23854) 2020-12-19 16:38:37 +02:00
constants.py
dialog.py
dnd.py
filedialog.py
font.py [3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23854) 2020-12-19 16:38:37 +02:00
messagebox.py
scrolledtext.py
simpledialog.py [3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23854) 2020-12-19 16:38:37 +02:00
tix.py [3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23854) 2020-12-19 16:38:37 +02:00
ttk.py [3.8] bpo-42630: Improve error reporting in Tkinter for absent default root (GH-23781) (GH-23854) 2020-12-19 16:38:37 +02:00