def _create_module(name): fullname = __name__ + "." + name mod = _new_module(fullname) sys.modules[fullname] = mod return mod