ACC SHELL

Path : /usr/lib/python/
File Upload :
Current File : //usr/lib/python/platform.pyo

oMc@sdZdZdZddkZddkZddkZddkZeidZei	ddddZ
d	Zeid
ZeidZ
eidZdXZdZdZdddeddZdddedZddYd YZd!dd"Zdd#Zeid$ZddddZd)Zdd*Zddddd+Zdd,Zd-Zdd[dd.Zd/Zddd\d]d0Z d1Z!d2Z"dd3Z#e$ei%d4p.ei%i&ei%i'ei(ei%i)d5Z*n
ei%i+Z*d6Z,dd7Z-dd8Z.hd^d%6d_d&6d`d'6Z/eid<i0Z1ei	ddd=Z2da3d>Z4d?Z5d@Z6dAZ7dBZ8dCZ9dDZ:eidEZ;eidFZ<eidGZ=hZ>ddHZ?dIZ@dJZAdKZBdLZCdMZDdNZEdOZFdPZGhZHdQdQdRZIeJdSjo]dTeiKjp
dUeiKjZLdVeiKjo
dWeiKjZMeIeMeLGHeiNdQndS(as8 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-2008, 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.6iNsC(__libc_init)|(GLIBC_([0-9.]+))|(libc(_\w+)?\.so(?:\.(\d[0-9.]*))?)ticCsttidotii|}nt|d}|i|}d}x,ti||}|p(|i|}|pPnd}qPn|i\}}	}
}}}
|o|o
d}n|	o8|djod}|
}qm|
|jo
|
}qmng|o_|djoNd}|
|jo
|
}n|o&|t	||jo||}qiqmn|i
}qP|i||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.

    trealpathtrbitlibctglibc(thasattrtostpathRtopentreadt_libc_searchtsearchtgroupstlentendtclose(t
executabletlibtversiont	chunksizetftbinarytpostmtlibcinitRtglibcversiontsotthreadst	soversion((s/usr/lib/python2.6/platform.pytlibc_ver}s@







c
Cstiidotdi}d}x|D]}ti|}t|djo|\}}nq2|djoti|}q2|djo ti|d}|d}q2q2W|||fStiidootdi}xZ|D]N}ti|d}	t|	djo#|	dd	jod	|	d
|fSqWntii	doti
d}
xDtt|
d
ddD]&}|
|d
 djo|
|=qqW|
o,|
i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/setupiisslack-version-t	slackware(
RRtexistsRt	readlineststringtsplitR
tstriptisdirtlistdirtrangetsort(tdistnameRtidtinfotlinettvttagtvaluetvaluestpkgtverfilestn((s/usr/lib/python2.6/platform.pyt_dist_try_hardersD	

$
s(\w+)[-_](release|version)s'(.+) release ([\d.]+)[^(]*(?:\((.+)\))?s1([^0-9]+)(?: release )?([\d.]+)[^(]*(?:\((.+)\))?RtdebiantfedoratredhattcentostmandraketmandrivatrocksR#t	yellowdogtgentootUnitedLinuxt
turbolinuxcCsd}d}ti|}|dj	ot|iSti|}|dj	ot|iStiti|}|o/|d}t	|djo|d}qnd||fS(NRii(
t_lsb_release_versiontmatchtNonettupleRt_release_versionR&R'R(R
(t	firstlineRR.Rtl((s/usr/lib/python2.6/platform.pyt_parse_release_files


cCsxdd fdd!d	d"dd#dd$dd%dd&dd'dd(D]4\}}t|}||jo||fGHqUqUWdS()NsSuSE Linux 9.3 (x86-64)sSuSE Linux s9.3sx86-64sSUSE LINUX 10.1 (X86-64)sSUSE LINUX s10.1sX86-64sSUSE LINUX 10.1 (i586)ti586s Fedora Core release 5 (Bordeaux)sFedora Coret5tBordeauxs"Red Hat Linux release 8.0 (Psyche)s
Red Hat Linuxs8.0tPsyches Red Hat Linux release 9 (Shrike)t9tShrikes+Red Hat Enterprise Linux release 4 (Nahant)sRed Hat Enterprise Linuxt4tNahantsCentOS release 4tCentOSsRocks release 4.2.1 (Cydonia)tRockss4.2.1tCydonia(sSuSE Linux s9.3sx86-64(sSUSE LINUX s10.1sX86-64(sSUSE LINUX s10.1RL(sFedora CoreRMRN(s
Red Hat Linuxs8.0RO(s
Red Hat LinuxRPRQ(sRed Hat Enterprise LinuxRRRS(RTRRN(RUs4.2.1RV(RFRK(tinputtoutputtparsed((s/usr/lib/python2.6/platform.pyt_test_parse_release_files								

ic	Cs0ytid}Wn tij
o|||fSX|ixh|D]P}ti|}|dj	o.|i\}}	||jo|}PqqGqGWt|||St	d|d}
|
i
}|
it|\}}}
|o|o
|}n|o
|}n|
o
|
}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(
RR*terrorR,t_release_filenameRERFRR8RtreadlineRRK(R-RR.tsupported_diststfull_distribution_nametetctfileRt	_distnametdummyRRIt_versiont_id((s/usr/lib/python2.6/platform.pytlinux_distribution%s2







cCst|||d|ddS(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.

    R_R`i(Rg(R-RR.R_((s/usr/lib/python2.6/platform.pytdist]st_popencBsbeZdZdZdZdZdZdddZdZ	dZ
eiei
dZeZRS(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.

    RR[cCsv|djo
tdnddk}|i|_}ti|d|t|d|_||_||_	dS(NR[s)popen()-emulation only supports read modeis > %sR(
t
ValueErrorttempfiletmktempttmpfileRtsystemRtpipetbufsizetmode(tselftcmdRqRpRkRm((s/usr/lib/python2.6/platform.pyt__init__s

	cCs
|iiS(N(RoR	(Rr((s/usr/lib/python2.6/platform.pyR	scCs"|idj	o|iiSdS(N(RpRFRoR%(Rr((s/usr/lib/python2.6/platform.pyR%scCs\|io|ii}nd}|io+y||iWqX|j
oqXXn|S(Ni(RoRRm(RrtremoveR\trc((s/usr/lib/python2.6/platform.pyRs

	N(t__name__t
__module__t__doc__RmRFRoRpRqRtR	R%RtunlinkR\Rt__del__(((s/usr/lib/python2.6/platform.pyRios
		R[cCsd}tiidddjo3yddk}Wntj
oqUX|i}n|djohttdoNti}ti	djo1y|dWqti
j
o
t}qXqqt}n|djo|||S||||SdS(s! Portable popen() interface.
    tOSRt
Windows_NTiNtpopentwin32(RFRtenvirontgett	win32pipetImportErrorR~RtsystplatformR\Ri(RsRqRpR~R((s/usr/lib/python2.6/platform.pyR~s&

	

cCsti|d}|o|i|nytt|}Wntj
o
|}nXtt|}ti|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(R&R'tappendtmaptintRjtstrtjoin(RtbuildRJtintststrings((s/usr/lib/python2.6/platform.pyt
_norm_versionss((?:([\w ]+) ([\w.]+) .*Version ([\d.]+))Rtwin16tdostos2c	CsFti|jo|||fSxdD]u}y9t|}|i}|iotidnWn2tij
o}q%q%tj
o}q%q%XPq%W|||fSti	|}t
i|}|dj	oc|i
\}}}|ddjo|d }n|ddjo|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 failediR(Rscommand /c vers
cmd /c verN(RRR~R	RRR\tIOErrorR&R(t_ver_outputRERFRR(	RntreleaseRtsupported_platformsRsRoR/twhyR((s/usr/lib/python2.6/platform.pyt_syscmd_vers2


c
Cs_yddkl}Wn(tj
oddk}|i}nXy|||SWn|SXdS(se Read a value for name from the registry key.

        In case this fails, default is returned.

    i(tRegQueryValueExN(twin32apiRRt_winregtQueryValueEx(tkeytnametdefaultRR((s/usr/lib/python2.6/platform.pyt_win32_getvaluescCs{yTddk}ddkl}l}l}l}ddkl}	l}
l}l	}Wnt
j
oytiWn t
j
o||||fSXddk}
ti}|
i}|
i}|
i}|
i}	d}d}
d}nX|\}}}}}d|||d@f}|d	 d
jod|d	}n||jo}d}|d
joO|djo
d}q|djo
d}q|djo
d}qd}q|djo
d}qn+||
jod}|d
jo
d}q|djoO|djo
d}q|djo
d}q|djo
d}qd}q|djoh|djoQy|dd}Wntj
o
d}qX||jo
d}qd}qd }qn,|pd!||f}n||||fSy ||	|}||d"Wn||||fSXt|d#d&d}t|d%|dfd}t||}||||||fS('s Get additional version information from the Windows Registry
        and return a tuple (version,csd,ptype) referring to version
        number, CSD level and OS type (multi/single
        processor).

        As a hint: ptype returns 'Uniprocessor Free' on single
        processor NT machines and 'Multiprocessor Free' on multi
        processor machines. The 'Free' refers to the OS version being
        free of debugging code. It could also state 'Checked' which
        means the OS version uses debugging code, i.e. code that
        checks arguments, ranges, etc. (Thomas Heller).

        Note: this function works best with Mark Hammond's win32
        package installed, but also on Python 2.3 and later. It
        obviously only runs on Win32 compatible platforms.

    iN(RtRegOpenKeyExtRegCloseKeytGetVersionEx(tHKEY_LOCAL_MACHINEtVER_PLATFORM_WIN32_NTtVER_PLATFORM_WIN32_WINDOWStVER_NT_WORKSTATIONiis%i.%i.%iii
s
Service Pack tSPs)SOFTWARE\Microsoft\Windows\CurrentVersioniit95i
t98iZtMetpostMeit2000s,SOFTWARE\Microsoft\Windows NT\CurrentVersiontNTtXPt
2003Servertpost2003iitVistat
2008Servertpost2008Servers%i.%it
SystemRoottCurrentBuildNumberRtCurrentType(Ri(RRRRRtwin32conRRRRRRtgetwindowsversiontAttributeErrorRRt	OpenKeyExtCloseKeyt	TypeErrorRR(RRtcsdtptypeRRRRRRRRRRtmajtmintbuildnotplattregkeytproductTypet	keyCurVerR((s/usr/lib/python2.6/platform.pyt	win32_ver"s"&					



























c	Cs}ddkl}ddk}g}|i}xK|D]C}y|||Wq2t|ifj
o||q2Xq2W|S(Ni(tgestalt(RtMacOSRtRuntimeErrortError(t	selectorsRRRRJRtselector((s/usr/lib/python2.6/platform.pyt_mac_ver_lookups	cCst|dS(Ni(thex(tbcd((s/usr/lib/python2.6/platform.pyt_bcd2strsc
	Csyddk}ddk}Wntj
o|||fSXtd\}}|o|d@d?}|d@d?}|d	@}	||fdjo,td\}}}	d|||	f}qdt|||	f}n|o+hdd6dd6dd
6i|d}n|||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 paramter values
        which default to ''. All tuple entries are strings.

        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/

    iNtsysvtsysaiiiiii
tsys1tsys2tsys3s%i.%i.%is%s.%i.%it68kitPowerPCiti386R(ssysvssysa(i
i(RRR(RRRRRR(
RtversioninfotmachineRRRRtmajortminortpatch((s/usr/lib/python2.6/platform.pytmac_vers&

cCsTddkl}y)|i|}|djo|S|SWntj
o|SXdS(Ni(tSystem(t	java.langRtgetPropertyRFR(RRRR3((s/usr/lib/python2.6/platform.pyt
_java_getprops
cCsyddk}Wn tj
o||||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 '').

    iNsjava.vendorsjava.versionsjava.vm.namesjava.vm.vendorsjava.vm.versionsjava.os.archsjava.os.namesjava.os.version(RRR(Rtvendortvminfotosinfotjavatvm_namet
vm_releaset	vm_vendortos_namet
os_versiontos_arch((s/usr/lib/python2.6/platform.pytjava_vers"
cCs1|djod|||fS|djo|djo|||fSti|d}|oZyt|d}Wntj
oqX|d}t||d<ti|d}n|djo
d	}q$d	}nJ|d
jo%d}|o|d}q$d
}n|djo
d}n|||fS(s Returns (system,release,version) aliased to common
        marketing names used for some systems.

        It also does some reordering of the information in some cases
        where it would otherwise cause confusion.

    tRhapsodysMacOS X ServertSunOSRMRiit6tSolaristIRIX64tIRIXs (64bit)t64bitRRtWindows(swin32R(R&R'RRjRR(RnRRRJR((s/usr/lib/python2.6/platform.pytsystem_aliass2	










cGs)tittitt|d}ti}||dd}||dd}||dd}||dd}||dd}||dd}||d	d}||d
d}||dd}x-||d
d}||joPn|}qx |ddjo|d }qW|S(sq Helper to format the platform string in a filename
        compatible format e.g. "system-version-machine".
    R!t t_t/s\t:t;t"t(t)tunknownRs--i(R&RRR(tfilterR
treplace(targsRRtcleaned((s/usr/lib/python2.6/platform.pyt	_platformOs.			
	c	CsSyddk}Wntj
o|SXy|iSWn|ij
o|SXdS(s8 Helper to determine the node name of this machine.
    iN(tsocketRtgethostnameR\(RR((s/usr/lib/python2.6/platform.pyt_nodesstabspathcCs-||p|||}n||S(N((RtisabsRtgetcwdtnormpath((s/usr/lib/python2.6/platform.pyt_abspaths
cCsat|}xNtii|o:tiitiitii|ti|}qW|S(sT In case filepath is a symlink, follow it until a
        real file is reached.
    (RRRtislinkR
Rtdirnametreadlink(tfilepath((s/usr/lib/python2.6/platform.pyt_follow_symlinkss	2cCstidjo|Sytid|}Wnttifj
o|SXti|i}|i	}|p|o|S|SdS(s. Interface to the system's uname command.
    RRRRsuname %s 2> /dev/nullN(Rswin32swin16sos2(
RRRR~RR\R&R(R	R(toptionRRRXRv((s/usr/lib/python2.6/platform.pyt
_syscmd_unamescCstidjo|St|}ytid|}Wnttifj
o|SXti|i	}|i
}|p|o|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.

    RRRRsfile "%s" 2> /dev/nullN(sdosswin32swin16sos2(RRRRR~RR\R&R(R	R(ttargetRRRXRv((s/usr/lib/python2.6/platform.pyt_syscmd_files
t	WindowsPERtMSDOSs[\s,]c	Cs|p_ddk}y|id}Wn%|ij
o|id}nXt|dd}n|ot|d}nd}|og|tijoWtiti	o9tti	\}}|o
|}n|o
|}qn||fSt
|d}d	|jo||fSd
|jo
d}n/d|jo
d
}nd|jo
d}nd|jo
d}n]d|jo!d|jo
d}qd}n/d|jo
d}nd|jo
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.

    iNtPRJitbitRiRs32-bitt32bittN32tn32bits64-bitRtELFtPERRtCOFFsMS-DOSR(tstructtcalcsizeR\RRRRt_default_architecturethas_keyRt_architecture_split(	RtbitstlinkageR"tsizeRXtbRJtfileout((s/usr/lib/python2.6/platform.pytarchitecturesN

















cCsd}tdj	otSd}yti\}}}}}Wntj
o
d}nX|p td|||||fo|o(ti}d}d}t}d}nd}|djoqt	\}}}}	|o|o
d}n|pti
idd}n|pti
id|}q3n|out|\}}}|djo
d}q|d	jo8|djo+d}d
|d jo
d}qd}qn|d jo2|p!|djo
d}qd}nd}qz|d djoBt
\}}
}}d}ti|d}|p
|
}qvqztidjo%t\}\}}
}}d}qzn|djo|p
|djo|}d}nyddk}Wntj
oqX|idd\}}|djo
d}qd}n|ptdd}n|djo
d}n|djo
d}n|djo
d}n|djo
d}n|djo
d}n|djo
d}n|d	jo|djod}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_ARCHITECTUREtPROCESSOR_IDENTIFIERsMicrosoft WindowsRt	Microsofts6.0iRRRt16bitiRtJavas, tmacRtOpenVMSt0iNsSYI$_CPUitAlphatVAXs-pR(swin32swin16(t_uname_cacheRFRtunameRRRRR	RRRRRR&RRRtvms_libRtgetsyiR(tno_os_unamet	processorRntnodeRRRtuse_syscmd_verRRRRRtstagetnonrelR9tcsidt
cpu_number((s/usr/lib/python2.6/platform.pyR8-s

'		




























cCstdS(s Returns the system/OS name, e.g. 'Linux', 'Windows' or 'Java'.

        An empty string is returned if the value cannot be determined.

    i(R8(((s/usr/lib/python2.6/platform.pyRnscCstdS(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(R8(((s/usr/lib/python2.6/platform.pyR=scCstdS(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(R8(((s/usr/lib/python2.6/platform.pyRscCstdS(s Returns the system's release version, e.g. '#3 on degas'

        An empty string is returned if the value cannot be determined.

    i(R8(((s/usr/lib/python2.6/platform.pyRscCstdS(st Returns the machine type, e.g. 'i386'

        An empty string is returned if the value cannot be determined.

    i(R8(((s/usr/lib/python2.6/platform.pyRscCstdS(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(R8(((s/usr/lib/python2.6/platform.pyR<s
sB([\w.+]+)\s*\(#?([^,]+),\s*([\w ]+),\s*([\w :]+)\)\s*\[([^\]]+)\]?s	([\d\.]+)s;IronPython\s*([\d\.]+)(?: \(([\d\.]+)\))? on (.NET [\d\.]+)c
	CsH|djo
ti}nti|d}|dj	o|S|d djomd}ti|}|djotdt|n|i	\}}}d}d}d}	d}
nti
d djopd}ti|}|djotdt|n|i	\}d}d}ti
}d}	d}
nti|}|djotd	t|n|i	\}}	}
}}t
td
oti\}}}nd}d}d}|
d|}
ti|d
}t|djo#|idti|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.

    i
t
IronPythons*failed to parse IronPython sys.version: %sRiRtJythons&failed to parse Jython sys.version: %ss'failed to parse CPython sys.version: %st
subversiontCPythonRRiR4N(RFRRt_sys_version_cacheRt_ironpython_sys_version_parserRERjtreprRRt_jython_sys_version_parsert_sys_version_parserRRER&R'R
RR(
tsys_versiontresultRRERtalt_versiontcompilertbranchtrevisionRt	builddatet	buildtimeRJ((s/usr/lib/python2.6/platform.pyt_sys_versionsb





	



c
CshtixWddfddfddffD]4\}}t|}||jo||fGHq,q,WdS(NsC2.4.3 (#1, Jun 21 2006, 13:54:21) 
[GCC 3.3.4 (pre 3.3.5 20040809)]RFs2.4.3Rt1sJun 21 2006 13:54:21sGCC 3.3.4 (pre 3.3.5 20040809)s)IronPython 1.0.60816 on .NET 2.0.50727.42RCs	1.0.60816s.NET 2.0.50727.42s4IronPython 1.0 (1.0.61005.1977) on .NET 2.0.50727.42s1.0.0(sCPythons2.4.3RRRUsJun 21 2006 13:54:21sGCC 3.3.4 (pre 3.3.5 20040809)(s
IronPythons	1.0.60816RRRRs.NET 2.0.50727.42(s
IronPythons1.0.0RRRRs.NET 2.0.50727.42(RGtclearRT(RWRXRY((s/usr/lib/python2.6/platform.pyt_test_sys_versionZs


cCstdS(s 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).

    i(RT(((s/usr/lib/python2.6/platform.pytpython_implementationis
cCstdS(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(RT(((s/usr/lib/python2.6/platform.pytpython_versionuscCsttitddS(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(RGR&R'RT(((s/usr/lib/python2.6/platform.pytpython_version_tuples	cCstdS(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(RT(((s/usr/lib/python2.6/platform.pyt
python_branchscCstdS(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(RT(((s/usr/lib/python2.6/platform.pytpython_revisionscCstdd!S(sh Returns a tuple (buildno, builddate) stating the Python
        build number and date as strings.

    ii(RT(((s/usr/lib/python2.6/platform.pytpython_buildscCstdS(sS Returns a string identifying the compiler used for compiling
        Python.

    i(RT(((s/usr/lib/python2.6/platform.pytpython_compilersic	Csuti||fd}|dj	o|St\}}}}}}||jo
d}n|ot|||\}}}n|djoKt|\}	}
}}|ot||}
qat||||}
n|d	jotd\}}}|o-|o%t||||d|||}
qatt	i
\}}t||||d||}
n|djoet\}}}\}}}|p|ot|||}
qat|||d|||}
n|djo0|ot||}
qat|||}
nK|ot||}
n1tt	i
\}}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.

    RRtLinuxtwithR1tonRN(R_(
t_platform_cacheRRFR8RRRRhRRRRR,(taliasedtterseRMRnR=RRRR<treltversRRRR-tdistversiontdistidtlibcnametlibcversionR[tvRRRRR'R(((s/usr/lib/python2.6/platform.pyRsP






t__main__Rds--terset
nonaliaseds--nonaliased(
sSuSER9R:R;R<R=R>R?s	slackwareR@RARBRC((swin32swin16sdossos2(RRR(RRR(RRR(Rs	WindowsPE(RsWindows(RsMSDOS(ORyt
__copyright__t__version__RR&RtretcompileR
RRR8R]RDRHt_supported_distsRKRZRgRhRiRFR~RRRRRRRRRRRRR	RRRRRR
RR
RRRR$R'R&R,R7R8RnR=RRRR<RKRJRHRGRTRWRXRYRZR[R\R]R^RbRRwtargvRdRctexit(((s/usr/lib/python2.6/platform.pyt<module>
se03	2			5	6!	2
	/	#	6	$	
W				
										X			
			
		
R


ACC SHELL 2018