From 59cb04e883fabcb4293392a104fc7da51aae7564 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Tue, 23 Jul 2019 16:14:59 -0400 Subject: [PATCH] bpo-29446: IDLE -- add explicit imports (GH-14919) Stop depending on tkinter import *. (cherry picked from commit c6fd6c83b70df76421d05a7628367e64a2f83589) Co-authored-by: Terry Jan Reedy --- Lib/idlelib/editor.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/idlelib/editor.py b/Lib/idlelib/editor.py index 497ee12f18140e6..35027da76bce2fc 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