AlkantarClanX12

Your IP : 3.133.109.251


Current Path : /proc/self/root/opt/alt/python33/lib64/python3.3/__pycache__/
Upload File :
Current File : //proc/self/root/opt/alt/python33/lib64/python3.3/__pycache__/os.cpython-33.pyo

�
��fۇc@@s�
dZddlZddlZddlZejZddddddd	d
ddd
ddddddddgZdd�Zdd�Z	dekrdZ
dZddlTy!ddlm
Z
ejd�Wnek
r�YnXddlZyddlmZWqsek
rYqsXnYd ekr�d Z
d!ZddlTy!ddlm
Z
ejd�Wnek
rqYnXddlZddlZeje	e��[yddlmZWqsek
r�YqsXn�d"ekr�d"Z
d!ZddlTy!ddlm
Z
ejd�Wnek
r#YnXejjd#�d�krKddlZnddlZdd%lmZddlZeje	e��[yddlmZWqsek
r�YqsXn�d&ekrgd&Z
d!ZddlTy!ddlm
Z
ejd�Wnek
rYnXddlZddlZeje	e��[yddlmZWqsek
rcYqsXned'��eejd(<dd)lmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&[ed*�r[e'�Z(d+d,�Z)e*�Z+e)d-d.�e)d/d0�e)d1d2�e)d3d4�e)d5d6�e)d7d8�e)d9d:�e)d;d<�e)d=d>�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_existscCsAyt|j�SWn)tk
r<dd�t|�D�SYnXdS(NcSs&g|]}|ddkr|�qS(iu_((u.0un((u'/opt/alt/python33/lib64/python3.3/os.pyu
<listcomp>,s	u%_get_exports_list.<locals>.<listcomp>(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_FUTIMESATuutimeuHAVE_LINKATulinkuHAVE_MKDIRATumkdiru
HAVE_MKFIFOATumkfifouHAVE_MKNODATumknoduHAVE_OPENATuopenuHAVE_READLINKATureadlinku
HAVE_RENAMEATurenameuHAVE_SYMLINKATusymlinku
HAVE_UNLINKATuunlinkurmdiruHAVE_UTIMENSATuHAVE_FCHDIRuchdiruHAVE_FCHMODuHAVE_FCHOWNuHAVE_FDOPENDIRulistdiruHAVE_FEXECVEuexecveuHAVE_FTRUNCATEutruncateu
HAVE_FUTIMENSuHAVE_FUTIMESuHAVE_FPATHCONFupathconfustatvfsufstatvfsu
HAVE_FSTATVFSu
HAVE_LCHFLAGSuchflagsuHAVE_LCHMODulchownuHAVE_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
removedirss

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(
utoputopdownuonerrorufollowlinksuislinkujoinuisdirunamesuerrudirsunondirsunameunew_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|�}
WnBtk
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�tk
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
�Zdd�Zd
d�Z	dd�Z
dd�ZdS(u_EnvironcCsC||_||_||_||_||_||_||_dS(N(u	encodekeyu	decodekeyuencodevalueudecodevalueuputenvuunsetenvu_data(uselfudatau	encodekeyu	decodekeyuencodevalueudecodevalueuputenvuunsetenv((u'/opt/alt/python33/lib64/python3.3/os.pyu__init__�s						u_Environ.__init__cCsKy|j|j|�}Wn!tk
r=t|�d�YnX|j|�S(N(u_datau	encodekeyuKeyErroruNoneudecodevalue(uselfukeyuvalue((u'/opt/alt/python33/lib64/python3.3/os.pyu__getitem__�s

u_Environ.__getitem__cCs?|j|�}|j|�}|j||�||j|<dS(N(u	encodekeyuencodevalueuputenvu_data(uselfukeyuvalue((u'/opt/alt/python33/lib64/python3.3/os.pyu__setitem__�su_Environ.__setitem__cCsR|j|�}|j|�y|j|=Wn!tk
rMt|�d�YnXdS(N(u	encodekeyuunsetenvu_datauKeyErroruNone(uselfukeyu
encodedkey((u'/opt/alt/python33/lib64/python3.3/os.pyu__delitem__�s

u_Environ.__delitem__ccs&x|jD]}|j|�Vq
WdS(N(u_datau	decodekey(uselfukey((u'/opt/alt/python33/lib64/python3.3/os.pyu__iter__�su_Environ.__iter__cCs
t|j�S(N(ulenu_data(uself((u'/opt/alt/python33/lib64/python3.3/os.pyu__len__�su_Environ.__len__cs2djdj�fdd��jj�D���S(Nuenviron({{{}}})u, c3s9|]/\}}dj�j|��j|��VqdS(u
{!r}: {!r}N(uformatu	decodekeyudecodevalue(u.0ukeyuvalue(uself(u'/opt/alt/python33/lib64/python3.3/os.pyu	<genexpr>�su$_Environ.__repr__.<locals>.<genexpr>(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|||<n||S(N((uselfukeyuvalue((u'/opt/alt/python33/lib64/python3.3/os.pyu
setdefault�s
u_Environ.setdefaultN(u__name__u
__module__u__qualname__u__init__u__getitem__u__setitem__u__delitem__u__iter__u__len__u__repr__ucopyu
setdefault(u
__locals__((u'/opt/alt/python33/lib64/python3.3/os.pyu_Environ�s		u_EnvironcCsdS(N(uNone(ukeyuvalue((u'/opt/alt/python33/lib64/python3.3/os.pyu<lambda>�su<lambda>uputenvcCs
t|d�S(Nu(u_putenv(ukey((u'/opt/alt/python33/lib64/python3.3/os.pyu<lambda>�suunsetenvcs�tdkrldd�}|�t}�fdd�}i}xitj�D]\}}||||�<qIWn<tj���fdd���fd	d
�}�}t}t|||�|tt�S(Nuos2untcSs/t|t�s+tdt|�j��n|S(Nustr expected, not %s(u
isinstanceustru	TypeErrorutypeu__name__(uvalue((u'/opt/alt/python33/lib64/python3.3/os.pyu	check_str�su!_createenviron.<locals>.check_strcs�|�j�S(N(uupper(ukey(uencode(u'/opt/alt/python33/lib64/python3.3/os.pyu	encodekey�su!_createenviron.<locals>.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.<locals>.encodecs|j�d�S(Nusurrogateescape(udecode(uvalue(uencoding(u'/opt/alt/python33/lib64/python3.3/os.pyudecode�su_createenviron.<locals>.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.<locals>.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.<locals>.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
WIFSTOPPEDuWIFSIGNALEDuWTERMSIGu	WIFEXITEDuWEXITSTATUSuerror(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(ustat_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|dkrGtd|��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
�Zdd�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_exituappenduImportErroru	posixpathupathu_have_functionsuntuntpathuextenduos2uversionufindu
os2emxpathu	_emx_linkulinkuceumodulesuos.pathucurdirupardirusepupathsepudefpathuextsepualtsepudevnulluglobalsu_globalsu_addusetu_setusupports_dir_fdusupports_effective_idsuaddusupports_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_resultupickleustat_resultu_make_statvfs_resultu_pickle_statvfs_resultustatvfs_resultupopenu_wrap_closeufdopen(((u'/opt/alt/python33/lib64/python3.3/os.pyu<module>s�	












:		















	
	









	










Y
$!,/
		#-5





	
	#%