]> granicus.if.org Git - python/commitdiff
bpo-29446: IDLE -- add explicit imports (GH-14919)
authorTerry Jan Reedy <tjreedy@udel.edu>
Tue, 23 Jul 2019 20:14:59 +0000 (16:14 -0400)
committerGitHub <noreply@github.com>
Tue, 23 Jul 2019 20:14:59 +0000 (16:14 -0400)
Stop depending on tkinter import *.

Lib/idlelib/editor.py

index 497ee12f18140e684a299a477aded6c6d4df4b31..35027da76bce2fc8a339f6094b8e503fe8446999 100644 (file)
@@ -2,7 +2,9 @@ import importlib.abc
 import importlib.util
 import os
 import platform
+import re
 import string
+import sys
 import tokenize
 import traceback
 import webbrowser