[New-bugs-announce] [issue18055] Stop using imp in IDLE

Brett Cannon report at bugs.python.org
Sat May 25 17:40:14 CEST 2013

New submission from Brett Cannon:

As part of issue #14797 I'm trying to remove all uses of imp.find_module/load_module since the API is so bad in the face of importers. See the attached patch to replace the one use in IDLE. It should actually be more accepting of alternative importers than the original code.

Since I'm not an IDLE user I'm not comfortable with committing w/o an IDLE dev signing off on it, so please let me know if I can commit it (I would only bother in 3.4 unless you really want it in the 3.3 branch).

components: IDLE
files: imp_removed_from_idle.diff
keywords: patch
messages: 189968
nosy: brett.cannon
priority: normal
severity: normal
stage: commit review
status: open
title: Stop using imp in IDLE
type: behavior
versions: Python 3.4
Added file: http://bugs.python.org/file30365/imp_removed_from_idle.diff

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list