Lines Matching refs:fname
151 mod_name, loader, code, fname = _get_module_details(mod_name)
153 mod_name, loader, code, fname = _get_main_module_details()
160 sys.argv[0] = fname
162 "__main__", fname, loader, pkg_name)
170 mod_name, loader, code, fname = _get_module_details(mod_name)
176 fname, loader, pkg_name)
180 fname, loader, pkg_name)
213 def _get_code_from_file(fname):
215 with open(fname, "rb") as f:
219 with open(fname, "rU") as f:
220 code = compile(f.read(), fname, 'exec')
256 mod_name, loader, code, fname = _get_main_module_details()
264 run_name, fname, loader, pkg_name).copy()