Brett Cannon <br...@python.org> added the comment: It's actually not surprising that imp works this way: it predates packages.
Because the semantics (I assume) have been like this for ages I say we document the current behavior (it's easy to work around) and simply continue to replace imp functionality with importlib ones that are more modern and reasonable. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11676> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com