/usr/lib/python3.10/distutils/__pycache__
NameSizeModeActions
archive_util.cpython-310.pyc65080644editdlrm
bcppcompiler.cpython-310.pyc64950644editdlrm
ccompiler.cpython-310.pyc330440644editdlrm
cmd.cpython-310.pyc138950644editdlrm
config.cpython-310.pyc35340644editdlrm
core.cpython-310.pyc66030644editdlrm
cygwinccompiler.cpython-310.pyc84560644editdlrm
debug.cpython-310.pyc1970644editdlrm
dep_util.cpython-310.pyc27180644editdlrm
dir_util.cpython-310.pyc61690644editdlrm
dist.cpython-310.pyc339500644editdlrm
errors.cpython-310.pyc49390644editdlrm
extension.cpython-310.pyc69740644editdlrm
fancy_getopt.cpython-310.pyc105770644editdlrm
filelist.cpython-310.pyc98270644editdlrm
file_util.cpython-310.pyc59230644editdlrm
log.cpython-310.pyc22540644editdlrm
msvc9compiler.cpython-310.pyc175090644editdlrm
msvccompiler.cpython-310.pyc147280644editdlrm
spawn.cpython-310.pyc34140644editdlrm
sysconfig.cpython-310.pyc77710644editdlrm
text_file.cpython-310.pyc84160644editdlrm
unixccompiler.cpython-310.pyc72070644editdlrm
util.cpython-310.pyc156360644editdlrm
version.cpython-310.pyc73060644editdlrm
versionpredicate.cpython-310.pyc51340644editdlrm
_msvccompiler.cpython-310.pyc128280644editdlrm
__init__.cpython-310.pyc6210644editdlrm
Edit: /usr/lib/python3.10/distutils/__pycache__/dep_util.cpython-310.pyc (2718B)
o Šbc£ ã@s6dZddlZddlmZdd„Zdd„Zd d d „ZdS) z¯distutils.dep_util Utility functions for simple, timestamp-based dependency of files and groups of files; also, function based entirely on such timestamp dependency analysis.éN)ÚDistutilsFileErrorcCs`tj |¡stdtj |¡ƒ‚tj |¡sdSddlm}t |¡|}t |¡|}||kS)aReturn true if 'source' exists and is more recently modified than 'target', or if 'source' exists and 'target' doesn't. Return false if both exist and 'target' is the same age or younger than 'source'. Raise DistutilsFileError if 'source' does not exist. zfile '%s' does not existér©ÚST_MTIME)ÚosÚpathÚexistsrÚabspathÚstatr)ÚsourceÚtargetrÚmtime1Úmtime2©rú)/usr/lib/python3.10/distutils/dep_util.pyÚnewer s  ÿ  rcCsht|ƒt|ƒkr tdƒ‚g}g}tt|ƒƒD]}t||||ƒr/| ||¡| ||¡q||fS)zëWalk two filename lists in parallel, testing if each source is newer than its corresponding target. Return a pair of lists (sources, targets) where source is newer than target, according to the semantics of 'newer()'. z+'sources' and 'targets' must be same length)ÚlenÚ ValueErrorÚrangerÚappend)ÚsourcesÚtargetsÚ n_sourcesÚ n_targetsÚirrrÚnewer_pairwise s€rÚerrorcCs‚tj |¡sdSddlm}t |¡|}|D]'}tj |¡s0|dkr$n |dkr)q|dkr0dSt |¡|}||kr>dSqdS)aßReturn true if 'target' is out-of-date with respect to any file listed in 'sources'. In other words, if 'target' exists and is newer than every file in 'sources', return false; otherwise return true. 'missing' controls what we do when a source file is missing; the default ("error") is to blow up with an OSError from inside 'stat()'; if it is "ignore", we silently drop any missing source files; if it is "newer", any missing source files make us assume that 'target' is out-of-date (this is handy in "dry-run" mode: it'll make you pretend to carry out commands that wouldn't work because inputs are missing, but that doesn't matter because you're not actually going to run the commands). rrrrÚignorer)rrrr r)rr ÚmissingrÚ target_mtimer Ú source_mtimerrrÚ newer_group6s"   ÿr!)r)Ú__doc__rÚdistutils.errorsrrrr!rrrrÚs