/usr/lib/python3.10/__pycache__
NameSizeModeActions
abc.cpython-310.pyc67510644editdlrm
aifc.cpython-310.pyc246850644editdlrm
antigravity.cpython-310.pyc8220644editdlrm
argparse.cpython-310.pyc635390644editdlrm
ast.cpython-310.pyc557390644editdlrm
asynchat.cpython-310.pyc70250644editdlrm
asyncore.cpython-310.pyc160020644editdlrm
base64.cpython-310.pyc171620644editdlrm
bdb.cpython-310.pyc258320644editdlrm
binhex.cpython-310.pyc128700644editdlrm
bisect.cpython-310.pyc25880644editdlrm
bz2.cpython-310.pyc108700644editdlrm
calendar.cpython-310.pyc263030644editdlrm
cgi.cpython-310.pyc267230644editdlrm
cgitb.cpython-310.pyc99980644editdlrm
chunk.cpython-310.pyc48600644editdlrm
cmd.cpython-310.pyc127070644editdlrm
code.cpython-310.pyc99570644editdlrm
codecs.cpython-310.pyc332190644editdlrm
codeop.cpython-310.pyc55950644editdlrm
colorsys.cpython-310.pyc32650644editdlrm
compileall.cpython-310.pyc127330644editdlrm
configparser.cpython-310.pyc454580644editdlrm
contextlib.cpython-310.pyc208950644editdlrm
contextvars.cpython-310.pyc2460644editdlrm
copy.cpython-310.pyc69960644editdlrm
copyreg.cpython-310.pyc46830644editdlrm
cProfile.cpython-310.pyc51130644editdlrm
crypt.cpython-310.pyc35500644editdlrm
csv.cpython-310.pyc117980644editdlrm
dataclasses.cpython-310.pyc265780644editdlrm
datetime.cpython-310.pyc565330644editdlrm
decimal.cpython-310.pyc3620644editdlrm
difflib.cpython-310.pyc589050644editdlrm
dis.cpython-310.pyc156560644editdlrm
doctest.cpython-310.pyc761750644editdlrm
enum.cpython-310.pyc260630644editdlrm
filecmp.cpython-310.pyc87490644editdlrm
fileinput.cpython-310.pyc140720644editdlrm
fnmatch.cpython-310.pyc42440644editdlrm
fractions.cpython-310.pyc186000644editdlrm
ftplib.cpython-310.pyc290340644editdlrm
functools.cpython-310.pyc283350644editdlrm
genericpath.cpython-310.pyc39070644editdlrm
getopt.cpython-310.pyc63390644editdlrm
getpass.cpython-310.pyc42100644editdlrm
gettext.cpython-310.pyc182210644editdlrm
glob.cpython-310.pyc58520644editdlrm
graphlib.cpython-310.pyc76160644editdlrm
gzip.cpython-310.pyc185460644editdlrm
hashlib.cpython-310.pyc68450644editdlrm
heapq.cpython-310.pyc138650644editdlrm
hmac.cpython-310.pyc69730644editdlrm
imaplib.cpython-310.pyc423120644editdlrm
imghdr.cpython-310.pyc39050644editdlrm
imp.cpython-310.pyc97860644editdlrm
inspect.cpython-310.pyc851530644editdlrm
io.cpython-310.pyc36630644editdlrm
ipaddress.cpython-310.pyc626700644editdlrm
keyword.cpython-310.pyc9270644editdlrm
linecache.cpython-310.pyc41420644editdlrm
locale.cpython-310.pyc461540644editdlrm
lzma.cpython-310.pyc121000644editdlrm
mailbox.cpython-310.pyc600910644editdlrm
mailcap.cpython-310.pyc73200644editdlrm
mimetypes.cpython-310.pyc176190644editdlrm
modulefinder.cpython-310.pyc161660644editdlrm
netrc.cpython-310.pyc39330644editdlrm
nntplib.cpython-310.pyc316230644editdlrm
ntpath.cpython-310.pyc147040644editdlrm
nturl2path.cpython-310.pyc17470644editdlrm
numbers.cpython-310.pyc118660644editdlrm
opcode.cpython-310.pyc54470644editdlrm
operator.cpython-310.pyc135080644editdlrm
optparse.cpython-310.pyc477540644editdlrm
os.cpython-310.pyc315990644editdlrm
pathlib.cpython-310.pyc420520644editdlrm
pdb.cpython-310.pyc474400644editdlrm
pickle.cpython-310.pyc468820644editdlrm
pickletools.cpython-310.pyc677600644editdlrm
pipes.cpython-310.pyc77690644editdlrm
pkgutil.cpython-310.pyc183610644editdlrm
platform.cpython-310.pyc274290644editdlrm
plistlib.cpython-310.pyc237650644editdlrm
poplib.cpython-310.pyc135730644editdlrm
posixpath.cpython-310.pyc105600644editdlrm
pprint.cpython-310.pyc178750644editdlrm
profile.cpython-310.pyc143910644editdlrm
pstats.cpython-310.pyc236210644editdlrm
pty.cpython-310.pyc41430644editdlrm
pyclbr.cpython-310.pyc97750644editdlrm
pydoc.cpython-310.pyc856450644editdlrm
py_compile.cpython-310.pyc73390644editdlrm
queue.cpython-310.pyc107920644editdlrm
quopri.cpython-310.pyc57940644editdlrm
random.cpython-310.pyc227480644editdlrm
re.cpython-310.pyc142270644editdlrm
reprlib.cpython-310.pyc52500644editdlrm
rlcompleter.cpython-310.pyc59540644editdlrm
runpy.cpython-310.pyc94110644editdlrm
sched.cpython-310.pyc61150644editdlrm
secrets.cpython-310.pyc21750644editdlrm
selectors.cpython-310.pyc171050644editdlrm
shelve.cpython-310.pyc94920644editdlrm
shlex.cpython-310.pyc77820644editdlrm
shutil.cpython-310.pyc385360644editdlrm
signal.cpython-310.pyc29350644editdlrm
site.cpython-310.pyc179220644editdlrm
sitecustomize.cpython-310.pyc2250644editdlrm
smtpd.cpython-310.pyc261470644editdlrm
smtplib.cpython-310.pyc357660644editdlrm
sndhdr.cpython-310.pyc69620644editdlrm
socket.cpython-310.pyc289630644editdlrm
socketserver.cpython-310.pyc253470644editdlrm
sre_compile.cpython-310.pyc151940644editdlrm
sre_constants.cpython-310.pyc63570644editdlrm
sre_parse.cpython-310.pyc217550644editdlrm
ssl.cpython-310.pyc452710644editdlrm
stat.cpython-310.pyc42730644editdlrm
statistics.cpython-310.pyc370510644editdlrm
string.cpython-310.pyc71020644editdlrm
stringprep.cpython-310.pyc170750644editdlrm
struct.cpython-310.pyc3070644editdlrm
subprocess.cpython-310.pyc447410644editdlrm
sunau.cpython-310.pyc164820644editdlrm
symtable.cpython-310.pyc128350644editdlrm
sysconfig.cpython-310.pyc181510644editdlrm
tabnanny.cpython-310.pyc69500644editdlrm
tarfile.cpython-310.pyc715780644editdlrm
telnetlib.cpython-310.pyc185060644editdlrm
tempfile.cpython-310.pyc273390644editdlrm
textwrap.cpython-310.pyc138120644editdlrm
this.cpython-310.pyc12640644editdlrm
threading.cpython-310.pyc449690644editdlrm
timeit.cpython-310.pyc117690644editdlrm
token.cpython-310.pyc27380644editdlrm
tokenize.cpython-310.pyc171940644editdlrm
trace.cpython-310.pyc198700644editdlrm
traceback.cpython-310.pyc217120644editdlrm
tracemalloc.cpython-310.pyc175250644editdlrm
tty.cpython-310.pyc10790644editdlrm
turtle.cpython-310.pyc1288570644editdlrm
types.cpython-310.pyc95250644editdlrm
typing.cpython-310.pyc852770644editdlrm
uu.cpython-310.pyc38670644editdlrm
uuid.cpython-310.pyc224980644editdlrm
warnings.cpython-310.pyc136460644editdlrm
wave.cpython-310.pyc175940644editdlrm
weakref.cpython-310.pyc203430644editdlrm
webbrowser.cpython-310.pyc174630644editdlrm
xdrlib.cpython-310.pyc78800644editdlrm
zipapp.cpython-310.pyc60130644editdlrm
zipfile.cpython-310.pyc618450644editdlrm
zipimport.cpython-310.pyc170330644editdlrm
_aix_support.cpython-310.pyc28790644editdlrm
_bootsubprocess.cpython-310.pyc22940644editdlrm
_collections_abc.cpython-310.pyc329250644editdlrm
_compat_pickle.cpython-310.pyc58720644editdlrm
_compression.cpython-310.pyc45120644editdlrm
_distutils_system_mod.cpython-310.pyc54220644editdlrm
_markupbase.cpython-310.pyc75720644editdlrm
_osx_support.cpython-310.pyc115350644editdlrm
_pydecimal.cpython-310.pyc1577360644editdlrm
_pyio.cpython-310.pyc736540644editdlrm
_py_abc.cpython-310.pyc46830644editdlrm
_sitebuiltins.cpython-310.pyc35470644editdlrm
_strptime.cpython-310.pyc159450644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-310.pyc353850644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-310.pyc353790644editdlrm
_threading_local.cpython-310.pyc65390644editdlrm
_weakrefset.cpython-310.pyc76080644editdlrm
__future__.cpython-310.pyc41310644editdlrm
__phello__.foo.cpython-310.pyc1300644editdlrm
Edit: /usr/lib/python3.10/__pycache__/_osx_support.cpython-310.pyc (11535B)
o 9jU@sdZddlZddlZddlZgdZdZdZdZd.ddZd/d d Z d d Z da ddZ da ddZddZddZdaddZddZddZddZddZd d!Zd"d#Zd$d%Zd&d'Zd(d)Zd*d+Zd,d-ZdS)0zShared OS X support functions.N)compiler_fixupcustomize_config_varscustomize_compilerget_platform_osx) CFLAGSLDFLAGSCPPFLAGS BASECFLAGS BLDSHAREDLDSHAREDCCCXX PY_CFLAGS PY_LDFLAGS PY_CPPFLAGSPY_CORE_CFLAGSPY_CORE_LDFLAGS)r r r r _OSX_SUPPORT_INITIAL_cCs|dur tjd}|tj}tj|\}}tjdkr$|dkr$|d}tj|sB|D]}tj ||}tj|r?|Sq,dS|S)zTries to find 'executable' in the directories listed in 'path'. A string listing directories separated by 'os.pathsep'; defaults to os.environ['PATH']. Returns the complete filename or None if not found. NPATHwin32z.exe) osenvironsplitpathseppathsplitextsysplatformisfilejoin) executablerpathsbaseextpfr&#/usr/lib/python3.10/_osx_support.py_find_executables    r(FcCsddl}z ddl}|}Wnty!tdtfd}Ynw||)}|r2d||jf}nd||jf}t |sG| d ndWdS1sSwYdS)z0Output from successful command execution or NonerNz/tmp/_osx_support.%szw+bz %s >'%s' 2>&1z%s 2>/dev/null >'%s'utf-8) contextlibtempfileNamedTemporaryFile ImportErroropenrgetpidclosingnamesystemreaddecodestrip) commandstringcapture_stderrr*r+fpcmdr&r&r' _read_output7s"   $r:cCst|p td|fp dS)z0Find a build tool on current path or using xcrunz/usr/bin/xcrun -find %s)r(r:)toolnamer&r&r'_find_build_toolMs  r=cCstdur@daztddd}Wn tyYtSwztd|}W|n|w|dur@d|d ddd atS) z*Return the OS X system version as a stringNr;z0/System/Library/CoreServices/SystemVersion.plistr))encodingz=ProductUserVisibleVersion\s*(.*?).) _SYSTEM_VERSIONr.OSErrorresearchr3closergroupr)r%mr&r&r'_get_system_versionVs    rIcCsNtdur%t}|r%ztdd|dDaWtSty$daYtSwtS)z} Return the macOS system version as a tuple The return value is safe to use to compare two version numbers. Ncs|]}t|VqdSNint.0ir&r&r' z,_get_system_version_tuple..r?r&)_SYSTEM_VERSION_TUPLErItupler ValueError osx_versionr&r&r'_get_system_version_tupleus rXcCs"t|D] }|tr||=qdS)z-Remove original unmodified values for testingN)list startswith_INITPRE) _config_varskr&r&r'_remove_original_valuess  r^cCs8||d}||krt||vr||t|<|||<dS)z@Save modified and original unmodified value of configuration varr;N)getr[)r\cvnewvalueoldvaluer&r&r'_save_modified_values   rccCstdurtStd|fd}d}|D]*}|drd}q|dr&d}q|r>|}|dkr3daq|d r>|dd aqtdurEdatS) z= Returns the root of the default SDK for this system, or '/' Nz%s -c -E -v - zEnd of search listz /usr/include/z.sdk/usr/includei)_cache_default_sysrootr: splitlinesrZr5endswith)cccontents in_incdirsliner&r&r'_default_sysroots&     rlcCst}|r t|dkSdS)z=Returns True if universal builds are supported on this system F)rXboolrVr&r&r'_supports_universal_buildssrqcCst}|r |dkSdS)z9Returns True if arm64 builds are supported on this system) rF)rXrVr&r&r'_supports_arm64_buildssrscCsdtjvr|S|dd}}t|std}ntj|dr8td| ddf}|r8d|vr8td}|s>t d ||krkt D]&}||vrj|tjvrj||}|d kr[|n|d |d<t ||d |qD|S) z7Find appropriate C compiler for extension module buildsr rclanggccz'%s' --version''"'"'zllvm-gcczCannot locate working compilerr z++ )rrrr(r=rbasenamerZr:replace SystemError_COMPILER_CONFIG_VARSrcr)r\rholdccdatar`cv_splitr&r&r'_find_appropriate_compilers.     rcCsVtD]&}||vr(|tjvr(||}tjdd|tjd}tdd|}t|||q|S)z5Remove all universal build arguments from config vars -arch\s+\w+\srx)flagsz-isysroot\s*\S+)_UNIVERSAL_CONFIG_VARSrrrDsubASCIIrc)r\r`rr&r&r'_remove_universal_flagss rcCsdtjvr|Std|ddur@td|dddf}|r@tD]}||vr?|tjvr?||}tdd |}t|||q#|S) z-Remove any unsupported archs from config varsr z -arch\s+ppcrNzNecho 'int main{};' | '%s' -c -arch ppc -x c -o /dev/null /dev/null 2>/dev/nullrvrwz-arch\s+ppc\w*\srx) rrrDrEr2rzrrrc)r\statusr`rr&r&r'_remove_unsupported_archss   rcCsddtjvr0tjd}tD]#}||vr/d||vr/||}tdd|}|d|}t|||q |S)z2Allow override of all archs with ARCHFLAGS env var ARCHFLAGS-archrrx)rrrrDrrc)r\archr`rr&r&r'_override_all_archs:s    rcCsx|dd}td|}|dur:|d}tj|s:tD]}||vr9|tjvr9||}t dd|}t |||q|S)z+Remove references to any SDKs not availablerr;z-isysroot\s*(\S+)Nr@z-isysroot\s*\S+(?:\s|$)rx) r_rDrErGrrexistsrrrrc)r\cflagsrHsdkr`rr&r&r'_check_for_unavailable_sdkKs    rc Csd}}t|}tsd}}n d|v}tdd|D}|s$dtjvr? z|d}|||d=Wn ty<Ynwq%n#tsbtt t |D]}||dkra||dd kra|||d=qJdtjvrr|sr|tjd }|r d d t |D}|sn|d }||d kr|||d=n|||d=qud}|}dd t |D}|s|}dd t |D}|D]}||d kr||d}n ||t d d}|rtj |stjd|dtjdtj|S)ae This function will strip '-isysroot PATH' and '-arch ARCH' from the compile flags if the user has specified one them in extra_compile_flags. This is needed because '-arch ARCH' adds another architecture to the build, without a way to remove an architecture. Furthermore GCC will barf if multiple '-isysroot' arguments are present. FTrcss|] }|dr|VqdS) -isysrootNrZ)rOargr&r&r'rQysz!compiler_fixup..rrAr@arm64cSg|] \}}|dr|qSrrrOrPxr&r&r' z"compiler_fixup..rrNcSrrrrr&r&r'rrcSrrrrr&r&r'rrz2Compiling with an SDK that doesn't seem to exist:  z%Please check your Xcode installation )rYrqanyrrindexrUrsreversedrangelenr enumeraterisdirrstderrwriteflush) compiler_socc_args stripArch stripSysrootridxindicessysrootargvarr&r&r'rfsd         rcCs"tst|t|t||S)aCustomize Python build configuration variables. Called internally from sysconfig with a mutable mapping containing name/value pairs parsed from the configured makefile used to build this interpreter. Returns the mapping updated as needed to reflect the environment in which the interpreter is running; in the case of a Python from a binary installer, the installed environment may be very different from the build environment, i.e. different OS levels, different built tools, different available CPU architectures. This customization is performed whenever distutils.sysconfig.get_config_vars() is first called. It may be used in environments where no compilers are present, i.e. when installing pure Python dists. Customization of compiler paths and detection of unavailable archs is deferred until the first extension module build is requested (in distutils.sysconfig.customize_compiler). Currently called from distutils.sysconfig )rqrrrr\r&r&r'rs rcCst|t|t||S)zCustomize compiler path and configuration variables. This customization is performed when the first extension module build is requested in distutils.sysconfig.customize_compiler. )rrrrr&r&r'rs rcCsp|dd}tp |}|p|}|r|}d}|td|dd}|rAztdd|ddd D}Wn ty@d }Ynwd }|d krd |vrd }td|}tt t |}t |dkrh|d}nK|dkrod}nD|dkrvd }n=|dkr}d}n6|dkrd}n/|dkrd}n(|dkrd}n!td|f|dkrt j dkrd}n|dvrt j dkrd }nd!}|||fS)"z Filter values for get_platform()MACOSX_DEPLOYMENT_TARGETr;macosxrcsrJrKrLrNr&r&r'rQ rRz#get_platform_osx..r?rrA)rnrmrfatz -arch\s+(\S+)r@)rx86_64 universal2)i386ppc)rrintel)rrrfat3)ppc64rfat64)rrrr universalz%Don't know machine value for archs=%rrlr)PowerPCPower_Macintoshrr)r_rIr[rTrrUr5rDfindallsortedsetrrmaxsize)r\osnamereleasemachinemacver macreleaserarchsr&r&r'rs\   $       rrK)F)__doc__rrDr__all__rr|r[r(r:r=rBrIrSrXr^rcrerlrqrsrrrrrrrrrr&r&r&r's<      >(P)