From 15af8e2716b13362a420136f1427ba9691eb033e Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Tue, 23 Jul 2019 16:04:47 -0400 Subject: [PATCH] bpo-29446: IDLE -- add explicit imports Stop depending on tkinter import *. --- Lib/idlelib/editor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/idlelib/editor.py b/Lib/idlelib/editor.py index 497ee12f18140e..35027da76bce2f 100644 --- a/Lib/idlelib/editor.py +++ b/Lib/idlelib/editor.py @@ -2,7 +2,9 @@ import importlib.util import os import platform +import re import string +import sys import tokenize import traceback import webbrowser