Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.135.212.244
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : __init__.pyc
�
���cc@sddlZddlZddlZddlZddlZddlZddlZddlZddlm	Z	m
Z
mZmZm
Z
mZmZmZmZmZddlZddlZddlmZmZmZmZddlmZmZmZddlmZddlm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&ej'r\ddl(m)Z)nddl*m)Z)ej'r�ddl+Z+e+j,Z-nddl.Z+e+j/j0Z-y
e1Z1Wne2k
r�ej1Z1nXe3Z4ej5dkr?ddl6Z6ej7�j8d	koej9d
dfkr0ddl6m:Z;e;Z:ne<Z4e=Z:ne=Z6ydd
lm>Z?Wn!e@k
r|dd
l>m>Z?nXddddddgZAeeefZBdfZCd�ZDd�ZEe=d�ZFd�ZGe	d�ZHd�ZId�ZJd�ZKdeLfd��YZMdeMfd ��YZNd!eMfd"��YZOeN�ZPeO�ZQd#fd$��YZRd%�ZSd&�ZTd'eRfd(��YZUeU�ZVd)�ZWeXed*�r�ejY�eW�ZWnd+fd,��YZZd-fd.��YZ[d/eZfd0��YZ\d1eZfd2��YZ]d3eZfd4��YZ^d5e)fd6��YZ_e	d7d8d�Z`deLfd9��YZaej9d
d	fkr�ejbjcea�ndeafd:��YZddeafd;��YZedeafd<��YZfdefedfd=��YZgdefeefd>��YZhdS(?i����N(
tTypeVartTypetUniontTexttTupletListtAnytCallabletIterabletOptional(tEINVALtENOENTtENOTDIRtEBADF(tEEXISTtEPERMtEACCES(t
attrgetter(tS_ISDIRtS_ISLNKtS_ISREGtS_ISSOCKtS_ISBLKtS_ISCHRtS_ISFIFO(tSequencetntiii(t_getfinalpathname(tscandirtPurePatht
PurePosixPathtPureWindowsPathtPatht	PosixPathtWindowsPathicCs.t|dd�tkp-t|dd�tkS(Nterrnotwinerror(tgetattrtNonet_IGNORED_ERROSt_IGNORED_WINERRORS(t	exception((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt
_ignore_errorOscCsQtjr4t|tj�r4|jtj�p0d�St|t�sIt�|SdS(Ntascii(	tsixtPY2t
isinstancet	text_typetencodetsystgetfilesystemencodingtstrtAssertionError(tpart((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt
_py2_fsencodeUscCs�tjdkrSy|�Wntk
r9}||�q�X|dk	r�|�q�nVy|�Wn2tk
r�}|jtkr��q�||�nX|dk	r�|�ndS(Ni(ii(R1tversion_infotFileExistsErrorR&tEnvironmentErrorR#R(ttry_functexcept_funct	else_functexc((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt_try_except_fileexistserrorbs
cCstjdkr=y|�Wqtk
r9}||�qXn�tjdkr�y|�Wqtk
r�}|jtkr~�q�||�qXnqy|�Wnctk
r�}|jdkr��q||�n2tk
r�}|jtkr��q||�nXdS(NiRi(ii(ii(	R1R7tFileNotFoundErrortostnameR9R#RtWindowsError(R:R;R=((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt_try_except_filenotfounderror}s,
t_Tccs�tjdkrayx|�D]}|VqWWq�tk
r]}x||�D]}|VqKWq�Xnjyx|�D]}|VqnWWnJtk
r�}|jttfkr��q�x||�D]}|Vq�WnXdS(Ni(ii(R1R7tPermissionErrorR9R#RR(ttry_itertexcept_itertxR=((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt _try_except_permissionerror_iter�s

cs�ddlm}m}m}ddlm�m}m}d|f�fd��Y�d|f��fd��Y}tjj	j
}tj��tj��|g|_
||_tjj	j}|||�g|_
||_tjj	j}	|g|	_
||	_d}
d	}d
}d}
tjj|�r3|}nd}|||
|d|
|d�}|dkr�tjdkr�t|��q�td�}t|_|�n|�}|||�}|	|�|dkr�|��n|j|j|jfS(Ni����(tPOINTERt	StructuretWinError(tDWORDtHANDLEtBOOLtFILETIMEcs eZd�fd�fgZRS(tdatetime_lotdatetime_hi(t__name__t
__module__t_fields_((RM(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRP�s	tBY_HANDLE_FILE_INFORMATIONcsheZd�fd�fd�fd�fd�fd�fd�fd�fd�fd	�fg
ZRS(
t
attributest
created_attaccessed_att
written_attvolumetfile_hitfile_lotn_linkstindex_hitindex_lo(RSRTRU((RMRP(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRV�s									I�iiiiI����l����sfile not found: path(I����l����(ii(tctypesRJRKRLtctypes.wintypesRMRNROtwindlltkernel32tCreateFileWt	c_wchar_ptc_void_ptargtypestrestypetGetFileInformationByHandletCloseHandleR@tpathtisdirR&R1R7R?tOSErrorRR#R[R_R`(RlRJRKRLRNRORVt
CreateFileRjRktGENERIC_READtFILE_SHARE_READtFILE_FLAG_BACKUP_SEMANTICSt
OPEN_EXISTINGtflagsthfileR=tinfotsuccess((RMRPs5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt_win32_get_unique_path_id�sF
							
cCs"d|kp!d|kp!d|kS(Nt*t?t[((tpat((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt_is_wildcard_pattern�st_FlavourcBsbeZdZdZdZeZd�Zd�Z	d�Z
d�Zed�Zd�Z
d�ZRS(	sPA flavour implements a particular (platform-specific) set of path
    semantics.cCs|jj|_dS(N(tseptjoin(tself((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__init__scCs
t�dS(N(tNotImplementedError(R�ts((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytcasefoldscCs
t�dS(N(R�(R�tparts((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytcasefold_partsscCs
t�dS(N(R�(R�tusername((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt
gethomedirscCs
t�dS(N(R�(R�R5R((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt	splitrootsc
Cs�ttt|��}g}|j}|j}d}}t|�}x:|D]2}	|	s\qJn|rw|	j||�}	n|j|	�\}}}
||
kr�xpt|
j|��D].}|r�|dkr�|j	t
|��q�q�Wn(|
r|
dkr|j	t
|
��n|s|rJ|sxxU|D]J}|s9q'n|rT|j||�}n|j|�d}|r'Pq'q'WnPqJqJW|s�|r�|j	||�n|j�|||fS(Ntt.i(tlisttmapR6RtaltseptreversedtreplaceR�tsplittappendtinterntreverse(
R�R�tparts2tparsedRR�tdrvtroottitR5trelRHtpart2((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytparse_partssB		



cCs�|r2|r�|r�||||g|dfSnY|rz||ksb|j|�|j|�kr�||||dfSn||||fS|||fS(s�
        Join the two paths represented by the respective
        (drive, root, parts) tuples.  Return a new (drive, root, parts) tuple.
        i(R�(R�R�R�R�tdrv2troot2R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytjoin_parsed_partsFs
*N(RSRTt__doc__R&RR�tFalsetis_supportedR�R�R�R�R�R�R�(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR~s					(t_WindowsFlavourcBseZdZdZeZeZej	dkZ
ed�ZdZ
eddddg�eged	d
�D]Zde^qg�Beged	d
�D]Zde^q��BZed
�Zd�Zd�Zed�Ze
d�Zd�Zd�Zd�Zd�ZRS(s\t/Rt4abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZs\\?\tCONtPRNtAUXtNULii
sCOM%dsLPT%dcCs�|dd!}|dd!}||krd||krd|j|�\}}|dd!}|dd!}nd}|dd!}||krB||krB||krB|j|d�}|dkrB|j||d�}||dkr?|dkr�t|�}n|r ||d|!|||dfS|| |||dfSq?qBnd}	}
|dkr�||jkr�|d }	|d}|}n||kr�|}
|j|�}n||	|
|fS(NiiiR�ii����t:(t_split_extended_pathtfindtlent
drive_letterstlstrip(R�R5Rtfirsttsecondtprefixtthirdtindextindex2R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�{s6



$ "


	cCs
|j�S(N(tlower(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��scCsg|D]}|j�^qS(N(R�(R�R�tp((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��scst|���stj�Stdk	r�|rA�jt���Sg}���fd�}d�}x�tr�ddg�t||��ddkr��}tjj	��\�}|j
|�|�kr�|Sqh�d�tjj�t|��SqhWndS(Ncs'�jt����d<d�d<dS(Nii(t_ext_to_normalR((tresultR�R�(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt	_try_func�scSsdS(N((R=((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt	_exc_func�sR�ii(
R3R@tgetcwdRR&R�tTrueRCRlR�R�R�R�(R�Rltstrictt
tail_partsR�R�t
previous_sttail((R�R�R�s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytresolve�s*
		


 cCsdd}|j|�rZ|d }|d}|jd�rZ||d 7}d|d}qZn||fS(NR�isUNC\is\(t
startswith(R�R�t
ext_prefixR�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��s

cCs|j|�dS(Ni(R�(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��scCsE|s
tS|djd�r!tS|djd�dj�|jkS(Nis\\i����R�(R�R�t	partitiontuppertreserved_names(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytis_reserved�s
cCs�|j}t|�dkra|ddkra|j�djd�}d|t|jd��fSdt|j�jd��SdS(NiiR�R�s
file:///%s/%ssutf-8sfile:(tdriveR�tas_posixR�turlquote_from_bytesR0(R�RlR�trest((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytmake_uri�s	"cCsCdtjkrtjd}nydtjkr>tjd}nZdtjkr�ytjd}Wntk
rwd}nX|tjd}ntd��|r?tjd|kr?|j|f�\}}}|dtjdkr�td	|��n||d<|s|r*|||j|d
�}q<|j|�}q?n|S(NtHOMEtUSERPROFILEtHOMEPATHt	HOMEDRIVER�sCan't determine home directorytUSERNAMEi����s%Can't determine home directory for %ri(R@tenvirontKeyErrortRuntimeErrorR�R�(R�R�tuserhomeR�R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��s,



(RSRTRR�R�thas_drvtntpathtpathmodR@RAR�tsetR�text_namespace_prefixtrangetiR�R�R�R�R�R�R�R�R�R�R�(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�as$?-	'		"			
t
_PosixFlavourcBsteZdZdZeZeZej	dkZ
ed�Zd�Zd�Z
ed�Zd�Zd�Zd	�ZRS(
R�R�RcCss|rb|d|krb|j|�}t|�t|�dkrRd|d|fSd||fSn
dd|fSdS(NiiR�(R�R�(R�R5Rt
stripped_part((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�scCs|S(N((R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�+scCs|S(N((R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�.scsj|j�|j�i������fd��|j�rEdn	tj�}�|t|��pi�S(Ncs/|j��rd}nx|j��D]�}|s(|dkrGq(n|dkrq|j��\}}}q(n|�|}|�kr��|}|dk	r�q(ntd|��ny�j|�}Wn4tk
r}|jtkr��r��n|}q(Xd�|<�||�}|�|<q(W|S(NR�R�s..sSymlink loop from %r(	R�R�t
rpartitionR&R�treadlinkRnR#R
(RlR�RAt_tnewpathttargette(t_resolvetaccessortseenRR�(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�6s0	


R�(Rt	_accessortis_absoluteR@R�R3(R�RlR�tbase((R�R�R�RR�s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�1s		'cCstS(N(R�(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�`scCst|�}dt|�S(Nsfile://(tbytesR�(R�Rltbpath((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�cscCs�|sKytjdSWq�tk
rGddl}|jtj��jSXnDddl}y|j|�jSWn!tk
r�td|��nXdS(NR�i����s%Can't determine home directory for %r(	R@R�R�tpwdtgetpwuidtgetuidtpw_dirtgetpwnamR�(R�R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�is

(RSRTRR�R�R�t	posixpathR�R@RAR�R�R�R�R�R�R�R�(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�s		/		t	_AccessorcBseZdZRS(sjAn accessor implements a particular (system-specific or not) way of
    accessing paths on the filesystem.(RSRTR�(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�}scs(tj���fd��}t|�S(Ncs�t|�|�S(N(R3(tpathobjtargs(tstrfunc(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytwrapped�s(t	functoolstwrapststaticmethod(R�R�((R�s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt
_wrap_strfunc�scs(tj���fd��}t|�S(Ncs�t|�t|�|�S(N(R3(tpathobjAtpathobjBR�(R�(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��s(R�R�R�(R�R�((R�s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt_wrap_binary_strfunc�st_NormalAccessorcBs=eZeej�Zeej�Zeej�Zeej�Zee�Z	eej
�Z
eed�r~eej�Zn	d�Zeej
�Z
eej�Zeej�Zeej�Zejdkr�eej�Znerereej�Zq#ed��Zned��Zeej�Zd�ZRS(tlchmodcCstd��dS(Ns%lchmod() not available on this system(R�(R�R�tmode((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�sicCstd��dS(Ns&symlink() not available on this system(R�(tatbttarget_is_directory((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytsymlink�scCstjt|�t|��S(N(R@RR3(RRR((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�scCs
tj|�S(N(R@R�(R�Rl((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��s(ii(RSRTR�R@tstattlstattopentlistdirt
os_scandirRtchmodthasattrRtmkdirtunlinktrmdirRtrenameR1R7R�Rtsupports_symlinksRR�tutimeR�(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�s,	cCsl|d}|d}|dkr)t}n6d|krDtd��nt|�rYt}nt}|||�S(Niis**s:Invalid pattern: '**' can only be an entire path component(t_RecursiveWildcardSelectort
ValueErrorR}t_WildcardSelectort_PreciseSelector(t
pattern_partsR|tchild_partstcls((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt_make_selector�s

		t	lru_cachet	_SelectorcBs eZdZd�Zd�ZRS(sYA selector matches a specific glob pattern part against the children
    of a given path.cCsC||_|r*t|�|_t|_nt�|_t|_dS(N(RRt	successorR�tdironlyt_TerminatingSelectorR�(R�R((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��s	cCsVt|�}|j}|j}|jj}||�s@tg�S|j||||�S(suIterate over all child paths of `parent_path` matched by this
        selector.  This can contain parent_path itself.(ttypetis_dirtexistsR�Rtitert_select_from(R�tparent_pathtpath_clsR#R$R((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytselect_from�s		
(RSRTR�R�R)(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�s		R!cBseZd�ZRS(ccs	|VdS(N((R�R'R#R$R((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR&�s(RSRTR&(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR!�sRcBseZd�Zd�ZRS(cCs||_tj||�dS(N(RARR�(R�RAR((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�s	c#sG�����fd�}d�}xt||�D]}|Vq4WdS(Nc3s_�j�j�}�jr!�n�|�r[x+�jj|����D]}|VqIWndS(N(t_make_child_relpathRAR RR&(RlR�(R$R#R'RR�(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRFs
cSs
tg�S(N(R%(R=((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRG
s(RI(R�R'R#R$RRFRGRH((R$R#R'RR�s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR&s	(RSRTR�R&(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�s	RcBseZd�Zd�ZRS(cCs/tjtj|��|_tj||�dS(N(tretcompiletfnmatcht	translateR|RR�(R�R|R((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�sc#sG�����fd�}d�}xt||�D]}|Vq4WdS(Nc3s��jj}t����}x�|D]�}�jsA|j�r%|j}||�}�jj|�r��j|�}x+�j	j
|����D]}|Vq�Wq�q%q%WdS(N(t_flavourR�R�R R#RAR|tmatchR*RR&(tcftentriestentryRAt
casefoldedRlR�(R$R#R'RR�(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRFs
	cSs
tg�S(N(R%(R=((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRG(s(RI(R�R'R#R$RRFRGRH((R$R#R'RR�s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR&s
	(RSRTR�R&(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRs	RcBs#eZd�Zd�Zd�ZRS(cCstj||�dS(N(RR�(R�R|R((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�1sc#sI�V����fd�}d�}xt||�D]}|Vq6WdS(Nc3s�t����}x�|D]�}t}y|j�}Wn%tk
r\}t|�s]�q]nX|r|j�r�j|j�}x%�j|���D]}|Vq�WqqWdS(N(	R�R�R#RnR*t
is_symlinkR*RAt_iterate_directories(R2R3tentry_is_dirR�RlR�(R#R'RR�(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRF7s

cSs
tg�S(N(R%(R=((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRGEs(RI(R�R'R#RRFRGRH((R#R'RR�s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR64s
	c#sG�����fd�}d�}xt||�D]}|Vq4WdS(Nc3s�t�}zq�jj}x^�j����D]G}x>||����D]'}||krJ|V|j|�qJqJWq.WWd|j�XdS(N(R�RR&R6taddtclear(tyieldedtsuccessor_selecttstarting_pointR�(R$R#R'RR�(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRFLs		cSs
tg�S(N(R%(R=((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRGZs(RI(R�R'R#R$RRFRGRH((R$R#R'RR�s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR&Ks	(RSRTR�R6R&(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR/s		t_PathParentscBs8eZdZd	Zd�Zd�Zd�Zd�ZRS(
svThis object provides sequence-like access to the logical ancestors
    of a path.  Don't try to construct it yourself.t_pathclst_drvt_roott_partscCs7t|�|_|j|_|j|_|j|_dS(N(R"R>R?R@RA(R�Rl((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�kscCs4|js|jr#t|j�dSt|j�SdS(Ni(R?R@R�RA(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__len__rscCsU|dks|t|�kr-t|��n|jj|j|j|j|d �S(Nii(R�t
IndexErrorR>t_from_parsed_partsR?R@RA(R�tidx((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__getitem__xscCsdj|jj�S(Ns
<{0}.parents>(tformatR>RS(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__repr__~s(R>R?R@RA(RSRTR�t	__slots__R�RBRFRH(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR=es			t_PtboundcBseZdZd3Zd4Zd�Zd	�Zd
�Ze	d��Z
e	ed��Ze	ed
��Z
e	d��Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zed��Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zee d�dd �Z!ee d�dd!�Z"ed"��Z#ed#��Z$ed$��Z%ed%��Z&ed&��Z'd'�Z(d(�Z)d)�Z*ed*��Z+d+�Z,d,�Z-d-�Z.e/j0r�e-Z1e.Z2ned.��Z3ed/��Z4d0�Z5d1�Z6d2�Z7RS(5sHPurePath represents a filesystem path and offers operations which
    don't imply any actual filesystem I/O.  Depending on your system,
    instantiating a PurePath will return either a PurePosixPath or a
    PureWindowsPath object.  You can also instantiate either of these classes
    directly, regardless of your system.
    R?R@RAt_strt_hasht_ppartst_cached_cpartscCs1||_||_||_||_||_dS(N(R?R@RARLRM(R�R�R�R�tstr_thash_((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__type_hints__�s
				cGs7|tkr*tjdkr!tnt}n|j|�S(s�Construct a PurePath from one or several strings and or existing
        PurePath objects.  The strings and path objects are combined so as
        to yield a canonicalized path, which is incorporated into the
        new PurePath object.
        R(RR@RARRt_from_parts(RR�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__new__�scCs|jt|j�fS(N(t	__class__ttupleRA(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt
__reduce__�scs�g}x�|D]��t�t�r2|�j7}q
tjdkrStj���nt�d�fd����t�t�r�|j	t���q
t
jr�t�t
j�r�|j	t
���q
tdt����q
W|jj|�S(Niit
__fspath__cs�S(N(((R(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt<lambda>�R�sNargument should be a str object or an os.PathLike object returning str, not %r(ii(R.RRAR1R7R@tfspathR%R3R�R,R-R/R6t	TypeErrorR"R/R�(RR�R�((Rs5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt_parse_args�s
cCsYtj|�}|j|�\}}}||_||_||_|rU|j�n|S(N(tobjectRTR\R?R@RAt_init(RR�tinitR�R�R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRS�s			
cCsAtj|�}||_||_||_|r=|j�n|S(N(R]RTR?R@RAR^(RR�R�R�R_R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRD�s			
cCs<|s|r(|||jj|d�S|jj|�SdS(Ni(R/R�(RR�R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt_format_parsed_parts�scCsdS(N((R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR^�scCs^|j|�\}}}|jj|j|j|j|||�\}}}|j|||�S(N(R\R/R�R?R@RARD(R�R�R�R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt_make_child�s	*cCsNy|jSWn<tk
rI|j|j|j|j�p<d|_|jSXdS(s[Return the string representation of the path, suitable for
        passing to system calls.R�N(RLtAttributeErrorR`R?R@RA(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__str__�s
cCs
t|�S(N(R3(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRXscCs"|j}t|�j|jd�S(sNReturn the string representation of the path with forward (/)
        slashes.R�(R/R3R�R(R�tf((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�s	cCs1tjdkrtd��ntjt|��S(saReturn the bytes representation of the path.  This is only
        recommended to use under Unix.iisneeds Python 3.2 or later(ii(R1R7R�R@tfsencodeR3(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt	__bytes__scCsdj|jj|j��S(Ns
{0}({1!r})(RGRURSR�(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRHscCs+|j�std��n|jj|�S(s Return the path as a 'file' URI.s.relative path can't be expressed as a file URI(R�RR/R�(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytas_uriscCs?y|jSWn-tk
r:|jj|j�|_|jSXdS(N(RORbR/R�RA(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt_cpartss

cCs5t|t�stS|j|jko4|j|jkS(N(R.RtNotImplementedRhR/(R�tother((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__eq__%scCs||kS(N((R�Rj((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__ne__,scCs?y|jSWn-tk
r:tt|j��|_|jSXdS(N(RMRbthashRVRh(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__hash__/s

cCs6t|t�s"|j|jk	r&tS|j|jkS(N(R.RR/RiRh(R�Rj((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__lt__7scCs6t|t�s"|j|jk	r&tS|j|jkS(N(R.RR/RiRh(R�Rj((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__le__=scCs6t|t�s"|j|jk	r&tS|j|jkS(N(R.RR/RiRh(R�Rj((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__gt__CscCs6t|t�s"|j|jk	r&tS|j|jkS(N(R.RR/RiRh(R�Rj((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__ge__Istdocs.The drive prefix (letter or UNC path), if any.sThe root of the path, if any.cCs|j|j}|S(s/The concatenation of the drive and root, or ''.(R?R@(R�tanchor((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRtUscCs?|j}t|�|js$|jr*dndkr7dS|dS(s!The final path component, if any.iiR�i����(RAR�R?R@(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRA[s	*cCsN|j}|jd�}d|ko9t|�dknrF||SdSdS(s*The final component's last suffix, if any.R�iiR�N(RAtrfindR�(R�RAR�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytsuffixcs
	&cCsS|j}|jd�rgS|jd�}g|jd�dD]}d|^q?S(s1A list of the final component's suffixes, if any.R�i(RAtendswithR�R�(R�RARv((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytsuffixesms
	cCsN|j}|jd�}d|ko9t|�dknrF|| S|SdS(s0The final path component, minus its last suffix.R�iiN(RARuR�(R�RAR�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytstemvs
	&cCs�|jstd|f��n|jj|f�\}}}|s�|d|jj|jjgks�|s�|s�t|�dkr�td|��n|j|j|j	|j
d |d�S(s-Return a new path with the file name changed.s%r has an empty namei����isInvalid name %r(RARR/R�RR�R�RDR?R@RA(R�RAR�R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt	with_name�s	)cCs|j}|j|ks0|jrC|j|krCtd|��n|rY|jd�se|dkrxtd|��nt|�}|j}|s�td|f��n|j}|s�||}n|t|� |}|j	|j
|j|jd |g�S(s�Return a new path with the file suffix changed.  If the path
        has no suffix, add given suffix.  If the given suffix is an empty
        string, remove the suffix from the path.
        sInvalid suffix %rR�s%r has an empty namei����(
R/RR�RR�R6RARvR�RDR?R@RA(R�RvRdRAt
old_suffix((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytwith_suffix�s	'"		
c
Gs?|std��n|j}|j}|j}|rM||g|d}n|}|j|�\}}}|r�||g|d}	n|}	t|	�}
|jj}|
dkr�|p�|n|||
 �||	�kr|j|||�}t	dj
t|�t|����n|jd|
dkr1|nd||
�S(s�Return the relative path to another path identified by the passed
        arguments.  If the operation is not possible (because this is not
        a subpath of the other path), raise ValueError.
        sneed at least one argumentiis{0!r} does not start with {1!r}R�(
R[RAR?R@R\R�R/R�R`RRGR3RD(
R�RjR�R�R�t	abs_partstto_drvtto_roottto_partstto_abs_partstnR1t	formatted((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytrelative_to�s(				4	cCs9y|jSWn'tk
r4t|j�|_|jSXdS(sZAn object providing sequence-like access to the
        components in the filesystem path.N(RNRbRVRA(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��s

cGs
|j|�S(s�Combine this path with one or several arguments, and return a
        new path representing either a subpath (if all arguments are relative
        paths) or a totally different path (if one of the arguments is
        anchored).
        (Ra(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytjoinpath�scCs|j|f�S(N(Ra(R�tkey((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__truediv__�scCs|j|g|j�S(N(RSRA(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__rtruediv__�scCsT|j}|j}|j}t|�dkr=|s9|r=|S|j|||d �S(sThe logical parent of the path.ii����(R?R@RAR�RD(R�R�R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytparent�s			cCs
t|�S(s*A sequence of this path's logical parents.(R=(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytparents�scCs'|js
tS|jjp&t|j�S(sSTrue if the path is absolute (has both a root and, if applicable,
        a drive).(R@R�R/R�tboolR?(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��s	cCs|jj|j�S(saReturn True if the path contains one of the special names reserved
        by the system, if any.(R/R�RA(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��sc	Cs)|jj}||�}|jj|f�\}}}|sKtd��n|rj|||j�krjtS|r�|||j�kr�tS|j}|s�|r�t|�t|�kr�tS|d}nt|�t|�kr�tSx?t	t
|�t
|��D]"\}}tj||�s�tSq�Wt
S(sE
        Return True if this path matches the given pattern.
        s
empty patterni(R/R�R�RR?R�R@RhR�tzipR�R-tfnmatchcaseR�(	R�tpath_patternR1R�R�t	pat_partsR�R5R|((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR0�s(	
((R?R@RARLRMRNRON(8RSRTR�RIR&R/RRRTRWtclassmethodR\R�RSRDR`R^RaRcRXR�RfRHRgtpropertyRhRkRlRnRoRpRqRrRR�R�RtRARvRxRyRzR|R�R�R�R�R�R,R-t__div__t__rdiv__R�R�R�R�R0(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�sj			 

																		
	
			 					
		cBseZeZdZRS(((RSRTt_posix_flavourR/RI(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRscBseZdZeZdZRS(s�PurePath subclass for Windows systems.

    On a Windows system, instantiating a PurePath should return this object.
    However, you can also instantiate it directly on any system.
    ((RSRTR�t_windows_flavourR/RI(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR$scBs�eZdZd3Zd�Zd4d�Zd�Zd�Zd�Z	d�Z
d	d
�Zdd�Ze
d
��Ze
d��Zd�Zd�Zd�Zd�Zd�Zed�Zd�Zd�Zd�Zddd4d4d4d�Zd�Zd4d4d�Zd�Zd4d4d4d�Zd	ed�Z deed �Z!d!�Z"d"�Z#d#�Z$d$�Z%d%�Z&d&�Z'd'�Z(ed(�Z)d)�Z*d*�Z+d+�Z,d,�Z-d-�Z.d.�Z/d/�Z0d0�Z1d1�Z2d2�Z3RS(5s�PurePath subclass that can make system calls.

    Path represents a filesystem path but unlike PurePath, also offers
    methods to do system calls on path objects. Depending on your system,
    instantiating a Path will return either a PosixPath or a WindowsPath
    object. You can also instantiate a PosixPath or WindowsPath directly,
    but cannot instantiate a WindowsPath on a POSIX system or vice versa.
    R�t_closedcOsr|tkr*tjdkr!tnt}n|j|dt�}|jjsdt	d|j
f��n|j�|S(NRR_s$cannot instantiate %r on your system(R R@RAR"R!RSR�R/R�R�RSR^(RR�tkwargsR�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRT?s
cCs1t|_|dk	r$|j|_n	t|_dS(N(R�R�R&R�t_normal_accessor(R�ttemplate((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR^Js	cCs)|j|g}|j|j|j|�S(N(RARDR?R@(R�R5R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR*TscCs|jr|j�n|S(N(R�t
_raise_closed(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt	__enter__Zs	
cCs
t|_dS(N(R�R�(R�tttvttb((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt__exit___scCstd��dS(NsI/O operation on closed path(R(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�bsi�cCs|jj|||�S(N(R�R
(R�RARtR((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt_openeresi�cCs,|jr|j�n|jj|||�S(sm
        Open the file pointed by this path and return a file descriptor,
        as os.open() does.
        (R�R�R�R
(R�RtR((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt	_raw_openis	
cCs|tj��S(sjReturn a new path pointing to the current working directory
        (as returned by os.getcwd()).
        (R@R�(R((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytcwdtscCs||�jjd��S(srReturn a new path pointing to the user's home directory (as
        returned by os.path.expanduser('~')).
        N(R/R�R&(R((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pythome{scCs�ttjd�rd|j�}y|j�}Wn tk
rPtj|�}nXtjj||�Stj|�}tj|�}t|�}t|�}||kSdS(soReturn whether other_path is the same or not as this file
        (as returned by os.path.samefile()).
        tsamestatN(	RR@RlRRbR�R,R/Rx(R�t
other_pathtsttother_stt	filename1t	filename2tst1tst2((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytsamefile�s
ccsm|jr|j�nxP|jj|�D]<}|dkrAq)n|j|�V|jr)|j�q)q)WdS(syIterate over the files in this directory.  Does not yield any
        result for the special paths '.' and '..'.
        R�s..N(R�s..(R�R�R�RR*(R�RA((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytiterdir�s	
	ccs�|stdj|���n|jj|�}|jj|f�\}}}|sZ|ritd��ntt|��}x|j|�D]}|Vq�WdS(s�Iterate over this subtree and yield all existing files (of any
        kind, including directories) matching the given relative pattern.
        sUnacceptable pattern: {0!r}s%Non-relative patterns are unsupportedN(	RRGR/R�R�R�RRVR)(R�tpatternR�R�RtselectorR�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytglob�sccs�|jj|�}|jj|f�\}}}|s<|rKtd��ntdt|��}x|j|�D]}|VqqWdS(s�Recursively yield all existing files (of any kind, including
        directories) matching the given relative pattern, anywhere in
        this subtree.
        s%Non-relative patterns are unsupporteds**N(s**(R/R�R�R�RRVR)(R�R�R�R�RR�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytrglob�scCs_|jr|j�n|j�r&|S|jtj�g|jdt�}|jd|�|S(sReturn an absolute version of this path.  This function works
        even if the path doesn't point to anything.

        No normalization is done, i.e. all '.' and '..' will be kept along.
        Use resolve() to get the canonical path to a file.
        R_R�(	R�R�R�RSR@R�RAR�R^(R�tobj((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytabsolute�s	
%cs��jr�j�n�jj�d|�}|dkrt�fd�}d�}t||�t�j��}nt|�}�jjj	|�}�j
|fdt�}|jd��|S(s�
        Make the path absolute, resolving all symlinks on the way and also
        normalizing it (for example turning slashes into backslashes under
        Windows).
        R�cs�j�dS(N(R((R�(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��scSsdS(N((R=((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��sR_R�N(
R�R�R/R�R&RCR3R�R�tnormpathRSR�R^(R�R�R�R�R�tnormedR�((R�s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��s	
	
cCs|jj|�S(sh
        Return the result of the stat() system call on this path, like
        os.stat() does.
        (R�R(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�scCs%ddl}|j|j�j�jS(s:
        Return the login name of the file owner.
        i����N(R�R�Rtst_uidtpw_name(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytowner�scCs%ddl}|j|j�j�jS(s8
        Return the group name of the file gid.
        i����N(tgrptgetgrgidRtst_gidtgr_name(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytgroup�stri����c	Csv|jr|j�ntjdkrPtjt|�|||||d|j�Stjt|�|||||�SdS(s|
        Open the file pointed by this path and return a file object, as
        the built-in open() function does.
        itopenerN(ii(R�R�R1R7tioR
R3R�(R�Rt	bufferingtencodingterrorstnewline((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR
s	

cCs)|jdd��}|j�SWdQXdS(sK
        Open the file in bytes mode, read it, and close the file.
        RtrbN(R
tread(R�Rd((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt
read_bytesscCs5|jddd|d|��}|j�SWdQXdS(sJ
        Open the file in text mode, read it, and close the file.
        RR�R�R�N(R
R�(R�R�R�Rd((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt	read_texts!cCsct|tj�s7tdtjj|jjf��n|jdd��}|j|�SWdQXdS(sO
        Open the file in bytes mode, write to it, and close the file.
        sdata must be %s, not %sRtwbN(R.R,tbinary_typeR[RSRUR
twrite(R�tdataRd((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytwrite_bytes!sc	Csut|tj�s7tdtjj|jjf��n|jddd|d|d|��}|j|�SWdQXdS(sN
        Open the file in text mode, write to it, and close the file.
        sdata must be %s, not %sRtwR�R�R�N(R.R,R/R[RSRUR
R�(R�R�R�R�R�Rd((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt
write_text,s'cCs�|jr|j�n|rNy|jj|d�Wntk
rFqNXdSntjtjB}|st|tj	O}n|j
||�}tj|�dS(sS
        Create this file with the given access mode, if it doesn't exist.
        N(R�R�R�RR&RnR@tO_CREATtO_WRONLYtO_EXCLR�tclose(R�Rtexist_okRttfd((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyttouch7s	

cs��jr�j�n��fd�}����fd�}yt||�Wn+tk
r~�su�j�r�qnXdS(s<
        Create a new directory at this given path.
        cs�jj���dS(N(R�R((RR�(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�UscsU�s�j�kr|�n�jjdtdt��j�dtd��dS(NR�R�(R�RR�R�(R=(R�RR�R�(s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�Xs	N(R�R�RCRnR#(R�RR�R�R�R�((R�RR�R�s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRNs	

cCs-|jr|j�n|jj||�dS(sF
        Change the permissions of the path, like os.chmod().
        N(R�R�R�R
(R�R((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR
fs	
cCs-|jr|j�n|jj||�dS(s�
        Like chmod(), except if the path points to a symlink, the symlink's
        permissions are changed, rather than its target's.
        N(R�R�R�R(R�R((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRns	
cCs*|jr|j�n|jj|�dS(sd
        Remove this file or link.
        If the path is a directory, use rmdir() instead.
        N(R�R�R�R(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyRws	
cCs*|jr|j�n|jj|�dS(sF
        Remove this directory.  The directory must be empty.
        N(R�R�R�R(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�s	
cCs&|jr|j�n|jj|�S(s�
        Like stat(), except if the path points to a symlink, the symlink's
        status information is returned, rather than its target's.
        (R�R�R�R	(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR	�s	
cCs-|jr|j�n|jj||�dS(s5
        Rename this path to the given path.
        N(R�R�R�R(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�s	
cCsKtjdkrtd��n|jr4|j�n|jj||�dS(so
        Rename this path to the given path, clobbering the existing
        destination if it exists.
        is5replace() is only available with Python 3.3 and laterN(ii(R1R7R�R�R�R�R�(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR��s
	
cCs0|jr|j�n|jj|||�dS(s�
        Make this path a symlink pointing to the given path.
        Note the order of arguments (self, target) is the reverse of
        os.symlink's.
        N(R�R�R�R(R�R�R((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt
symlink_to�s	
cCsLy|j�Wn7tk
r6}t|�s2�ntStk
rGtSXtS(s+
        Whether this path exists.
        (RRnR*R�RR�(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR$�s
cCsUyt|j�j�SWn7tk
r?}t|�s;�ntStk
rPtSXdS(s3
        Whether this path is a directory.
        N(RRtst_modeRnR*R�R(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR#�s
cCsUyt|j�j�SWn7tk
r?}t|�s;�ntStk
rPtSXdS(sq
        Whether this path is a regular file (also True for symlinks pointing
        to regular files).
        N(RRR�RnR*R�R(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytis_file�s
cCs�|j�s|j�rtSt|j�}y|j�j}Wntk
rTtSX|j�j}||krttS|j�j	}|j�j	}||kS(s;
        Check if this path is a POSIX mount point
        (
R$R#R�R R�Rtst_devRnR�tst_ino(R�R�t
parent_devtdevtinot
parent_ino((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytis_mount�s
cCsUyt|j�j�SWn7tk
r?}t|�s;�ntStk
rPtSXdS(s7
        Whether this path is a symbolic link.
        N(RR	R�RnR*R�R(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR5�s
cCsUyt|j�j�SWn7tk
r?}t|�s;�ntStk
rPtSXdS(s6
        Whether this path is a block device.
        N(RRR�RnR*R�R(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytis_block_devices
cCsUyt|j�j�SWn7tk
r?}t|�s;�ntStk
rPtSXdS(s:
        Whether this path is a character device.
        N(RRR�RnR*R�R(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytis_char_devices
cCsUyt|j�j�SWn7tk
r?}t|�s;�ntStk
rPtSXdS(s.
        Whether this path is a FIFO.
        N(RRR�RnR*R�R(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pytis_fifo%s
cCsUyt|j�j�SWn7tk
r?}t|�s;�ntStk
rPtSXdS(s0
        Whether this path is a socket.
        N(RRR�RnR*R�R(R�R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt	is_socket5s
cCso|jp|jrk|jrk|jdd dkrk|jj|jdd�}|j|g|jd�S|S(sl Return a new path with expanded ~ and ~user constructs
        (as returned by os.path.expanduser)
        iit~(R?R@RAR/R�RS(R�thomedir((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt
expanduserEs
 (R�R�N(4RSRTR�RIRTR&R^R*R�R�R�R�R�R�R�R�R�R�R�R�R�R�R�RR�R�R
R�R�R�R�R�R�RR
RRRR	RR�R�R$R#R�R�R5R�R�R�R�R�(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR 1s`	
								
																										cBseZdZdZRS(ssPath subclass for non-Windows systems.

    On a POSIX system, instantiating a Path should return this object.
    ((RSRTR�RI(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR!QscBs/eZdZdZd�Zd�Zd�ZRS(sqPath subclass for Windows systems.

    On a Windows system, instantiating a Path should return this object.
    cCstd��dS(Ns*Path.owner() is unsupported on this system(R�(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�`scCstd��dS(Ns*Path.group() is unsupported on this system(R�(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�cscCstd��dS(Ns-Path.is_mount() is unsupported on this system(R�(R�((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR�fs((RSRTR�RIR�R�R�(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyR"Ys
		(iRaR-R�R�R�R@R�R+ttypingRRRRRRRRRR	R,R1R#R
RRR
RRRtoperatorRRRRRRRRRR-tcollectionsRtcollections.abcturllibtquoteR�turllib.parsetparsetquote_from_bytesR�t	NameErrorR�RRARtgetwindowsversiontmajorR7Rt_gfpnR�R&RRtImportErrort__all__R'R(R*R6R>RCRDRIRxR}R]R~R�R�R�R�R�R�RRR�RRRRR!RRRR=RJRtPathLiketregisterRRR R!R"(((s5/usr/lib/python2.7/site-packages/pathlib2/__init__.pyt<module>s�F"4		


		
					$		?	_�f				4		6��
��"
© 2025 GrazzMean