Lines Matching refs:fullname
40 fullname = os.path.join(dir, name)
41 if not os.path.isdir(fullname):
42 yield fullname
44 os.path.isdir(fullname) and not os.path.islink(fullname)):
45 yield from _walk_dir(fullname, maxlevels=maxlevels - 1,
125 def compile_file(fullname, ddir=None, force=False, rx=None, quiet=0,
131 Arguments (only fullname is required):
133 fullname: the file to byte-compile
157 fullname = os.fspath(fullname)
159 name = os.path.basename(fullname)
167 fullname_parts = fullname.split(os.path.sep)
179 dfile = os.path.join(prependdir, fullname)
195 mo = rx.search(fullname)
199 if limit_sl_dest is not None and os.path.islink(fullname):
200 if Path(limit_sl_dest).resolve() not in Path(fullname).resolve().parents:
205 if os.path.isfile(fullname):
208 opt_cfiles[opt_level] = fullname + 'c'
213 fullname, optimization=opt))
216 cfile = importlib.util.cache_from_source(fullname)
223 mtime = int(os.stat(fullname).st_mtime)
236 print('Compiling {!r}...'.format(fullname))
240 ok = py_compile.compile(fullname, cfile, dfile, True,
253 print('*** Error compiling {!r}...'.format(fullname))
265 print('*** Error compiling {!r}...'.format(fullname))