[issue4152] ihooks module cannot handle absolute imports

Neil Schemenauer report at bugs.python.org
Mon Oct 20 19:36:42 CEST 2008


New submission from Neil Schemenauer <nas-pythonbugs at arctrix.com>:

The ihooks module was updated when the absolute imports feature was
implemented.  At a minimum, I guess the import_module() methods in that
module would need to have "level=-1" keyword arguments added.  The only
library in the core that uses an absolute import is encodings/__init__.py.

----------
messages: 74998
nosy: nas
severity: normal
status: open
title: ihooks module cannot handle absolute imports
type: behavior
versions: Python 2.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4152>
_______________________________________


More information about the Python-bugs-list mailing list