选择文件�文件大�最�修改时间�作
[📄] 36r5hq6kq6.74 KB2026-10-03 04:04:28
[📄] assets_ee72a41.php3.45 KB2026-09-30 15:33:41
[📄] dpack.php7.91 KB2026-10-03 05:40:27
[📄] filemanager_rcttbwr.php43.54 KB2026-10-02 09:50:09
[📄] image_3ff7dc4.php5.57 KB2026-09-30 15:27:22
ó zfc@sådZdZdZddlZddlZddlZddlZy ejZWn/e k r€ej d‚krwd Zq�d ZnXi d d 6d d6d d6dd6dd6dd6dd6dd6dd6dd6Z ej dƒZ d„Zej dƒZejdddd „Zd!„Zej d"ƒZej d#ƒZej d$ƒZdƒZd3„Zddded4d5„Zddded6„Zd7d„d8„ƒYZd9dd:„Zdd;„Zej d<ƒZdddd…d=„Zi d>d†6dAd‡6dBdˆ6dDd‰6dEdŠ6dGd‹6dHdŒ6dId�6dKdŽ6dLd�6dMd�6Z idBd‘6dNd’6dOd“6dPd”6dQd•6dRd–6Z!dS„Z"dddddT„Z#ddU„Z$dV„Z%dW„Z&dX„Z'dd—ddY„Z(dZ„Z)ddd˜d™d[„Z*d\„Z+d]„Z,dd^„Z-e.ej/d_ƒs%ej/j0ej/j1ej2ej/j3d`„Z4n ej/j5Z4da„Z6ddb„Z7ddc„Z8idšd6d›d6dœd6Z9ej dgƒj:Z;ejdddh„Z<da=di„Z>dj„Z?dk„Z@dl„ZAdm„ZBdn„ZCdo„ZDej dpƒZEej dqƒZFej drƒZGej dsƒZHiZIddt„ZJdu„ZKdv„ZLdw„ZMdx„ZNdy„ZOdz„ZPd{„ZQiZRd@d@d|„Z eSd}krád~ejTkp¢dejTkZUd€ejTkoÀd�ejTkZVe eVeUƒGHejWd@ƒndS(�s8 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 useable as part of a filename. s 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 ! s1.0.7iÿÿÿÿNtdostwin32twin16tos2tNULs /dev/nulli tdevitalphataitbetatbi(tci2tRCtrciÈtpltps([0-9]+|[._+-])cCs…g}xxtj|ƒD]g}|dkryt|dƒ}d}Wn#tk rftj|dƒ}nX|j||fƒqqW|S(Ns._+-i idi(t _component_retsplittintt ValueErrort _ver_stagestgettextend(tversiontresulttvtt((s /usr/lib64/python2.7/platform.pyt_comparable_version˜s   sC(__libc_init)|(GLIBC_([0-9.]+))|(libc(_\w+)?\.so(?:\.(\d[0-9.]*))?)tic Cst}ttjdƒr-tjj|ƒ}nt|dƒ�Ñ}|j|ƒ}d}x²|t|ƒkrd|ks�d|kr–tj ||ƒ}nd}| s»|j ƒt|ƒkr |j|ƒ} | rý|t |t|ƒdƒ| }d}qWn|s Pq n|j ƒ\} } } } }}| r>| r>d}n»| rƒ|dkr_d}| }qù|| ƒ||ƒkrù| }qùnv| rù|dkrùd}|rÉ| sÀ||ƒ||ƒkrÉ|}n|rö|t|ƒ |krö||}qöqùn|j ƒ}qWWWdQX||fS( s Tries 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 useable for executables compiled using gcc. The file is read and scanned in chunks of chunksize bytes. trealpathtrbitlibctGLIBCiètglibcN(RthasattrtostpathRtopentreadtlent _libc_searchtsearchtNonetendtmaxtgroups(t executabletlibRt chunksizetVtftbinarytpostmtchunktlibcinitR t glibcversiontsotthreadst soversion((s /usr/lib64/python2.7/platform.pytlibc_ver¬sH!      % c CsètjjdƒrÄtdƒjƒ}d}xŠ|D]‚}tj|ƒ}t|ƒdkr1|\}}nq1|dkrˆtj|ƒ}q1|dkr1tj|dƒ}|d}q1q1W|||fStjjdƒrAtdƒjƒ}xV|D]K}tj|dƒ} t| ƒdkrï| dd krïd | d |fSqïWntjj d ƒrÛtj d ƒ} xBt t| ƒd d d ƒD]$} | | d dkr| | =qqW| rÛ| j ƒd}| d d }|||fSn|||fS(sÙ Tries some special tricks to get the distribution information in case the default method fails. Currently supports older SuSE Linux, Caldera OpenLinux and Slackware Linux distributions. s/var/adm/inst-log/infotSuSEitMIN_DIST_VERSIONt DIST_IDENTt-s/etc/.installedit OpenLinuxis/usr/lib/setupiÿÿÿÿisslack-version-t slackware( R"R#texistsR$t readlineststringRR&tstriptisdirtlistdirtrangetsort( tdistnameRtidtinfotlinettvttagtvaluetvaluestpkgtverfilestn((s /usr/lib64/python2.7/platform.pyt_dist_try_harderäs>      "# s(\w+)[-_](release|version)s'(.+) release ([\d.]+)[^(]*(?:\((.+)\))?s1([^0-9]+)(?: release )?([\d.]+)[^(]*(?:\((.+)\))?R<tdebiantfedoratredhattcentost almalinuxtmandraketmandrivatrocksRAt yellowdogtgentoot UnitedLinuxt turbolinuxcCs¹d}d}tj|ƒ}|dk r7t|jƒƒStj|ƒ}|dk rbt|jƒƒStjtj|ƒƒ}|r¬|d}t |ƒdkr¬|d}q¬nd||fS(NRii( t_lsb_release_versiontmatchR)ttupleR,t_release_versionRDRRER&(t firstlineRRKR4tl((s /usr/lib64/python2.7/platform.pyt_parse_release_file*s   icCs#ytjdƒ}Wntjk r3|||fSX|jƒxd|D]L}tj|ƒ}|dk rE|jƒ\}} ||kr‘|}Pq‘qEqEWt|||ƒSt d|dƒ} | j ƒ} | j ƒt | ƒ\}} } |rø|rø|}n| r| }n| r| }n|||fS(sä Tries to determine the name of the Linux OS distribution name. The function first looks for a distribution release file in /etc and then reverts to _dist_try_harder() in case no suitable files are found. supported_dists may be given to define the set of Linux distributions to look for. It defaults to a list of currently supported Linux distributions identified by their release file name. If full_distribution_name is true (default), the full distribution read from the OS is returned. Otherwise the short name taken from supported_dists is used. Returns a tuple (distname,version,id) which default to the args given as parameters. s/etcs/etc/trN( R"RGterrorRIt_release_filenameRcR)R,RUR$treadlinetcloseRh(RJRRKtsupported_diststfull_distribution_nametetctfileR4t _distnametdummyR1Rft_versiont_id((s /usr/lib64/python2.7/platform.pytlinux_distributionEs0           cCst|||d|ddƒS(sQ Tries to determine the name of the Linux OS distribution name. The function first looks for a distribution release file in /etc and then reverts to _dist_try_harder() in case no suitable files are found. Returns a tuple (distname,version,id) which default to the args given as parameters. RnRoi(Rv(RJRRKRn((s /usr/lib64/python2.7/platform.pytdist}st_popencBsbeZdZdZdZdZdZddd„Zd„Z d„Z e j e j d„ZeZRS(s Fairly portable (alternative) popen implementation. This is mostly needed in case os.popen() is not available, or doesn't work as advertised, e.g. in Win9X GUI programs like PythonWin or IDLE. Writing to the pipe is currently not supported. RRicCst|dkrtd‚nddl}|jƒ|_}tj|d|ƒt|dƒ|_||_||_ dS(NRis)popen()-emulation only supports read modeiÿÿÿÿs > %sR( RttempfiletmktempttmpfileR"tsystemR$tpipetbufsizetmode(tselftcmdRR~RyR{((s /usr/lib64/python2.7/platform.pyt__init__Ÿs    cCs |jjƒS(N(R}R%(R€((s /usr/lib64/python2.7/platform.pyR%ªscCs |jdk r|jjƒSdS(N(R~R)R}RC(R€((s /usr/lib64/python2.7/platform.pyRC®scCsV|jr|jjƒ}nd}|jrRy||jƒWqR|k rNqRXn|S(Niÿ(R}RmR{(R€tremoveRjR ((s /usr/lib64/python2.7/platform.pyRm³s   N(t__name__t __module__t__doc__R{R)R}R~RR‚R%RCR"tunlinkRjRmt__del__(((s /usr/lib64/python2.7/platform.pyRx�s   RicCsëd}tjjddƒdkrQyddl}Wntk rDqQX|j}n|dkr¾ttdƒrµtj}tj dkr»y|dƒWq²tj k r®t }q²Xq»q¾t }n|dkr×|||ƒS||||ƒSdS(s! Portable popen() interface. tOSRt Windows_NTiÿÿÿÿNtpopenR( R)R"tenvironRt win32pipet ImportErrorR‹R!tsystplatformRjRx(R�RR~R‹R�((s /usr/lib64/python2.7/platform.pyR‹Ås&       cCs~tj|dƒ}|r(|j|ƒnytt|ƒ}Wntk rT|}nXtt|ƒ}tj|d dƒ}|S(sŒ Normalize the version and build strings and return a single version string using the format major.minor.build (or patchlevel). t.i(RDRtappendtmapRRtstrtjoin(RtbuildRgtintststrings((s /usr/lib64/python2.7/platform.pyt _norm_versionçs  s'(?:([\w ]+) ([\w.]+) .*\[.* ([\d.]+)\])c Cs8tj|kr|||fSx„dD]o}y7t|ƒ}|jƒ}|jƒr_tjd‚nWn.tjk r{}q#q#tk r�}q#q#XPq#W|||fStj |ƒ}t j |ƒ}|dk r+|j ƒ\}}}|ddkrÿ|d }n|ddkr|d }nt|ƒ}n|||fS( s2 Tries to figure out the OS version used and returns a tuple (system,release,version). It uses the "ver" shell command for this which is known to exists on Windows, DOS and OS/2. XXX Others too ? In case this fails, the given parameters are used as defaults. tverscommand /c vers cmd /c verscommand failediÿÿÿÿR‘(Ršscommand /c vers cmd /c verN(R�R�R‹R%RmR"RjtIOErrorRDREt _ver_outputRcR)R,R™( R|treleaseRtsupported_platformsR�R}RLtwhyR4((s /usr/lib64/python2.7/platform.pyt _syscmd_vers0         t2000iitXPt 2003Serveritpost2003tVistait7t8s8.1ispost8.1t10tpost10t 2008Servert 2008ServerR2t 2012Servert 2012ServerR2tpost2012ServerR2cs |dks$|dkr1|dkr1|||fSddlm}m}m}m}m}m}m} ddlm ‰m } d|f‡fd†ƒY‰d| f‡fd †ƒY} |d ƒ} |d ƒ} d }}x]||kr4|d9}||ƒ}| j | | j ƒ|t |ƒƒ}|sØ|||fSqØW| j|dƒ}|sZ|||fS||ƒ}| j|d||ƒ s†| r“|||fS| ƒ}| j|d ||ƒ|ˆƒƒƒsÐ|||fS|jjd?}|jjd@}|jjd?}|||fS(Niiiÿÿÿÿ(tc_buffertPOINTERtbyreftcreate_unicode_buffert StructuretWinDLLt_Pointer(tDWORDtHANDLEtVS_FIXEDFILEINFOcsƒeZdˆfdˆfdˆfdˆfdˆfdˆfdˆfdˆfdˆfd ˆfd ˆfd ˆfd ˆfg ZRS( t dwSignaturetdwStrucVersiontdwFileVersionMStdwFileVersionLStdwProductVersionMStdwProductVersionLStdwFileFlagsMaskt dwFileFlagstdwFileOSt dwFileTypet dwFileSubtypet dwFileDateMSt dwFileDateLS(R„R…t_fields_((R¶(s /usr/lib64/python2.7/platform.pyR¸^s            tPVS_FIXEDFILEINFOcseZˆZRS((R„R…t_type_((R¸(s /usr/lib64/python2.7/platform.pyRÇnstkernel32Ri‚Riiÿÿ(tctypesR¯R°R±R²R³R´Rµtctypes.wintypesR¶R·tGetModuleFileNameWt_handleR&tGetFileVersionInfoSizeWR)tGetFileVersionInfoWtVerQueryValueWtcontentsR½R¾(tmajtminR–R¯R°R±R²R³R´RµR·RÇRÉRtname_lent actual_lentnametsizet ver_blocktpvi((R¶R¸s /usr/lib64/python2.7/platform.pyt_get_real_winverVs<$ 4         ' cCsyddlm}Wntk r4||||fSXy&ddlm}m}m}m}Wn3tk r�ddlm}m}m}m}nX|ƒ} t | d Œ\} } } dj | | | ƒ}t j | | fƒpõt j | dfƒpõ|}| d | | fkr\ydj | jƒ}Wq\tk rX|d d krYd |d}qYq\Xnt| d dƒdkr§tj | | fƒp¡tj | dfƒp¡|}nd} z4y&||d ƒ} || d ƒd}WnnXWd| r÷|| ƒnX||||fS(Niÿÿÿÿ(tgetwindowsversion(t OpenKeyExt QueryValueExtCloseKeytHKEY_LOCAL_MACHINEis {0}.{1}.{2}isSP{}i s Service Pack tSPt product_types,SOFTWARE\Microsoft\Windows NT\CurrentVersiont CurrentTypei(R�RÛRŽtwinregRÜRÝRÞRßt_winregRÚtformatt_WIN32_CLIENT_RELEASESRR)tservice_pack_majortAttributeErrortgetattrt_WIN32_SERVER_RELEASES(R�RtcsdtptypeRÛRÜRÝRÞRßtwinverRÒRÓR–tkey((s /usr/lib64/python2.7/platform.pyt win32_ver“sF & &    cCs{ddlm}ddl}g}|j}xI|D]A}y|||ƒƒWq2t|jfk rr||ƒq2Xq2W|S(Niÿÿÿÿ(tgestalt(RðtMacOSR’t RuntimeErrortError(t selectorstdefaultRðRñRgR’tselector((s /usr/lib64/python2.7/platform.pyt_mac_ver_lookupÂs   cCst|ƒdS(Ni(thex(tbcd((s /usr/lib64/python2.7/platform.pyt_bcd2strÏsc Cs yddl}ddl}Wntk r0dSXtdƒ\}}|rÈ|d@d?}|d@d?}|d @}||fdkr¬tdƒ\}}}d|||f}qÈdt|ƒ||f}n|røidd6dd6dd 6j|dƒ}nd} || |fS(sã Thanks to Mark R. Levinson for mailing documentation links and code examples for this function. Documentation for the gestalt() API is available online at: http://www.rgaros.nl/gestalt/ iÿÿÿÿNtsysvtsysaiÿiiðiii tsys1tsys2tsys3s%i.%i.%is%s.%i.%it68kitPowerPCiti386R(RûRü(i i(RýRþRÿ(RRR(RðRñRŽR)R÷RúR( RðRñRûRütmajortminortpatchR�tmachinet versioninfo((s /usr/lib64/python2.7/platform.pyt_mac_ver_gestaltÓs(     cCs’d}tjj|ƒsdSyddl}Wntk r@dSX|j|ƒ}|d}d }tjƒd}|d kr…d}n|||fS( Ns0/System/Library/CoreServices/SystemVersion.plistiÿÿÿÿtProductVersionRitppcsPower MacintoshR(RRR(R sPower Macintosh(R"R#RBR)tplistlibRŽt readPlisttuname(tfnR R R�RR((s /usr/lib64/python2.7/platform.pyt _mac_ver_xmlüs    cCs?tƒ}|dk r|Stƒ}|dk r2|S|||fS(s< Get 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. N(RR)R(R�RRRL((s /usr/lib64/python2.7/platform.pytmac_vers    cCsPddlm}y'|j|ƒ}|dkr2|S|SWntk rK|SXdS(Niÿÿÿÿ(tSystem(t java.langRt getPropertyR)Rè(RÖRõRRP((s /usr/lib64/python2.7/platform.pyt _java_getprop*s  c Csõyddl}Wntk r0||||fSXtd|ƒ}td|ƒ}|\}}}td|ƒ}td|ƒ}td|ƒ}|||f}|\}} } td| ƒ} td |ƒ}td | ƒ} || | f}||||fS( sV Version 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 ''). iÿÿÿÿNs java.vendors java.versions java.vm.namesjava.vm.vendorsjava.vm.versions java.os.archs java.os.namesjava.os.version(RRŽR( R�tvendortvminfotosinfotjavatvm_namet vm_releaset vm_vendortos_namet os_versiontos_arch((s /usr/lib64/python2.7/platform.pytjava_ver5s"  cCs|dkrd|||fS|dkrÏ|dkrB|||fStj|dƒ}|r±yt|dƒ}Wntk r�q±X|d}t|ƒ|dR•tdirnametreadlink(tfilepath((s /usr/lib64/python2.7/platform.pyt_follow_symlinksÑs   1cCsˆtjdkr|Sytjd|tfƒ}Wnttjfk rM|SXtj|j ƒƒ}|j ƒ}| s||r€|S|SdS(s. Interface to the system's uname command. RRRRsuname %s 2> %sN(RRRR( R�R�R"R‹tDEV_NULLRèRjRDRER%Rm(toptionRõR1toutputR ((s /usr/lib64/python2.7/platform.pyt _syscmd_unameÜs  cCs©ddl}tjd kr|St|ƒ}y+|jd|gd|jd |jƒ}Wnttj fk rs|SX|j ƒd }|j ƒ}| s�|r¡|S|SdS( s& Interface to the system's file command. The function uses the -b option of the file command to have it ommit the filename in its output and if possible the -L option to have the command follow symlinks. It returns default in case the command should fail. iÿÿÿÿNRRRRRqtstdouttstderri(RRRR( t subprocessR�R�RDtPopentPIPEtSTDOUTRèR"Rjt communicatetwait(ttargetRõRKtprocRGR ((s /usr/lib64/python2.7/platform.pyt _syscmd_fileîs    t WindowsPER(tMSDOSs[\s,]c Cs»|sbddl}y|jdƒ}Wn#|jk rJ|jdƒ}nXt|dƒd}n|rzt|dƒ}nd}| rã|tjkrãtjtkrÙttj\}}|rÇ|}n|rÙ|}qÙn||fSt |ƒd}d |kr ||fSd |krd }n*d |kr3d }nd|krHd}nd|kr]d}nTd|kr‡d|kr~d}q±d}n*d|krœd}nd|kr±d}n||fS(s“ 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. iÿÿÿÿNtPRgitbitRiR-s32-bitt32bittN32tn32bits64-bitR'tELFtPER(RTtCOFFsMS-DOSRU( tstructtcalcsizeRjR”RSR�R-R�t_default_architecturet_architecture_split( R-tbitstlinkageR^R×RGR Rgtfileout((s /usr/lib64/python2.7/platform.pyt architecture)sN                      cCs¨d}tdk rtSd}ytjƒ\}}}}}Wntk rTd}nX|sztd|||||fƒ rG|r§tj}d}d}tƒ}d}nd}|dkrIt ƒ\}}}} |rã|rãd}n|s(dtj krtj j ddƒ}q(tj j ddƒ}n|sItj j d|ƒ}qIn|r¼t |ƒ\}}}|dkryd }q¼|d kr¼|d kr¼d }d |d kr°d }q¹d}q¼n|dkrõ|sì|dkrãd}qìd}nd }qG|d dkrGt ƒ\}} } } d}tj| dƒ}|sD| }qDqGn|dkrÏ| sf|dkru|}d}nyddl} Wntk r˜qÏX| jddƒ\}}|dkrÆd}qÏd}n|sçtddƒ}n|dkrüd}n|dkrd}n|dkr&d}n|dkr;d}n|dkrPd}n|dkred}n|d krŒ|d krŒd }d }n||||||fatS( si Fairly 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 ''. iRiRtPROCESSOR_ARCHITEW6432tPROCESSOR_ARCHITECTUREtPROCESSOR_IDENTIFIERsMicrosoft WindowsR(t Microsofts6.0iR¥RRXt16bitiRtJavas, tOpenVMSt0iÿÿÿÿNsSYI$_CPUi€tAlphatVAXs-pR2(RR(t _uname_cacheR)R"R RèR3R�R�R:RïRŒRR RRDR•tvms_libRŽtgetsyiRH(t no_os_unamet processorR|tnodeR�RRtuse_syscmd_verRëRìRRRRqtcsidt cpu_number((s /usr/lib64/python2.7/platform.pyR ‚sœ    %                                  cCs tƒdS(s� Returns the system/OS name, e.g. 'Linux', 'Windows' or 'Java'. An empty string is returned if the value cannot be determined. i(R (((s /usr/lib64/python2.7/platform.pyR| scCs tƒdS(s� Returns the computer's network name (which may not be fully qualified) An empty string is returned if the value cannot be determined. i(R (((s /usr/lib64/python2.7/platform.pyRuscCs tƒdS(s� Returns the system's release, e.g. '2.2.0' or 'NT' An empty string is returned if the value cannot be determined. i(R (((s /usr/lib64/python2.7/platform.pyR�scCs tƒdS(s‡ Returns the system's release version, e.g. '#3 on degas' An empty string is returned if the value cannot be determined. i(R (((s /usr/lib64/python2.7/platform.pyR'scCs tƒdS(st Returns the machine type, e.g. 'i386' An empty string is returned if the value cannot be determined. i(R (((s /usr/lib64/python2.7/platform.pyR0scCs tƒdS(s Returns 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. i(R (((s /usr/lib64/python2.7/platform.pyRt9s sL([\w.+]+)\s*\(#?([^,]+)(?:,\s*([\w ]*)(?:,\s*([\w :]*))?)?\)\s*\[([^\]]+)\]?s;IronPython\s*([\d\.]+)(?: \(([\d\.]+)\))? on (.NET [\d\.]+)sU([\d.]+)\s*\(IronPython\s*[\d.]+\s*\(([\d.]+)\) on ([\w.]+ [\d.]+(?: \(\d+-bit\))?)\)sE([\w.+]+)\s*\(#?([^,]+),\s*([\w ]+),\s*([\w :]+)\)\s*\[PyPy [^\]]+\]?cCsÔ|dkrtj}ntj|dƒ}|dk r:|Sd|krÅd}|jdƒrmtj|ƒ}ntj|ƒ}|dkr¡t dt |ƒƒ‚n|j ƒ\}}}d}d}nptj jdƒrMd}t j|ƒ}|dkrt dt |ƒƒ‚n|j ƒ\}}}} } |dkrAd}ntj }nèd|kr´d}tj|ƒ}|dkr“t dt |ƒƒ‚n|j ƒ\}}}} d}n�t j|ƒ}|dkrèt d t |ƒƒ‚n|j ƒ\}}}} }d }|dkrd}n| r5|d | }nttd ƒrYtj\} } } n d} d} tj|d ƒ} t| ƒdkr«| jdƒtj| d ƒ}n||| | |||f}|t|<|S(sÛ Returns 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. t IronPythons*failed to parse IronPython sys.version: %sRRtJythons&failed to parse Jython sys.version: %stPyPys$failed to parse PyPy sys.version: %ss'failed to parse CPython sys.version: %stCPythonR*t subversionR‘iRmN(R)R�Rt_sys_version_cacheRt startswitht_ironpython_sys_version_parserRct _ironpython26_sys_version_parserRtreprR,R�t_sys_version_parsert_pypy_sys_version_parserR!R}RDRR&R’R•(t sys_versionRRÖRcRt alt_versiontcompilertbuildnot builddatet buildtimeR+tbranchtrevisionRg((s /usr/lib64/python2.7/platform.pyt _sys_versioncst                  cCs tƒdS(sR Returns a string identifying the Python implementation. Currently, the following implementations are identified: 'CPython' (C implementation of Python), 'IronPython' (.NET implementation of Python), 'Jython' (Java implementation of Python), 'PyPy' (Python implementation of Python). i(R�(((s /usr/lib64/python2.7/platform.pytpython_implementationÊs cCs tƒdS(sÈ Returns 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). i(R�(((s /usr/lib64/python2.7/platform.pytpython_version×scCsttjtƒddƒƒS(sÝ Returns 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). iR‘(RdRDRR�(((s /usr/lib64/python2.7/platform.pytpython_version_tupleás cCs tƒdS(sè Returns a string identifying the Python implementation branch. For CPython this is the Subversion branch from which the Python binary was built. If not available, an empty string is returned. i(R�(((s /usr/lib64/python2.7/platform.pyt python_branchìs cCs tƒdS(sì Returns a string identifying the Python implementation revision. For CPython this is the Subversion revision from which the Python binary was built. If not available, an empty string is returned. i(R�(((s /usr/lib64/python2.7/platform.pytpython_revisionús cCstƒdd!S(sh Returns a tuple (buildno, builddate) stating the Python build number and date as strings. ii(R�(((s /usr/lib64/python2.7/platform.pyt python_buildscCs tƒdS(sS Returns a string identifying the compiler used for compiling Python. i(R�(((s /usr/lib64/python2.7/platform.pytpython_compilersc Cs[tj||fdƒ}|dk r(|Stƒ\}}}}}}||krXd}n|r|t|||ƒ\}}}n|dkrÐt|ƒ\} } } } |r¸t||ƒ} qGt|||| ƒ} nw|d krYtdƒ\}}}|r"| r"t||||d|||ƒ} qGtt j ƒ\}}t||||d||ƒ} nî|dkrÆt ƒ\}}}\}}}|s�| r¥t|||ƒ} qGt|||d|||ƒ} n�|dkrÿ|rêt||ƒ} qGt|||ƒ} nH|rt||ƒ} n0t t j ƒ\}}t||||||ƒ} | t||f<| S( sË Returns 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. RR(tLinuxtwithRktonRñN(R•( t_platform_cacheRR)R R)RïR7RwR;R�R-RRe(taliasedtterseRR|RuR�RRRttreltversRëRìR�RJt distversiontdistidtlibcnamet libcversionRiRRRRRRbRc((s /usr/lib64/python2.7/platform.pyR�sP          t__main__Ršs--terset nonaliaseds --nonaliased(RRRR(R<RVRWRXRYRZR[R\R]RAR^R_R`Ra((RRRR(ii(ii(ii(iN(ii(ii(ii(ii(iN(i i(i N(ii(ii(ii(ii(ii(iN(RRR(RRR(RRR(RRT(RR((RRU(XR†t __copyright__t __version__R�RDR"tretdevnullRERèR�RtcompileRRR'R-R;RURkRbRet_supported_distsRhRvRwRxR)R‹R™RœR RæRêRÚRïR÷RúRRRRRR)R7R:R!R#R<R•R=R>R?R;RDRHRSR`RRaReRpR R|RuR�RRRtRƒR€R�R„R~R�RŽR�R�R‘R’R“R”R˜R„targvRšR™texit(((s /usr/lib64/python2.7/platform.pyt sæh0     8 2    5  6"   2   =/  )  # 6 $    3 W ‰      g   R