Antoine Pitrou added the comment: This would sound reasonable to me, but I wonder if it may change behaviour with weird custom __import__ overrides. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue22557> _______________________________________