Serhiy Storchaka added the comment: Just now I'm writing a patch for optimizing __import__. Maybe importbench would be helpful. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue27418> _______________________________________