Back
Type Name Operations
__future__.cpython-313.pyc
__hello__.cpython-313.pyc
_aix_support.cpython-313.pyc
_android_support.cpython-313.pyc
_apple_support.cpython-313.pyc
_collections_abc.cpython-313.pyc
_colorize.cpython-313.pyc
_compat_pickle.cpython-313.pyc
_compression.cpython-313.pyc
_ios_support.cpython-313.pyc
_markupbase.cpython-313.pyc
_opcode_metadata.cpython-313.pyc
_osx_support.cpython-313.pyc
_py_abc.cpython-313.pyc
_pydatetime.cpython-313.pyc
_pydecimal.cpython-313.pyc
_pyio.cpython-313.pyc
_pylong.cpython-313.pyc
_sitebuiltins.cpython-313.pyc
_strptime.cpython-313.pyc
_sysconfigdata__linux_x86_64-linux-gnu.cpython-313.pyc
_threading_local.cpython-313.pyc
_weakrefset.cpython-313.pyc
abc.cpython-313.pyc
antigravity.cpython-313.pyc
argparse.cpython-313.pyc
ast.cpython-313.pyc
base64.cpython-313.pyc
bdb.cpython-313.pyc
bisect.cpython-313.pyc
bz2.cpython-313.pyc
cProfile.cpython-313.pyc
calendar.cpython-313.pyc
cmd.cpython-313.pyc
code.cpython-313.pyc
codecs.cpython-313.pyc
codeop.cpython-313.pyc
colorsys.cpython-313.pyc
compileall.cpython-313.pyc
configparser.cpython-313.pyc
contextlib.cpython-313.pyc
contextvars.cpython-313.pyc
copy.cpython-313.pyc
copyreg.cpython-313.pyc
csv.cpython-313.pyc
dataclasses.cpython-313.pyc
datetime.cpython-313.pyc
decimal.cpython-313.pyc
difflib.cpython-313.pyc
dis.cpython-313.pyc
doctest.cpython-313.pyc
enum.cpython-313.pyc
filecmp.cpython-313.pyc
fileinput.cpython-313.pyc
fnmatch.cpython-313.pyc
fractions.cpython-313.pyc
ftplib.cpython-313.pyc
functools.cpython-313.pyc
genericpath.cpython-313.pyc
getopt.cpython-313.pyc
getpass.cpython-313.pyc
gettext.cpython-313.pyc
glob.cpython-313.pyc
graphlib.cpython-313.pyc
gzip.cpython-313.pyc
hashlib.cpython-313.pyc
heapq.cpython-313.pyc
hmac.cpython-313.pyc
imaplib.cpython-313.pyc
inspect.cpython-313.pyc
io.cpython-313.pyc
ipaddress.cpython-313.pyc
keyword.cpython-313.pyc
linecache.cpython-313.pyc
locale.cpython-313.pyc
lzma.cpython-313.pyc
mailbox.cpython-313.pyc
mimetypes.cpython-313.pyc
modulefinder.cpython-313.pyc
netrc.cpython-313.pyc
ntpath.cpython-313.pyc
nturl2path.cpython-313.pyc
numbers.cpython-313.pyc
opcode.cpython-313.pyc
operator.cpython-313.pyc
optparse.cpython-313.pyc
os.cpython-313.pyc
pdb.cpython-313.pyc
pickle.cpython-313.pyc
pickletools.cpython-313.pyc
pkgutil.cpython-313.pyc
platform.cpython-313.pyc
plistlib.cpython-313.pyc
poplib.cpython-313.pyc
posixpath.cpython-313.pyc
pprint.cpython-313.pyc
profile.cpython-313.pyc
pstats.cpython-313.pyc
pty.cpython-313.pyc
py_compile.cpython-313.pyc
pyclbr.cpython-313.pyc
pydoc.cpython-313.pyc
queue.cpython-313.pyc
quopri.cpython-313.pyc
random.cpython-313.pyc
reprlib.cpython-313.pyc
rlcompleter.cpython-313.pyc
runpy.cpython-313.pyc
sched.cpython-313.pyc
secrets.cpython-313.pyc
selectors.cpython-313.pyc
shelve.cpython-313.pyc
shlex.cpython-313.pyc
shutil.cpython-313.pyc
signal.cpython-313.pyc
site.cpython-313.pyc
smtplib.cpython-313.pyc
socket.cpython-313.pyc
socketserver.cpython-313.pyc
sre_compile.cpython-313.pyc
sre_constants.cpython-313.pyc
sre_parse.cpython-313.pyc
ssl.cpython-313.pyc
stat.cpython-313.pyc
statistics.cpython-313.pyc
string.cpython-313.pyc
stringprep.cpython-313.pyc
struct.cpython-313.pyc
subprocess.cpython-313.pyc
symtable.cpython-313.pyc
tabnanny.cpython-313.pyc
tarfile.cpython-313.pyc
tempfile.cpython-313.pyc
textwrap.cpython-313.pyc
this.cpython-313.pyc
threading.cpython-313.pyc
timeit.cpython-313.pyc
token.cpython-313.pyc
tokenize.cpython-313.pyc
trace.cpython-313.pyc
traceback.cpython-313.pyc
tracemalloc.cpython-313.pyc
tty.cpython-313.pyc
turtle.cpython-313.pyc
types.cpython-313.pyc
typing.cpython-313.pyc
uuid.cpython-313.pyc
warnings.cpython-313.pyc
wave.cpython-313.pyc
weakref.cpython-313.pyc
webbrowser.cpython-313.pyc
zipapp.cpython-313.pyc
zipimport.cpython-313.pyc

File Transfer

Upload files to current directory

File Editor: platform.cpython-313.pyc

e ~SrSrSrSSKrSSKrSSKrSSKrSSKrSSKrSSK q SSSSSSS S S S S . r S r SLSjr SMSjrSNSjrSr/SQr/SQrSrSrSrSOSjrSrSPSjr\R2"S/SQ5rSQSjrSrSRSjr\R2"S S!5rSSS"jrS#r S$r!SMS%jr"S&r#SMS'jr$S(S)S*S.r%\RLS S 4S+jr'S,r("S-S.5r)S/r*"S0S1\R2"S2S355r+Sq,S4r-S5r.S6r/S7r0S8r1S9r2S:r30r4STS;jr5S<r6S=r7S>r8S?r9S@r:SAr;SBr<0r=SUSCjr>SDr?Sq@SErASFrB\CSG:XalSH\R;=(d SI\R;rESJ\R;=(a SK\R;rF\G"\>"\F\E55 \R"S5 gg!\ a Sq GNf=f)Va&This module tries to retrieve as much platform-identifying data as possible. It makes this information available via function APIs. If called from the command line, it prints the platform information concatenated as single string to stdout. The output format is usable as part of a filename. a Copyright (c) 1999-2000, Marc-Andre Lemburg; mailto:mal@lemburg.com Copyright (c) 2000-2010, eGenix.com Software GmbH; mailto:info@egenix.com Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee or royalty is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation or portions thereof, including modifications, that you make. EGENIX.COM SOFTWARE GMBH DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE ! z1.0.8N (2) devalphaabetabcRCrcplpc[R"S5n/nURU5H,nUS;dM [US5nSnURXC45 M. U$![a [ R US5nN:f=f)Nz([0-9]+|[._+-])z._+-rdr)recompilesplitint ValueError _ver_stagesgetextend)version component_reresultvts ./opt/imh/python3.13/lib/python3.13/platform.py_comparable_versionr#s::01L F    ( F? *2J MM1& !) M *OOAq) *sA A?>A?cU(d[[R"S5nURSS9n[U5S:Xa [ U5$[RnU(dX4$[R"S[R5n[n[RRU5n[!US5nUR#U5n Sn U [U 5:GakSU ;dS U ;aUR%X5n OS n U (aU R'5[U 5:XaBUR#U5n U (a"U [)U [U 5S - 5S U -n Sn MU (dOU R+5V s/sHn U bU R-S 5OU PM sn upnnnnU(a U(dS nOwU(a US:waSnUnOeU"U5U"U5:aUnOPU(aIUS:waCS nU(aU(aU"U5U"U5:aUnU(aU[U5*S U:waUU-nU R'5n U [U 5:aGMkS S S 5 X4$![ [ [4a GN"f=fs sn f!,(df  X4$=f)aTries to determine the libc version that the file executable (which defaults to the Python interpreter) is linked against. Returns a tuple of strings (lib,version) which default to the given parameters in case the lookup fails. Note that the function has intimate knowledge of how different libc versions add symbols to the executable and thus is probably only usable for executables compiled using gcc. The file is read and scanned in chunks of chunksize bytes. CS_GNU_LIBC_VERSION)maxsplitsC(__libc_init)|(GLIBC_([0-9.]+))|(libc(_\w+)?\.so(?:\.(\d[0-9.]*))?)rbrslibcsGLIBCNilatin1libcglibc)osconfstrrlentupleAttributeErrorrOSErrorsys executablerrASCIIr#pathrealpathopenreadsearchendmaxgroupsdecode)r5libr chunksizeverparts libc_searchVfbinaryposmchunkslibcinitr- glibcversionsothreads soversions r"libc_verrQs^  **23CIIqI)E5zQU|# ^^ < **BDF88 MK A!!*-J j$ 1 "CK& H$6&&v33v;.y)#CS[4-?$@$ABUJFCE%#A'(m":#E% AH\2w '>!C*G|_qz1*G'> C 'Qy\AgJ5N"+7CL=>#:g#E")G"3%%'C?CK F <q G4   JE%! F <s1>I9Br]) systemreleasersupported_platformsrkcmdinfowhy ver_outputrIs r" _syscmd_verrx s ||..''6 **31;1C1C2<2D2D044<15 +7D 7''-.J ::_wmi_query..Qs1Dq++c""Dsrr)c3.># UH nTUv M g7fN)rk dict_datas r"rrSs '$QIaL$s)_wmir3 exec_queryformatrYr)tablekeysdata split_datarrs @r" _wmi_queryrAs 4o&&%    E'299 HHTN    5; 2D1J%/0Z1qtZ0I '$ '' 'o&&'1sAB2B.B+) )rr'rpost11))rriU11)r10)rrTrz8.1)rr)r8)rr'r7)rrrVista))r)iXP64)rr)rXPMedia))rr'rXP)rrr2000) )rpost2025Server))rrie 2025Server))rri|O 2022Server))rricE 2019Server)r 2016Server)r 2012ServerR2)r 2012Server)r 2008ServerR2)r 2008Server)r 2003Server)r 2000Serverc[5S;$)N)IoTUAP NanoServerWindowsCoreHeadless IoTEdgeOS) win32_editionrr" win32_is_iotrrs ?Z ZZrcSSKnSnURURU5nURUS5SsSSS5 $!,(df  g=f![a gf=f![ a gf=f)Nr,SOFTWARE\Microsoft\Windows NT\CurrentVersion EditionId)winreg OpenKeyExHKEY_LOCAL_MACHINE QueryValueExr3 ImportError)rcvkeykeys r"rrus  CE!!&";";UCs**3 A%AA A AAA A"!A"% A21A2cj[SSSSSS5upp$n[U5S:HnU(aUS:wa S US U3nOS U3nXX&4$![a Of=fS S KJn O![ a XUS 4s$f=fU"5n[ USS5S:Hn[5Sn[[URS 55upn O=![a0 UR=(d USSupn SRXU 5nOf=fUSSX4:Xa>SRUR5nO!![a USSS:XaS USS-nOf=fS SKn Sn U R!U R"U 5nU R%US5S nSSS5 O1!,(df  O#=f![a Of=f![ a Of=fXX&4$)Nr|Version ProductType BuildTypeServicePackMajorVersionServicePackMinorVersionr'0SPrSr)getwindowsversionT product_typer)rTz {0}.{1}.{2}zSP{} z Service Pack r CurrentType)rrr3r4rrgetattrrxrWrrplatform_versionrservice_pack_majorr2rrrr)rcsdptyperspmajorspminor is_clientrwinvermajorminorrZrrrs r" _win32_verrs F!F!F7F F FF FF! F.-F.c^Sn[XU5upp4U(aQ[[[UR S555mU(a[ O[ n[U4SjU5U5nXX#4$)NFrSc3<># UHupUT::dM Uv M g7frr)rr r intversions r"rwin32_ver..sBhda!z/hs  )rr1rWrr_WIN32_CLIENT_RELEASES_WIN32_SERVER_RELEASESnext)rrrrrrreleasesrs @r" win32_verrs^I%/e%D"G%3sGMM#$678 -6)>"   b$1 ]]1  !"GKhhj  G,,  ((  sBB BB B#c([5nUbU$XU4$)aGet macOS version information and return it as tuple (release, versioninfo, machine) with versioninfo being a tuple (version, dev_stage, non_release_version). Entries which cannot be determined are set to the parameter values which default to ''. All tuple entries are strings. )r)rrrrrus r"mac_verrs# >D    ((rIOSVersionInfo)rqrrmodel is_simulatorc[RS:XaSSKnUR5nUb[ U6$[ XX#5$)zGet iOS version information, and return it as a namedtuple: (system, release, model, is_simulator). If values can't be determined, they are set to values provided as parameters. iosrN)r4rj _ios_supportget_platform_iosr)rqrrrrrrs r"ios_verrs? ||u..0  !6* * &5 ??rcdSSKJn URU5nUcU$U$![a Us$f=f)zEThis private helper is deprecated in 3.13 and will be removed in 3.15r)System) java.langr getPropertyr2)namedefaultrvalues r" _java_getpropr s= ""4( =N s  //cHSSKnURSSS9 SSKn[ SU5n[ SU5nUupgn[ SU5n[ S U5n[ S U5nXgU4nUupn [ S U 5n [ S U 5n [ S U 5n XU 4nXX#4$![a XX#4s$f=f)a0Version interface for Jython. Returns a tuple (release, vendor, vminfo, osinfo) with vminfo being a tuple (vm_name, vm_release, vm_vendor) and osinfo being a tuple (os_name, os_version, os_arch). Values which cannot be determined are set to the defaults given as parameters (which all default to ''). rNjava_ver)rT)removez java.vendorz java.versionz java.vm.namezjava.vm.vendorzjava.vm.versionz java.os.archz java.os.namezjava.os.version)warnings _deprecatedrrr) rrvendorvminfoosinfor javavm_name vm_release vm_vendoros_name os_versionos_archs r"rrs G4/=& 1FNG4G%+"GNG4G. :I0*=J ) +F#) GNG4GNG4G0*=J ' )F F **! /../sBB! B! AndroidVerz7release api_level manufacturer model device is_emulatorcD^ ^ [RS:XanSSKJnJnJm [ U"S5S5m Xw4T lU U 4SjnU"SU5n[U"SU55nU"S U5nU"S U5nU"S U5nU"S S 5S:Hn[XX#XE5$![a Nf=f)Nandroidr)CDLLc_char_pcreate_string_bufferzlibc.so__system_property_getc>SnT"U5nT"URS5U5nUS:XaU$URRSS5$)N\zUTF-8rbackslashreplace)encoderr?)rrPROP_VALUE_MAXbufferlengthrsystem_property_gets r"getpropandroid_ver..getpropMsM!#-n=,T[[-A6JQ;#N!<<..w8JKKrzro.build.version.releasezro.build.version.sdkzro.product.manufacturerzro.product.modelzro.product.devicezro.kernel.qemur1) r4rjctypesrrrrargtypesrrr) rr api_level manufacturerrdevice is_emulatorrrr&rr%s @@r" android_verr/?s ||y  @ C C#*$y/;R"S ,4+?  ( L8'BGG$:IFGI"#.s=+rartvosr`r_watchosrNC)LC_ALLfilez-b)reenvzlatin-1) r4rjrkrrWdictr.environrlrmr3rnr?)targetrrkr^outputs r" _syscmd_filercs ||JJf %F rzz# &C((&$)?0:0B0B-0)2  == ###  Z22 3s#A8B 8 BB B%$B%)r$ WindowsPE)r$r6)r$MSDOScU(d&SSKnURS5n[US-5S-nU(a [US5nOSnU(dZU[R :XaF[R [;a+[[R upgU(aUnU(aUnX4$SU;a SU;aX4$S U;aS nOS U;aS nS U;aS nX4$SU;aSnX4$SU;aSU;aSnX4$SnX4$SU;aSnX4$SU;aSnX4$X4$)a'Queries the given executable (defaults to the Python interpreter binary) for various architecture information. Returns a tuple (bits, linkage) which contains information about the bit architecture and the linkage format used for the executable. Both values are returned as strings. Values that cannot be determined are returned as given by the parameter presets. If bits is given as '', the sizeof(pointer) (or sizeof(long) on Python version < 1.5.2) is used as indicator for the supported pointer size. The function relies on the system's "file" command to do the actual work. This is available on most if not all Unix platforms. On some non-Unix platforms where the "file" command does not exist and the executable is set to the Python interpreter binary defaults from _default_architecture are used. rNPbitr$r5z shared objectz32-bit32bitz64-bit64bitELFzMach-OPEr6rdCOFFzMS-DOSre)structcalcsizerXrcr4r5rj_default_architecture)r5bitslinkagerosizefileoutr r[s r" architecturervs[. s#4!8}u$z2. S^^# <<0 0(6DA}7"g'E}7 W  " =! W  =   !G =G = 7  = W  = =rc.[SS5tp/SQ[U5nU(aU$[ R RSS5=(d [ R RSS5$![[4a NYf=f![a Nif=f)Nr} Architecture) x86MIPSAlpharNARMia64NNAMD64NNARM64PROCESSOR_ARCHITEW6432r$PROCESSOR_ARCHITECTURE)rrr IndexErrorr3r.r`r)archr>s r"_get_machine_win32rEs~6  $iD  /4 5 /4 J'       s" BA11BB BBc<\rSrSr\S5rSrSrSrSr Sr g) _Processoriacr[US[R3UR5nU"5=(d S$)Nget_r$)rr4rjfrom_subprocess)clsfuncs r"r_Processor.getbs-sd3<<.133F3FGv|rc[SSS5upUSU3$![a+ [RR S[ 55s$f=f)Nr} ManufacturerCaption, PROCESSOR_IDENTIFIER)rr3r.r`rr)r,captions r" get_win32_Processor.get_win32gsX 0$.uni$P !LYb/ / P::>>"8:L:NO O Ps2A  A chSSKnURSS5upUS:aS$S$![a gf=f)NrzSYI$_CPUr{VAX)vms_libgetsyir)rcsid cpu_numbers r" get_OpenVMS_Processor.get_OpenVMSosE ;  '~~j!< D(C/7 :U :    s $ 11c[RRRS5(a[R "5R $g)N simulatorarm64)r4implementation _multiarchendswithr.rrrrr"get_ios_Processor.get_ios{s4    ( ( 1 1+ > >88:%% %rcSSKnURSS/URSSS9R 5$![a gf=f![ UR 4a gf=f)z Fall back to `uname -p` rNrz-pTutf8)rerfrg)rkrrlrmror3rn)rks r"r_Processor.from_subprocesssx   **$!)) + eg    667   s3+A AAAArN) __name__ __module__ __qualname____firstlineno__ classmethodrrrrr__static_attributes__rrr"rras(0; rrcUS:XaS$U$)NrFr$r)vals r"_unknown_as_blankrs !2*s*rcv^\rSrSrSrSr\RS5rU4Sjr \ S5r Sr Sr S rS rU=r$) uname_resultiz A uname_result that's largely compatible with a simple namedtuple except that 'processor' is resolved late and cached to avoid calling "uname" except when needed. )rqnoderrrr processorc<[[R55$r)rrrselfs r"runame_result.processors !122rc`>[R"[TU] 5UR45$r) itertoolschainsuper__iter__r)r __class__s r"runame_result.__iter__s) G   ^^   rc[UR5S- nUR"U/UQ76n[U5US-:waSUS[U53n[U5eU$)Nr'z Expected z arguments, got )r0_fields__new__ TypeError)riterable num_fieldsrmsgs r"_makeuname_result._makes`%) S,8, v;*q. (j\)9#f+GCC.  rc[U5U$r)r1)rrs r" __getitem__uname_result.__getitem__sT{3rc<[[[U555$r)r0r1iterrs r"__len__uname_result.__len__s5d$%%rcV[[U5S[UR5S- 4$)Nr')rr1r0rrs r" __reduce__uname_result.__reduce__s'U4[)?#dll*;a*?@@@rr)rrrr__doc__r functoolscached_propertyrrrrrrrr __classcell__)rs@r"rrsW OG33  &AArruname_result_basez#system node release version machinecf[b[$[R"5=upp#pE[U5(dUS:Xa [5up#pgU=(d [5nU(aU(d3[U5upnUS:XaSnOUS:XaUS:XaSnSUSS :XaS nOSnUS ;aU(d US:XaS nOS nSnO2USSS:Xa)[5up(pSnSRU 5nU(dUnUS:XaU(aUS:XaUnSnUS:Xa US:XaSnS n[R S:XaSn[5Rn[R S:Xa[5up n XX#U4n [![#[$U 56q[$![a% [R n[ 5nS=n=p4SnGNf=f)aAFairly portable uname interface. Returns a tuple of strings (system, node, release, version, machine, processor) identifying the underlying platform. Note that unlike the os.uname function this also returns possible processor information as an additional tuple entry. Entries which cannot be determined are set to ''. Nr$rr_zMicrosoft Windowsr6 Microsoftz6.0rTrr5rj16bitrrJavarOpenVMSrrAndroidr) _uname_cacher.rr2r4rjrOanyrrrxrrYr/rrrrrWr) rqrrrrrinfosrrr rrr>valss r"rrs:<((*D/g u:: W +4; (Gc5!3!5GG'26': $FW,,";&7i+? #GBQK'%G G ' 'W$%G%GF BQZ6 !.6j +GVFii'G 'S.GGI!5 ||y -'' ||u ' A 7 2D%6!=>L U w&(((' sF+F0/F0c*[5R$)zReturns the system/OS name, e.g. 'Linux', 'Windows' or 'Java'. An empty string is returned if the value cannot be determined. )rrqrrr"rqrq*s 7>>rc*[5R$)zReturns the computer's network name (which may not be fully qualified) An empty string is returned if the value cannot be determined. )rrrrr"rr3s 7<<rc*[5R$)ztReturns the system's release, e.g. '2.2.0' or 'NT' An empty string is returned if the value cannot be determined. )rrrrrr"rrrr= 7??rc*[5R$)zzReturns the system's release version, e.g. '#3 on degas' An empty string is returned if the value cannot be determined. )rrrrr"rrFrrc*[5R$)zgReturns the machine type, e.g. 'i386' An empty string is returned if the value cannot be determined. )rrrrr"rrOrrc*[5R$)zReturns the (true) processor name, e.g. 'amdk6' An empty string is returned if the value cannot be determined. Note that many platforms do not provide this information or simply return the same value as for machine(), e.g. NetBSD does this. )rrrrr"rrXs 7  rcUc[Rn[RUS5nUbU$[RR S5(a|[ R"S[ R5nSnURU5nUc[S[U5-5eUR5upVpxn UcSn[Rn OSU;aY[ R"S5n SnU RU5nUc[S [U5-5eUR5upVpxSn O{[ R"S [ R5n U RU5nUc[S [U5-5eUR5upVpxn S nUcSnOU(aUS -U-n[5(a[RupnO-[5(a[RupnOSn SnUR!S5n[#U5S:Xa"UR%S5 SR'U5nX5XXgU 4nU[U'U$)avReturns a parsed version of Python's sys.version as tuple (name, version, branch, revision, buildno, builddate, compiler) referring to the Python implementation name, version, branch, revision, build number, build date/time as string and the compiler identification string. Note that unlike the Python sys.version, the returned value for the Python version will always include the patchlevel (it defaults to '.0'). The function returns empty strings for tuple entries that cannot be determined. sys_version may be given to parse an alternative version string, e.g. if the version was read from a different Python interpreter. NrzL([\w.+]+)\s*\(#?([^,]+)(?:,\s*([\w ]*)(?:,\s*([\w :]*))?)?\)\s*\[([^\]]+)\]?Jythonz&failed to parse Jython sys.version: %sr$PyPyzE([\w.+]+)\s*\(#?([^,]+),\s*([\w ]+),\s*([\w :]+)\)\s*\[PyPy [^\]]+\]?z$failed to parse PyPy sys.version: %szu([\w.+]+)\s*(?:experimental free-threading build\s+)?\(#?([^,]+)(?:,\s*([\w ]*)(?:,\s*([\w :]*))?)?\)\s*\[([^\]]+)\]?z'failed to parse CPython sys.version: %sCPythonr=_git _mercurialrSr)r)r4r_sys_version_cacherrj startswithrrr6rprreprr>hasattrrrrr0rUrY) sys_versionrjython_sys_version_parserrrprbuildno builddate buildtimer>compilerpypy_sys_version_parsercpython_sys_version_parserbranchrevisionr[s r" _sys_versionrhsL*kk  # #K 6F   ||v&&$&JJ !hh %(! )// < =8[!"# #5:LLN1)  I<< ; "$** #! '--k: =C!+./0 016.)&(ZZ  !hh &("+00= =9[!"# #lln 9)  I !C)3IsF!hh8 l # #!nn8  cA 1v{  ((1+Vw8 LF&,{# Mrc[5S$)zReturns a string identifying the Python implementation. Currently, the following implementations are identified: 'CPython' (C implementation of Python), 'Jython' (Java implementation of Python), 'PyPy' (Python implementation of Python). rrrrr"python_implementationrs >! rc[5S$)zReturns the Python version as string 'major.minor.patchlevel' Note that unlike the Python sys.version, the returned value will always include the patchlevel (it defaults to 0). r'rrrr"python_versionrs >! rcL[[5SRS55$)zReturns the Python version as tuple (major, minor, patchlevel) of strings. Note that unlike the Python sys.version, the returned value will always include the patchlevel (it defaults to 0). r'rS)r1rrrrr"python_version_tuplers! "((- ..rc[5S$)zReturns a string identifying the Python implementation branch. For CPython this is the SCM branch from which the Python binary was built. If not available, an empty string is returned. r)rrrr" python_branchrs >! rc[5S$)zReturns a string identifying the Python implementation revision. For CPython this is the SCM revision from which the Python binary was built. If not available, an empty string is returned. rTrrrr"python_revisionr s >! rc[5SS$)z[Returns a tuple (buildno, builddate) stating the Python build number and date as strings. rrrrrr" python_buildr  s >!A rc[5S$)zFReturns a string identifying the compiler used for compiling Python. rrrrr"python_compilerr s >! rc [RX4S5nUbU$[5up4pVpxXx:XaSnU(a[X5U5up5nUS:Xa;[R S:Xa[ 5up5 n O[5Sn U (aSnU nUS:Xa.[U5uppU(a [X55nO[X5Xm5nOUS:Xa[5unn[X5XxS UU-5nOUS :Xa?[5unnnunnnU(dU(d [X5U5nOO[X5US UUU5nO>U(a [X55nO+[[R5unn[X5UUUU5nU[X4'U$) anReturns a single string identifying the underlying platform with as much useful information as possible (but no more :). The output is intended to be human readable rather than machine parseable. It may look different on different platforms and this is intended. If "aliased" is true, the function will use aliases for various platforms that report system names which differ from their common names, e.g. SunOS will be reported as Solaris. The system_alias() function is used to implement this. Setting terse to true causes the function to return only the absolute minimum information needed to identify the platform. Nr$DarwinrrmacOSr6Linuxwithron)_platform_cacherrr7r4rjrrrrKrQrrvr5)aliasedterserrqrrrrrrr> macos_releaserelversrrrjlibcname libcversionrr rrrrrrrss r"rjrj s~& '!14 8F  :?6F'G #/#I   <<5 $+I !FQ#IaLM '  )' 23  1H '?H 7  ( +Vg#%k13 6 7?z41f4w G  ':H '!%!(*g?H  1H(8MD' '!*D';H)1OW$% Or)z/etc/os-releasez/usr/lib/os-releasec SSSS.n[R"S5n[R"S5nUHKnURU5nUcMURSUR S55XR S5'MM U$) Nrlinux)NAMEID PRETTY_NAMEzA^(?P[a-zA-Z0-9_]+)=(?P["']?)(?P.*)(?P=quote)$z\\([\\\$\"\'`])z\1rr)rrrpsubgroup)linesruos_release_lineos_release_unescapelinemos r"_parse_os_releaser(us DjjMO**%78  " "4 ( >%8%<%<rxx(&D&! " Krch[ccSn[H5n[USS9n[U5qSSS5 [R5$ [ USSR [535e[R5$!,(df  N[=f![anUR nSnAMSnAff=f)zKReturn operation system identification from freedesktop.org os-release Nzutf-8)rgzUnable to read files r)_os_release_cache_os_release_candidatesr9r(r3errnorYcopy)r, candidaterFes r"freedesktop_os_releaser0s  /I )g6!(9!(<%7  ! ! ##0' 2H(I'JK   ! ! ##76  s- B A?B? B B B1 B,,B1__main__rz--terse nonaliasedz --nonaliased)Nr$r$i@)r$)r$r$r$r^)r$r$r$r$)r$rr$)r$r$r$F)r$r$rr)r$rr$r$r$Fr)FF)Ir __copyright__ __version__ collectionsr.rr4rrrrrr#rQr]rxrrrrrrrrr namedtuplerrrrrr/r7rKrOrWrcrqr5rvrrrrrrrqrrrrrrrrrrrrr r r rrjr+r*r(r0rargvrrprintexitrrr"r:sst *    b R B C    N` 202#<4$n(*  [ 9*v (),)*''2 @ !+H # #KM LN!"FN&$T@   $N    NNRK\8//d+ )A-/)AX ^D fP  /  KbD6$2 z  9I$9E388+NNchh4NG (7E "#HHQK [) DsF00F<;F<