Lines Matching refs:cfile
79 def compile(file, cfile=None, dfile=None, doraise=False, optimize=-1,
84 :param cfile: The target byte compiled file name. When not given, this
119 Do note that FileExistsError is raised if cfile ends up pointing at a
126 if cfile is None:
129 cfile = importlib.util.cache_from_source(file,
132 cfile = importlib.util.cache_from_source(file)
133 if os.path.islink(cfile):
136 raise FileExistsError(msg.format(cfile))
137 elif os.path.exists(cfile) and not os.path.isfile(cfile):
140 raise FileExistsError(msg.format(cfile))
155 dirname = os.path.dirname(cfile)
172 importlib._bootstrap_external._write_atomic(cfile, bytecode, mode)
173 return cfile