https://t.me/RX1948
Server : Apache
System : Linux iad1-shared-b8-43 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
User : dh_edsupp ( 6597262)
PHP Version : 8.2.26
Disable Function : NONE
Directory :  /lib/python3/dist-packages/mercurial/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/mercurial/__pycache__/urllibcompat.cpython-310.pyc
o

�]Lb��@sddlmZddlmZddlmZejZGdd�de�Ze�Z	e�Z
e�Zejr�ddl
Ze
�ejd�e
�ejd	d
�e
�ejdd�e
�ejd
d�ddlZe
�ejd�ddlZe
�ejd�ddlZe�ejd�ddlZe	�ejd�d.dd�Zd/dd�Zee
_ee
_dd�Zdd�Zdd�Zdd �Z d!d"�Z!dSddl"Z"ddl#Z#ddl$Z$ddl%Z%ddlZddl&Z&e
�ed#�e
�e%d$�e
�e&d%�e
�e&d	d
�e
�e&dd�e�e%d�e	�e"d&�e	�e$d'�e	�e#d(�d)d�Zd*d�Zd+d�Zd,d �Z d-d"�Z!dS)0�)�absolute_import�)�getattr)�pycompatc@s,eZdZdd�Zdd�Zdd�Zdd�Zd	S)
�
_pycompatstubcCs
i|_dS�N)�_aliases)�self�r
�8/usr/lib/python3/dist-packages/mercurial/urllibcompat.py�__init__�
z_pycompatstub.__init__cs(tt|�}|j��fdd�|D��dS)z4Add items that will be populated at the first accessc3s(�|]}|�dd����|ffVqdS)�_�N)�replace�lower)�.0�item��originr
r�	<genexpr>s�
�z1_pycompatstub._registeraliases.<locals>.<genexpr>N)�map�_sysstrr�update)r	r�itemsr
rr�_registeraliasess
�z_pycompatstub._registeraliasescCs|t|�f|jt|�<dS)z%Alias ``origin``.``attr`` as ``name``N)rr)r	r�attr�namer
r
r�_registeraliassz_pycompatstub._registeraliascCsBz	|j|\}}Wntyt|��wt||�|j|<}|Sr)r�KeyError�AttributeErrorr�__dict__)r	rrr�objr
r
r�__getattr__s�z_pycompatstub.__getattr__N)�__name__�
__module__�__qualname__rrrr#r
r
r
rrs
rN)�	splitattr�splitpasswd�	splitport�	splituser�urlparse�
urlunparsesparse_qssparseqss	parse_qslsparseqslsunquote_to_bytes�unquote)�AbstractHTTPHandler�BaseHandler�build_opener�FileHandler�
FTPHandler�
ftpwrapper�HTTPHandler�HTTPSHandler�install_opener�pathname2url�HTTPBasicAuthHandler�HTTPDigestAuthHandler�HTTPPasswordMgrWithDefaultRealm�ProxyHandler�Request�url2pathname�urlopen)�addclosehook�
addinfourl)s	HTTPErrorsURLError)�
HTTPServer�BaseHTTPRequestHandler�SimpleHTTPRequestHandler�CGIHTTPRequestHandler�/cCs0t|tj�r
t|�}tjj||d�}|�dd�S)N)�safe�ascii�strict)�
isinstancer�bytestr�bytes�urllib�parse�quote_from_bytes�encode)�srFr
r
r�quoteusrQFcCstjj||d�}|�d�S)N)�doseqrG)rLrM�	urlencoderO)�queryrRrPr
r
rrSs
rScC�|jSr)�full_url��reqr
r
r�
getfullurl��rYcCrUr)�hostrWr
r
r�gethost�rZr\cCrUr)�selectorrWr
r
r�getselector�rZr^cCrUr��datarWr
r
r�getdata�rZracCs
|jduSrr_rWr
r
r�hasdata�r
rb)r?r@r3r7squoter'r(r)r*r-r=s	urlencode)r.r/r0r1r2r8r9r4r:r5r6r;r<r>)r+r,)rArB)rC)rDcC�|��Sr)�get_hostrWr
r
rr\��cCrcr)�get_selectorrWr
r
rr^�recCrcr)�get_full_urlrWr
r
rrY�recCrcr)�get_datarWr
r
rra�recCrcr)�has_datarWr
r
rrb�re)rE)F)'�
__future__rrrr�sysstrr�objectr�
httpserver�urlreq�urlerr�ispy3�urllib.parserLrrMr�urllib.request�request�urllib.response�response�urllib.error�error�http.server�http�serverrQrSrYr\r^rarb�BaseHTTPServer�
CGIHTTPServer�SimpleHTTPServer�urllib2�urlparser
r
r
r�<module>s������


������

https://t.me/RX1948 - 2025