"""
import os, threading, types
-import wsgiutil
+from . import wsgiutil
__all__ = ["application", "wmain", "getmod", "cachedmod"]
code = compile(text, path, "exec")
mod = types.ModuleType(mangle(path))
mod.__file__ = path
- exec code in mod.__dict__
+ exec(code, mod.__dict__)
entry = cachedmod(mod, sb.st_mtime)
modcache[path] = entry
return entry