New submission from Stefan Behnel <sco...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue14592> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com