[issue14592] old-style (level=-1) importing broken after importlib changes
Stefan Behnel
report at bugs.python.org
Mon Apr 16 13:33:01 CEST 2012
New submission from Stefan Behnel <scoder at users.sourceforge.net>:
Up to the early Py3.3 developer versions, calling __import__() with a level of -1 worked as in Python 2, i.e. it tried a relative import first and then a global import.
This no longer seems to be available after the importlib rewrite (e.g. as of rev f341b99bb370).
----------
components: Interpreter Core
messages: 158409
nosy: scoder
priority: normal
severity: normal
status: open
title: old-style (level=-1) importing broken after importlib changes
type: behavior
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14592>
_______________________________________
More information about the Python-bugs-list
mailing list