Commit d8f0aff6 authored by Alex Harsanyi's avatar Alex Harsanyi Committed by Chong Yidong
Browse files

* Import imp module and use it (Bug#5756).

parent c00725d7
2010-08-22 Alex Harsanyi <>
* Import imp module and use it (Bug#5756).
2010-07-27 Ken Brown <>
* PROBLEMS: Mention problem with Cygwin 1.5.19.
Warning: This file is automatically generated from with the
2to3 script. Do not hand edit.
"""Definitions used by commands sent to inferior Python in python.el."""
# Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
# Author: Dave Love <>
......@@ -23,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with GNU Emacs. If not, see <>.
import os, sys, traceback, inspect, __main__
import os, sys, traceback, inspect, imp, __main__
......@@ -216,7 +209,7 @@ def eimport (mod, dir):
if mod in __dict__ and inspect.ismodule (__dict__[mod]):
reload (__dict__[mod])
imp.reload (__dict__[mod])
__dict__[mod] = __import__ (mod)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment