From 27bbfdbc4c85011b2bd7f21d3fe3b5e8c2d8b725 Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sat, 15 Jun 2013 13:37:12 -0400 Subject: Drop some dead imports of imp --- Lib/idlelib/PathBrowser.py | 1 - Lib/idlelib/TreeWidget.py | 1 - Misc/NEWS | 2 ++ 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/idlelib/PathBrowser.py b/Lib/idlelib/PathBrowser.py index 09b3bbf..ba40719 100644 --- a/Lib/idlelib/PathBrowser.py +++ b/Lib/idlelib/PathBrowser.py @@ -1,6 +1,5 @@ import os import sys -import imp import importlib.machinery from idlelib.TreeWidget import TreeItem diff --git a/Lib/idlelib/TreeWidget.py b/Lib/idlelib/TreeWidget.py index d4e524b..25bae48 100644 --- a/Lib/idlelib/TreeWidget.py +++ b/Lib/idlelib/TreeWidget.py @@ -16,7 +16,6 @@ import os from tkinter import * -import imp from idlelib import ZoomHeight from idlelib.configHandler import idleConf diff --git a/Misc/NEWS b/Misc/NEWS index 372b3fe..70b183f 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -81,6 +81,8 @@ Library IDLE ---- +- Remove dead imports of imp. + - Issue #18196: Avoid displaying spurious SystemExit tracebacks. - Issue #5492: Avoid traceback when exiting IDLE caused by a race condition. -- cgit v0.12