How to reproduce: # a.py d = {} exec 'from b import *' in d print d['b'] # b.py b = 1 Run a.py with CPython and IronPython. -- Seo Sanghyeon