cpython: a0d8ae880ae6 (original) (raw)

--- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -1,5 +1,5 @@ -import imp import importlib +import importlib.abc import os import re import string @@ -35,34 +35,6 @@ def _sphinx_version(): release += '%s%s' % (level[0], serial) return release -def _find_module(fullname, path=None):

-

- class HelpDialog(object): @@ -687,20 +659,29 @@ class EditorWindow(object): return # XXX Ought to insert current file's directory in front of path try:

def open_class_browser(self, event=None): filename = self.io.filename

--- a/Misc/NEWS +++ b/Misc/NEWS @@ -71,6 +71,8 @@ Library IDLE ---- +- Issue #18055: Move IDLE off of imp and on to importlib. +