grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026ž õ fÛ‡c@@sô dZddlZddlZddlZejZddddddd d d d d ddddddddgZdd„Zdd„Z dekrdZ dZ ddl Ty!ddl m Z ejdƒWnek ráYnXddlZyddl mZWqsek rYqsXnYd ekrÌd Z d!Z ddlTy!ddlm Z ejdƒWnek rqYnXddlZddlZeje eƒƒ[yddlmZWqsek rÈYqsXn§d"ekrµd"Z d!Z ddlTy!ddlm Z ejdƒWnek r#YnXejjd#ƒd¼krKddlZnddlZdd%lmZddlZeje eƒƒ[yddlmZWqsek r±YqsXn¾d&ekrgd&Z d!Z ddlTy!ddlm Z ejdƒWnek r YnXddlZddlZeje eƒƒ[yddlmZWqsek rcYqsXn ed'ƒ‚eejd(ƒe)d?d@ƒe)dAdBƒe)dCdDƒe)dEdFƒe)dGdHƒe)dGdIƒe)dJd6ƒe+Z,e*ƒZ+e)d-d.ƒe+Z-e*ƒZ+e)dKdLƒe)dMd0ƒe)dNd2ƒe)dOdPƒe)dQdRƒe+j.eƒe)dSdTƒe)dUd6ƒe)dVd6ƒe)dWdXƒedYƒrŒedZƒrŒe)d[dYƒne+Z/e*ƒZ+e)d-d.ƒe)d1d2ƒe)d3d4ƒe)d\d]ƒe)d^d0ƒed_ƒrøe)d`d2ƒne)d7d8ƒe)dad6ƒe)dbd4ƒe)d3d4ƒe)dJd6ƒe)dcd4ƒe+Z0[+[[([)ndZ1d$Z2ddZ3ded½dfdg„Z5dhdi„Z6djdk„Z7ejdgdidkgƒd¾dd½dldm„Z:ejdmƒe;ehe,kr0e<ehe/kr0dnd½doddpd¾ddqdr„Z=dsdt„Z>ejdrƒnye?Wne@k rRiZ?YnXdudv„ZAdwdx„ZBdydz„ZCd{d|„ZDd}d~„ZEdd€„ZFejdvdxdzd|d~d€gƒdd�d‚„ZGddƒd„ZHdd„lImJZJGd…d†„d†eJƒZKy eLZMWne@k r(d‡dˆ„ZMYnXejd‰ƒy eNZOWne@k r`dŠdˆ„ZOYnXejd‹ƒdŒd�„ZPePƒZ?[PddŽd�„ZQe d¿kZRejdÀƒeRr d‘d’„ZSeKe?jTeSeUeSeUeMeOƒZV[Sdd“d”„ZWejdÁƒnd–d—„ZXeXƒ\ZYZZ[Xed˜ƒr« ed™ƒ r« edšƒr« dZ[d$Z\Z]ejd›dœd�gƒdždŸ„Z^d d™„Z_d¡d¢„Z`d£d¤„Zad¥d¦„Zbned™ƒrë d§d¨„Zcd©dª„Zdejd™d¢d¨dªgƒned¤ƒr+ d«d¬„Zed­d®„Zfejd¤d¦d¬d®gƒnddlgZhd¯d°„Zid±d²„ZjyehjkelejeiƒWne@k rz YnXd³d´„Zmdµd¶„ZnyehjkeoenemƒWne@k r¾ YnXd·dÂd¸d„ZpGd¹dº„dºƒZqd»d„ZrdS(ÃutOS routines for Mac, NT, or Posix depending on what system we're on. This exports: - all functions from posix, nt, os2, or ce, e.g. unlink, stat, etc. - os.path is either posixpath or ntpath - os.name is either 'posix', 'nt', 'os2' or 'ce'. - os.curdir is a string representing the current directory ('.' or ':') - os.pardir is a string representing the parent directory ('..' or '::') - os.sep is the (or a most common) pathname separator ('/' or ':' or '\\') - os.extsep is the extension separator (always '.') - os.altsep is the alternate pathname separator (None or '/') - os.pathsep is the component separator used in $PATH etc - os.linesep is the line separator in text files ('\r' or '\n' or '\r\n') - os.defpath is the default search path for executables - os.devnull is the file path of the null device ('/dev/null', etc.) Programs that import and use 'os' stand a better chance of being portable between different platforms. Of course, they must then only use functions that are defined by all platforms (e.g., unlink and opendir), and leave all pathname manipulation to os.path (e.g., split and join). iNualtsepucurdirupardirusepupathsepulinesepudefpathunameupathudevnulluSEEK_SETuSEEK_CURuSEEK_ENDufsencodeufsdecodeu get_exec_pathufdopenupopenuextsepcCs |tƒkS(N(uglobals(uname((u'/opt/alt/python33/lib64/python3.3/os.pyu_exists%su_existsc CsAyt|jƒSWn)tk r<dd„t|ƒDƒSYnXdS(NcSs&g|]}|ddkr|‘qS(iu_((u.0un((u'/opt/alt/python33/lib64/python3.3/os.pyu ,s u%_get_exports_list..(ulistu__all__uAttributeErrorudir(umodule((u'/opt/alt/python33/lib64/python3.3/os.pyu_get_exports_list(s u_get_exports_listuposixu (u*(u_exitu_exit(u_have_functionsuntu uos2uEMX GCCi(ulinkuceuno os specific module founduos.path(ucurdirupardirusepupathsepudefpathuextsepualtsepudevnullu_have_functionscCs0|tkr,|tkr,tjt|ƒndS(N(u_globalsu_have_functionsu_setuadd(ustrufn((u'/opt/alt/python33/lib64/python3.3/os.pyu_add�su_adduHAVE_FACCESSATuaccessu HAVE_FCHMODATuchmodu HAVE_FCHOWNATuchownu HAVE_FSTATATustatuHAVE_FUTIMESATuutimeu HAVE_LINKATulinku HAVE_MKDIRATumkdiru HAVE_MKFIFOATumkfifou HAVE_MKNODATumknodu HAVE_OPENATuopenuHAVE_READLINKATureadlinku HAVE_RENAMEATurenameuHAVE_SYMLINKATusymlinku HAVE_UNLINKATuunlinkurmdiruHAVE_UTIMENSATu HAVE_FCHDIRuchdiru HAVE_FCHMODu HAVE_FCHOWNuHAVE_FDOPENDIRulistdiru HAVE_FEXECVEuexecveuHAVE_FTRUNCATEutruncateu HAVE_FUTIMENSu HAVE_FUTIMESuHAVE_FPATHCONFupathconfustatvfsufstatvfsu HAVE_FSTATVFSu HAVE_LCHFLAGSuchflagsu HAVE_LCHMODulchownu HAVE_LCHOWNu HAVE_LUTIMESu HAVE_LSTATu MS_WINDOWSiiÿc CsItj|ƒ\}}|s3tj|ƒ\}}n|rÝ|rÝtj|ƒ rÝyt|||ƒWn=tk r¢}z|jtjkr�‚nWYdd}~XnXt}t|t ƒrÊt tdƒ}n||krÝdSnyt ||ƒWnTtk rD}z4| s,|jtjks,tj |ƒ r2‚nWYdd}~XnXdS(u‹makedirs(path [, mode=0o777][, exist_ok=False]) Super-mkdir; create a leaf directory and all intermediate ones. Works like mkdir, except that any intermediate path segment (not just the rightmost) will be created if it does not exist. If the target directory already exists, raise an OSError if exist_ok is False. Otherwise no exception is raised. This is recursive. NuASCII( upathusplituexistsumakedirsuOSErroruerrnouEEXISTucurdiru isinstanceubytesumkdiruisdir(unameumodeuexist_okuheadutailueucdir((u'/opt/alt/python33/lib64/python3.3/os.pyumakedirsìs&  )umakedirsc Cs�t|ƒtj|ƒ\}}|s=tj|ƒ\}}nxI|rˆ|rˆyt|ƒWntk roPYnXtj|ƒ\}}q@WdS(u¬removedirs(path) Super-rmdir; remove a leaf directory and all empty intermediate ones. Works like rmdir except that, if the leaf directory is successfully removed, directories corresponding to rightmost path segments will be pruned away until either the whole path is consumed or an error occurs. Errors during this latter phase are ignored -- they generally mean that a directory was not empty. N(urmdirupathusplituerror(unameuheadutail((u'/opt/alt/python33/lib64/python3.3/os.pyu removedirs s  u removedirscCs–tj|ƒ\}}|r>|r>tj|ƒ r>t|ƒnt||ƒtj|ƒ\}}|r’|r’yt|ƒWq’tk rŽYq’XndS(u@renames(old, new) Super-rename; create directories as necessary and delete any left empty. Works like rename, except creation of any intermediate directories needed to make the new pathname good is attempted first. After the rename, directories corresponding to rightmost path segments of the old name will be pruned way until either the whole path is consumed or a nonempty directory is found. Note: this function can fail with the new directory structure made if you lack permissions needed to unlink the leaf directory or file. N(upathusplituexistsumakedirsurenameu removedirsuerror(uoldunewuheadutail((u'/opt/alt/python33/lib64/python3.3/os.pyurenames!s    urenamesc csBtjtjtj}}}yt|ƒ}WnBtk rq}z"|dk r[||ƒndSWYdd}~XnXgg} } x@|D]8} |||| ƒƒr±| j| ƒq†| j| ƒq†W|rÙ|| | fVnxK| D]C} ||| ƒ} |s|| ƒ ràt| |||ƒDdHqàqàW|s>|| | fVndS(uM Directory tree generator. For each directory in the directory tree rooted at top (including top itself, but excluding '.' and '..'), yields a 3-tuple dirpath, dirnames, filenames dirpath is a string, the path to the directory. dirnames is a list of the names of the subdirectories in dirpath (excluding '.' and '..'). filenames is a list of the names of the non-directory files in dirpath. Note that the names in the lists are just names, with no path components. To get a full path (which begins with top) to a file or directory in dirpath, do os.path.join(dirpath, name). If optional arg 'topdown' is true or not specified, the triple for a directory is generated before the triples for any of its subdirectories (directories are generated top down). If topdown is false, the triple for a directory is generated after the triples for all of its subdirectories (directories are generated bottom up). When topdown is true, the caller can modify the dirnames list in-place (e.g., via del or slice assignment), and walk will only recurse into the subdirectories whose names remain in dirnames; this can be used to prune the search, or to impose a specific order of visiting. Modifying dirnames when topdown is false is ineffective, since the directories in dirnames have already been generated by the time dirnames itself is generated. By default errors from the os.listdir() call are ignored. If optional arg 'onerror' is specified, it should be a function; it will be called with one argument, an os.error instance. It can report the error to continue with the walk, or raise the exception to abort the walk. Note that the filename is available as the filename attribute of the exception object. By default, os.walk does not follow symbolic links to subdirectories on systems that support them. In order to get this functionality, set the optional argument 'followlinks' to true. Caution: if you pass a relative pathname for top, don't change the current working directory between resumptions of walk. walk never changes the current directory, and assumes that the client doesn't either. Example: import os from os.path import join, getsize for root, dirs, files in os.walk('python/Lib/email'): print(root, "consumes", end="") print(sum([getsize(join(root, name)) for name in files]), end="") print("bytes in", len(files), "non-directory files") if 'CVS' in dirs: dirs.remove('CVS') # don't visit CVS directories N( upathuislinkujoinuisdirulistdiruerroruNoneuappenduwalk( utoputopdownuonerroru followlinksuislinkujoinuisdirunamesuerrudirsunondirsunameunew_path((u'/opt/alt/python33/lib64/python3.3/os.pyuwalk=s(9     uwalkufollow_symlinksudir_fdu.ccs‘t|ddd|ƒ}t|td|ƒ}zR|s`tj|jƒr~tj|t|ƒƒr~t |||||ƒDdHnWdt |ƒXdS(uDirectory tree generator. This behaves exactly like walk(), except that it yields a 4-tuple dirpath, dirnames, filenames, dirfd `dirpath`, `dirnames` and `filenames` are identical to walk() output, and `dirfd` is a file descriptor referring to the directory `dirpath`. The advantage of fwalk() over walk() is that it's safe against symlink races (when follow_symlinks is False). If dir_fd is not None, it should be a file descriptor open to a directory, and top should be relative; top will then be relative to that directory. (dir_fd is always supported for fwalk.) Caution: Since fwalk() yields file descriptors, those are only valid until the next iteration step, so you should dup() them if you want to keep them for a longer period. Example: import os for root, dirs, files, rootfd in os.fwalk('python/Lib/email'): print(root, "consumes", end="") print(sum([os.stat(name, dir_fd=rootfd).st_size for name in files]), end="") print("bytes in", len(files), "non-directory files") if 'CVS' in dirs: dirs.remove('CVS') # don't visit CVS directories ufollow_symlinksudir_fdNF( ustatuFalseuopenuO_RDONLYustuS_ISDIRust_modeupathusamestatu_fwalkuclose(utoputopdownuonerrorufollow_symlinksudir_fduorig_stutopfd((u'/opt/alt/python33/lib64/python3.3/os.pyufwalkšs#"ufwalkc csít|ƒ}gg}}x²|D]ª}y?tjt|d|ƒjƒrW|j|ƒn |j|ƒWq tk rÉy8tjt|d|ddƒjƒr¬|j|ƒnWntk rÄw YnXYq Xq W|rè||||fVnxä|D]Ü}y1t|d|d|ƒ} t |t d|ƒ} WnBt k rj} z"|dk rT|| ƒndSWYdd} ~ XnXzR|sŒt j| t| ƒƒr¼t j||ƒ} t| | |||ƒDdHnWdt| ƒXqïW|sé||||fVndS(Nudir_fdufollow_symlinksF(ulistdirustuS_ISDIRustatust_modeuappenduFileNotFoundErroruS_ISLNKuFalseuopenuO_RDONLYuerroruNoneupathusamestatujoinu_fwalkuclose( utopfdutoppathutopdownuonerrorufollow_symlinksunamesudirsunondirsunameuorig_studirfduerrudirpath((u'/opt/alt/python33/lib64/python3.3/os.pyu_fwalkÆs<    $    "u_fwalkcGst||ƒdS(upexecl(file, *args) Execute the executable file with argument list args, replacing the current process. N(uexecv(ufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuexeclýsuexeclcGs(|d}t||dd…|ƒdS(uŠexecle(file, *args, env) Execute the executable file with argument list args and environment env, replacing the current process. iNiÿÿÿÿiÿÿÿÿ(uexecve(ufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuexecles uexeclecGst||ƒdS(u•execlp(file, *args) Execute the executable file (which is searched for along $PATH) with argument list args, replacing the current process. N(uexecvp(ufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuexeclp suexeclpcGs(|d}t||dd…|ƒdS(u³execlpe(file, *args, env) Execute the executable file (which is searched for along $PATH) with argument list args and environment env, replacing the current process. iNiÿÿÿÿiÿÿÿÿ(uexecvpe(ufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuexeclpes uexeclpecCst||ƒdS(uÀexecvp(file, args) Execute the executable file (which is searched for along $PATH) with argument list args, replacing the current process. args may be a list or tuple of strings. N(u_execvpe(ufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuexecvpsuexecvpcCst|||ƒdS(ußexecvpe(file, args, env) Execute the executable file (which is searched for along $PATH) with argument list args and environment env , replacing the current process. args may be a list or tuple of strings. N(u_execvpe(ufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuexecvpe$suexecvpecCs„|dk r!t}||f}nt}|f}t}tj|ƒ\}}|rb|||ŒdSd}}d} t|ƒ} tdkr¨t|ƒ}t t| ƒ} nx®| D]¦} tj | |ƒ} y|| |ŒWq¯t k rT} zZ| }t j ƒd}| jtjkrB| jtjkrB|dkrB| }|} nWYdd} ~ Xq¯Xq¯W|rq|j| ƒ‚n|j|ƒ‚dS(Nunti(uNoneuexecveuexecvuenvironupathusplitu get_exec_pathunameufsencodeumapujoinuerrorusysuexc_infouerrnouENOENTuENOTDIRuwith_traceback(ufileuargsuenvu exec_funcuargrestuheadutailulast_excu saved_excusaved_tbu path_listudirufullnameueutb((u'/opt/alt/python33/lib64/python3.3/os.pyu_execvpe/s<        $  u_execvpecCsddl}|dkr!t}n|jƒ�À|jdtƒy|jdƒ}Wntk rkd}YnXtréy|d}Wnt tfk ršYn"X|dk r¶t dƒ‚n|}|dk rét |t ƒrét |ƒ}qénWdQX|dkrt}n|jtƒS(uóReturns the sequence of directories that will be searched for the named executable (similar to a shell) when launching a process. *env* must be an environment variable dict or None. If *env* is None, os.environ will be used. iNuignoreuPATHsPATHu*env cannot contain 'PATH' and b'PATH' keys(uwarningsuNoneuenvironucatch_warningsu simplefilteru BytesWarningugetu TypeErrorusupports_bytes_environuKeyErroru ValueErroru isinstanceubytesufsdecodeudefpathusplitupathsep(uenvuwarningsu path_listu path_listb((u'/opt/alt/python33/lib64/python3.3/os.pyu get_exec_pathRs.          (uMutableMappingcBs€|EeZdZdd„Zdd„Zdd„Zdd„Zd d „Zd d „Zd d„Z dd„Z dd„Z dS(u_EnvironcCsC||_||_||_||_||_||_||_dS(N(u encodekeyu decodekeyu encodevalueu decodevalueuputenvuunsetenvu_data(uselfudatau encodekeyu decodekeyu encodevalueu decodevalueuputenvuunsetenv((u'/opt/alt/python33/lib64/python3.3/os.pyu__init__‚s      u_Environ.__init__c CsKy|j|j|ƒ}Wn!tk r=t|ƒd‚YnX|j|ƒS(N(u_datau encodekeyuKeyErroruNoneu decodevalue(uselfukeyuvalue((u'/opt/alt/python33/lib64/python3.3/os.pyu __getitem__‹s  u_Environ.__getitem__cCs?|j|ƒ}|j|ƒ}|j||ƒ||j|«su$_Environ.__repr__..(uformatujoinu_datauitems(uself((uselfu'/opt/alt/python33/lib64/python3.3/os.pyu__repr__©s u_Environ.__repr__cCs t|ƒS(N(udict(uself((u'/opt/alt/python33/lib64/python3.3/os.pyucopy®su _Environ.copycCs!||kr|||¹suuputenvcCs t|dƒS(Nu(u_putenv(ukey((u'/opt/alt/python33/lib64/python3.3/os.pyuÀsuunsetenvcsÄtd krldd„}|‰t}‡fdd†}i}xitjƒD]\}}||||ƒ.check_strcsˆ|ƒjƒS(N(uupper(ukey(uencode(u'/opt/alt/python33/lib64/python3.3/os.pyu encodekeyÍsu!_createenviron..encodekeycs;t|tƒs+tdt|ƒjƒ‚n|jˆdƒS(Nustr expected, not %susurrogateescape(u isinstanceustru TypeErrorutypeu__name__uencode(uvalue(uencoding(u'/opt/alt/python33/lib64/python3.3/os.pyuencodeÕsu_createenviron..encodecs|jˆdƒS(Nusurrogateescape(udecode(uvalue(uencoding(u'/opt/alt/python33/lib64/python3.3/os.pyudecodeÙsu_createenviron..decode(uos2unt( unameustruenvironuitemsusysugetfilesystemencodingu_Environu_putenvu _unsetenv(u check_strudecodeu encodekeyudataukeyuvalue((uencodeuencodingu'/opt/alt/python33/lib64/python3.3/os.pyu_createenvironÄs"   u_createenvironcCstj||ƒS(u©Get an environment variable, return None if it doesn't exist. The optional second argument can specify an alternate default. key, default and the result are str.(uenvironuget(ukeyudefault((u'/opt/alt/python33/lib64/python3.3/os.pyugetenvçsugetenvusupports_bytes_environcCs/t|tƒs+tdt|ƒjƒ‚n|S(Nubytes expected, not %s(u isinstanceubytesu TypeErrorutypeu__name__(uvalue((u'/opt/alt/python33/lib64/python3.3/os.pyu _check_bytesñsu _check_bytescCstj||ƒS(u³Get an environment variable, return None if it doesn't exist. The optional second argument can specify an alternate default. key, default and the result are bytes.(uenvironbuget(ukeyudefault((u'/opt/alt/python33/lib64/python3.3/os.pyugetenvbýsugetenvbuenvironbcs[tjƒ‰ˆdkr!d‰nd‰‡‡fdd†}‡‡fdd†}||fS(NumbcsustrictusurrogateescapecsOt|tƒr|St|tƒr2|jˆˆƒStdt|ƒjƒ‚dS(uø Encode filename to the filesystem encoding with 'surrogateescape' error handler, return bytes unchanged. On Windows, use 'strict' error handler if the file system encoding is 'mbcs' (which is the default encoding). uexpect bytes or str, not %sN(u isinstanceubytesustruencodeu TypeErrorutypeu__name__(ufilename(uencodinguerrors(u'/opt/alt/python33/lib64/python3.3/os.pyufsencode s u_fscodec..fsencodecsOt|tƒr|St|tƒr2|jˆˆƒStdt|ƒjƒ‚dS(uø Decode filename from the filesystem encoding with 'surrogateescape' error handler, return str unchanged. On Windows, use 'strict' error handler if the file system encoding is 'mbcs' (which is the default encoding). uexpect bytes or str, not %sN(u isinstanceustrubytesudecodeu TypeErrorutypeu__name__(ufilename(uencodinguerrors(u'/opt/alt/python33/lib64/python3.3/os.pyufsdecodes u_fscodec..fsdecode(usysugetfilesystemencoding(ufsencodeufsdecode((uencodinguerrorsu'/opt/alt/python33/lib64/python3.3/os.pyu_fscodecs     u_fscodecuforkuspawnvuexecvuP_WAITuP_NOWAITu P_NOWAITOc CsÑtƒ}|sWy0|dkr.|||ƒn||||ƒWqÍtdƒYqÍXnv|tkrg|Sxct|dƒ\}}t|ƒr‘qjqjt|ƒr¨t|ƒ St|ƒr¾t |ƒSt dƒ‚qjdS(Niiu"Not stopped, signaled or exited???( uforkuNoneu_exituP_NOWAITuwaitpidu WIFSTOPPEDu WIFSIGNALEDuWTERMSIGu WIFEXITEDu WEXITSTATUSuerror(umodeufileuargsuenvufuncupiduwpidusts((u'/opt/alt/python33/lib64/python3.3/os.pyu _spawnvef7s&        u _spawnvefcCst|||dtƒS(uspawnv(mode, file, args) -> integer Execute file with arguments from args in a subprocess. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwise return -SIG, where SIG is the signal that killed it. N(u _spawnvefuNoneuexecv(umodeufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnvRscCst||||tƒS(u:spawnve(mode, file, args, env) -> integer Execute file with arguments from args in a subprocess with the specified environment. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwise return -SIG, where SIG is the signal that killed it. (u _spawnvefuexecve(umodeufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnve[suspawnvecCst|||dtƒS(u8spawnvp(mode, file, args) -> integer Execute file (which is looked for along $PATH) with arguments from args in a subprocess. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwise return -SIG, where SIG is the signal that killed it. N(u _spawnvefuNoneuexecvp(umodeufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnvpgsuspawnvpcCst||||tƒS(u\spawnvpe(mode, file, args, env) -> integer Execute file (which is looked for along $PATH) with arguments from args in a subprocess with the supplied environment. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwise return -SIG, where SIG is the signal that killed it. (u _spawnvefuexecvpe(umodeufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnvpeqsuspawnvpecGst|||ƒS(uspawnl(mode, file, *args) -> integer Execute file with arguments from args in a subprocess. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwise return -SIG, where SIG is the signal that killed it. (uspawnv(umodeufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnlsuspawnlcGs'|d}t|||dd…|ƒS(u:spawnle(mode, file, *args, env) -> integer Execute file with arguments from args in a subprocess with the supplied environment. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwise return -SIG, where SIG is the signal that killed it. iNiÿÿÿÿiÿÿÿÿ(uspawnve(umodeufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnleˆs uspawnlecGst|||ƒS(uWspawnlp(mode, file, *args) -> integer Execute file (which is looked for along $PATH) with arguments from args in a subprocess with the supplied environment. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwise return -SIG, where SIG is the signal that killed it. (uspawnvp(umodeufileuargs((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnlpšsuspawnlpcGs'|d}t|||dd…|ƒS(u]spawnlpe(mode, file, *args, env) -> integer Execute file (which is looked for along $PATH) with arguments from args in a subprocess with the supplied environment. If mode == P_NOWAIT return the pid of the process. If mode == P_WAIT return the process's exit code if it exits normally; otherwise return -SIG, where SIG is the signal that killed it. iNiÿÿÿÿiÿÿÿÿ(uspawnvpe(umodeufileuargsuenv((u'/opt/alt/python33/lib64/python3.3/os.pyuspawnlpe¤s uspawnlpecCs t||ƒS(N(u stat_result(utupudict((u'/opt/alt/python33/lib64/python3.3/os.pyu_make_stat_result´su_make_stat_resultcCs|jƒ\}}t|fS(N(u __reduce__u_make_stat_result(usrutypeuargs((u'/opt/alt/python33/lib64/python3.3/os.pyu_pickle_stat_result·su_pickle_stat_resultcCs t||ƒS(N(ustatvfs_result(utupudict((u'/opt/alt/python33/lib64/python3.3/os.pyu_make_statvfs_resultÀsu_make_statvfs_resultcCs|jƒ\}}t|fS(N(u __reduce__u_make_statvfs_result(usrutypeuargs((u'/opt/alt/python33/lib64/python3.3/os.pyu_pickle_statvfs_resultÃsu_pickle_statvfs_resulturc Cst|tƒs(tdt|ƒƒ‚n|d krGtd|ƒ‚n|dks_|dkrntdƒ‚nddl}ddl}|dkrÏ|j|dd d|j d |ƒ}t |j |j ƒ|ƒS|j|dd d |j d |ƒ}t |j |jƒ|ƒSdS( Nu&invalid cmd type (%s, expected string)uruwuinvalid mode %riu+popen() does not support unbuffered streamsushellustdoutubufsizeustdin(uruwT(u isinstanceustru TypeErrorutypeu ValueErroruNoneu subprocessuiouPopenuTrueuPIPEu _wrap_closeu TextIOWrapperustdoutustdin(ucmdumodeu bufferingu subprocessuiouproc((u'/opt/alt/python33/lib64/python3.3/os.pyupopenÎs$        cBs\|EeZdZdd„Zdd„Zdd„Zdd„Zd d „Zd d „Zd S(u _wrap_closecCs||_||_dS(N(u_streamu_proc(uselfustreamuproc((u'/opt/alt/python33/lib64/python3.3/os.pyu__init__ås u_wrap_close.__init__cCsH|jjƒ|jjƒ}|dkr,dStdkr<|S|d>SdS(Niunti(u_streamucloseu_procuwaituNoneuname(uselfu returncode((u'/opt/alt/python33/lib64/python3.3/os.pyucloseès   u_wrap_close.closecCs|S(N((uself((u'/opt/alt/python33/lib64/python3.3/os.pyu __enter__ñsu_wrap_close.__enter__cGs|jƒdS(N(uclose(uselfuargs((u'/opt/alt/python33/lib64/python3.3/os.pyu__exit__ósu_wrap_close.__exit__cCst|j|ƒS(N(ugetattru_stream(uselfuname((u'/opt/alt/python33/lib64/python3.3/os.pyu __getattr__õsu_wrap_close.__getattr__cCs t|jƒS(N(uiteru_stream(uself((u'/opt/alt/python33/lib64/python3.3/os.pyu__iter__÷su_wrap_close.__iter__N( u__name__u __module__u __qualname__u__init__ucloseu __enter__u__exit__u __getattr__u__iter__(u __locals__((u'/opt/alt/python33/lib64/python3.3/os.pyu _wrap_closeäs     u _wrap_closecOsGt|tƒs(tdt|ƒƒ‚nddl}|j|||ŽS(Nu&invalid fd type (%s, expected integer)i(u isinstanceuintu TypeErrorutypeuiouopen(ufduargsukwargsuio((u'/opt/alt/python33/lib64/python3.3/os.pyufdopenûs iÿÿÿÿFT(uos2unt(ugetenvusupports_bytes_environ(uenvironbugetenvbiÿÿÿÿ(su__doc__usysuerrnoustatustubuiltin_module_namesu_namesu__all__u_existsu_get_exports_listunameulinesepuposixu_exituappendu ImportErroru posixpathupathu_have_functionsuntuntpathuextenduos2uversionufindu os2emxpathu _emx_linkulinkuceumodulesuos.pathucurdirupardirusepupathsepudefpathuextsepualtsepudevnulluglobalsu_globalsu_addusetu_setusupports_dir_fdusupports_effective_idsuaddu supports_fdusupports_follow_symlinksuSEEK_SETuSEEK_CURuSEEK_ENDuFalseumakedirsu removedirsurenamesuTrueuNoneuwalkuopenulistdirufwalku_fwalkuenvironu NameErroruexecluexecleuexeclpuexeclpeuexecvpuexecvpeu_execvpeu get_exec_pathucollections.abcuMutableMappingu_Environuputenvu_putenvuunsetenvu _unsetenvu_createenvironugetenvusupports_bytes_environu _check_bytesu_dataubytesuenvironbugetenvbu_fscodecufsencodeufsdecodeuP_WAITuP_NOWAITu P_NOWAITOu _spawnvefuspawnvuspawnveuspawnvpuspawnvpeuspawnluspawnleuspawnlpuspawnlpeucopyregu_copyregu_make_stat_resultu_pickle_stat_resultupickleu stat_resultu_make_statvfs_resultu_pickle_statvfs_resultustatvfs_resultupopenu _wrap_closeufdopen(((u'/opt/alt/python33/lib64/python3.3/os.pyusÈ                              :                                                Y $!, /       #-5              #%