Hacked By AnonymousFox

Current Path : /opt/alt/python37/lib64/python3.7/__pycache__/
Upload File :
Current File : //opt/alt/python37/lib64/python3.7/__pycache__/macpath.cpython-37.opt-2.pyc

B

YI~d�� @sFdZdZdZdZdZdZdZdZddlZddl	Tddl
Z
ddl
TddlZejde
d	d
�ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*g Zd+d,�Zd-d�Zd.d�Zd/d
�Zd0d�Zd1d�Ze
jje_d2d�Zd3d�Zd4d�Zd5d6�Zd7d�Zd8d�Zd9d�Zd:d�ZGd;d<�d<e�Z d=d�Z!d>d �Z"d?d)�Z#d@Z$dS)A�:z::�.�
NzDev:Null�)�*zBthe macpath module is deprecated in 3.7 and will be removed in 3.8�)�
stacklevel�normcase�isabs�join�
splitdrive�split�splitext�basename�dirname�commonprefix�getsize�getmtime�getatime�getctime�islink�exists�lexists�isdir�isfile�
expanduser�
expandvars�normpath�abspath�curdir�pardir�sep�pathsep�defpath�altsep�extsep�devnull�realpath�supports_unicode_filenamescCst|t�rdSdSdS)N�:r)�
isinstance�bytes)�path�r,�,/opt/alt/python37/lib64/python3.7/macpath.py�
_get_colons
r.cCs(t|ttf�s td�|jj���|��S)Nz2normcase() argument must be str or bytes, not '{}')r)r*�str�	TypeError�format�	__class__�__name__�lower)r+r,r,r-r'scCs t|�}||ko|dd�|kS)N�)r.)�s�colonr,r,r-r	.sc
Gs�y�t|�}|}|s"|dd�|xj|D]b}|r8t|�r>|}q(|dd�|krZ|dd�}||krj||}|dd�|kr�||}||}q(W|Stttfk
r�tjd|f|���YnXdS)Nrr5���r
)r.r	r0�AttributeError�BytesWarning�genericpath�_check_arg_types)r6�pr7r+�tr,r,r-r
9s(
cCs�t|�}||kr |dd�|fSd}x0tt|��D] }|||d�|kr2|d}q2W|d|d�||d�}}|r�||kr�||}||fS)Nrr5)r.�range�len)r6r7�col�ir+�filer,r,r-rPscCs.t|t�rt�|dtd�St�|ttt�SdS)Nr(�.)r)r*r;�	_splitextr#r r$)r=r,r,r-r
`s
cCs|dd�|fS)Nrr,)r=r,r,r-rgscCst|�dS)Nr)r)r6r,r,r-rs�cCst|�dS)Nr5)r)r6r,r,r-rtrFcCs*t|�sdSt|�}t|�dko(|dS)NFrr5)r	rr@)r6�
componentsr,r,r-�ismountvsrHcCs*yddl}|j�|d�dSdSdS)NrrF)�Carbon.File�FileZResolveAliasFile)r6�Carbonr,r,r-r|s
cCs(yt�|�}Wntk
r"dSXdS)NFT)�os�lstat�OSError)r+�str,r,r-r�s
cCs|S)Nr,)r+r,r,r-r�scCs|S)Nr,)r+r,r,r-r�sc@seZdZdS)�
norm_errorN)r3�
__module__�__qualname__r,r,r,r-rP�srPcCs�t|�}||kr||S|�|�}d}x^|t|�dkr�||sz||drz|dkrp||d|d�=|d}q�td��q(|d}q(W|�|�}|dd�|kr�t|�dkr�||t|�kr�|dd�}|S)Nr5z+Cannot use :: immediately after volume namer8r)r.rr@rPr
)r6r7�compsrBr,r,r-r�s 



,cCs6t|�s.t|t�rt��}nt��}t||�}t|�S)N)r	r)r*rL�getcwdb�getcwdr
r)r+�cwdr,r,r-r�s


c	Cs�t|�}yddl}Wntk
r(|SX|s2|St|�}|�|�}|d|}xR|dd�D]B}t||�}y|j�|d�d��}Wq^|jj	k
r�Yq^Xq^W|S)Nrr5)
rrI�ImportErrorr.rr
rJZFSResolveAliasFileZas_pathname�Error)r+rKr7rG�cr,r,r-r&�s"


T)%rrr$r r!r"r#r%rL�statr;�warnings�warn�DeprecationWarning�__all__r.rr	r
rr
rE�__doc__rrrrHrrrr�	ExceptionrPrrr&r'r,r,r,r-�<module>sP



	

Hacked By AnonymousFox1.0, Coded By AnonymousFox