$55 GRAYBYTE WORDPRESS FILE MANAGER $70

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python34/lib64/python3.4/lib2to3/fixes/__pycache__/

HOME
Current File : /opt/alt/python34/lib64/python3.4/lib2to3/fixes/__pycache__//fix_urllib.cpython-34.pyo
�
i f� �@svdZddlmZmZddlmZddlmZmZm	Z	m
Z
mZmZm
Z
iddddd	d
ddd
gfddddddddddddddddgfddgfgd 6dd
d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0d1d2d3d4d5d6d7gfdd8d9gfgd:6Zed:jed d;�d<d=�ZGd>d?�d?e�Zd@S)Az�Fix changes imports of urllib which are now incompatible.
   This is rather similar to fix_imports, but because of the more
   complex nature of the fixing for urllib, it has its own fixer.
�)�
alternates�
FixImports)�
fixer_base)�Name�Comma�
FromImport�Newline�find_indentation�Node�symszurllib.requestZ	URLopenerZFancyURLopenerZurlretrieveZ
_urlopenerZurlopenZ
urlcleanupZpathname2urlZurl2pathnamezurllib.parseZquoteZ
quote_plusZunquoteZunquote_plusZ	urlencodeZ	splitattrZ	splithostZ
splitnportZsplitpasswdZ	splitportZ
splitqueryZsplittagZ	splittypeZ	splituserZ
splitvaluezurllib.errorZContentTooShortErrorZurllibZinstall_openerZbuild_openerZRequestZOpenerDirectorZBaseHandlerZHTTPDefaultErrorHandlerZHTTPRedirectHandlerZHTTPCookieProcessorZProxyHandlerZHTTPPasswordMgrZHTTPPasswordMgrWithDefaultRealmZAbstractBasicAuthHandlerZHTTPBasicAuthHandlerZProxyBasicAuthHandlerZAbstractDigestAuthHandlerZHTTPDigestAuthHandlerZProxyDigestAuthHandlerZHTTPHandlerZHTTPSHandlerZFileHandlerZ
FTPHandlerZCacheFTPHandlerZUnknownHandlerZURLErrorZ	HTTPErrorZurllib2�ccs�t�}x�tj�D]w\}}xh|D]`}|\}}t|�}d||fVd|||fVd|Vd|Vd||fVq)WqWdS)Nz�import_name< 'import' (module=%r
                                  | dotted_as_names< any* module=%r any* >) >
                  z�import_from< 'from' mod_member=%r 'import'
                       ( member=%s | import_as_name< member=%s 'as' any > |
                         import_as_names< members=any*  >) >
                  zIimport_from< 'from' module_star=%r 'import' star='*' >
                  ztimport_name< 'import'
                                  dotted_as_name< module_as=%r 'as' any > >
                  zKpower< bare_with_attr=%r trailer< '.' member=%s > any* >
                  )�set�MAPPING�itemsr)ZbareZ
old_moduleZchanges�changeZ
new_module�members�r�=/opt/alt/python34/lib64/python3.4/lib2to3/fixes/fix_urllib.py�
build_pattern1s	
		rc@sLeZdZdd�Zdd�Zdd�Zdd�Zd	d
�ZdS)�	FixUrllibcCsdjt��S)N�|)�joinr)�selfrrrrJszFixUrllib.build_patterncCs�|jd�}|j}g}xEt|jdd�D],}|jt|dd|�t�g�q6W|jtt|jddd|��|j|�dS)z�Transform for the basic import case. Replaces the old
           import name with a comma separated list of its
           replacements.
        �moduleNrr�prefix���r)	�getrr�value�extendrr�append�replace)r�node�resultsZ
import_mod�pref�names�namerrr�transform_importMs	*(zFixUrllib.transform_importcCs�|jd�}|j}|jd�}|r�t|t�rI|d}nd}x6t|jD]'}|j|dkr]|d}Pq]q]W|r�|jt|d|��q�|j|d�n>g}i}	|d}
x�|
D]�}|j	t
jkr|jd	j}|jdj}n|j}d}|d
kr�xlt|jD]Z}||dkr>|d|	krx|j
|d�n|	j|dg�j
|�q>q>Wq�q�Wg}
t|�}d}dd
�}x�|D]�}|	|}g}x>|dd�D],}|j|||��|j
t��q�W|j||d|��t||�}|sj|jjj|�rv||_n|
j
|�d}q�W|
r�g}x.|
dd�D]}|j|t�g�q�W|j
|
d�|j|�n|j|d�dS)z�Transform for imports of specific module elements. Replaces
           the module to be imported from with the appropriate new
           module.
        �
mod_member�memberrNrrz!This is an invalid module elementr��,TcSsz|jtjkrdt|jdjd|�|jdj�|jdj�g}ttj|�gSt|jd|�gS)Nrrrr))�typer�import_as_namer�childrenrZcloner
)r%rZkidsrrr�handle_name�sz/FixUrllib.transform_member.<locals>.handle_nameFzAll module elements are invalidrrrr)rr�
isinstance�listrrr r�cannot_convertr+rr,r-r�
setdefaultr	rrr�parent�endswithr)rr!r"r'r#r(�new_namer�modulesZmod_dictrZas_nameZmember_nameZ	new_nodesZindentation�firstr.rZeltsr$Zelt�newZnodesZnew_noderrr�transform_member]sh	



	+



zFixUrllib.transform_membercCs�|jd�}|jd�}d}t|t�r@|d}nx6t|jD]'}|j|dkrN|d}PqNqNW|r�|jt|d|j��n|j|d�dS)z.Transform for calls to module members in code.�bare_with_attrr(Nrrrz!This is an invalid module element)	rr/r0rrr rrr1)rr!r"Z
module_dotr(r5rrrr�
transform_dot�s

zFixUrllib.transform_dotcCs�|jd�r"|j||�n�|jd�rD|j||�nf|jd�rf|j||�nD|jd�r�|j|d�n"|jd�r�|j|d�ndS)Nrr'r:Zmodule_starzCannot handle star imports.Z	module_asz#This module is now multiple modules)rr&r9r;r1)rr!r"rrr�	transform�szFixUrllib.transformN)�__name__�
__module__�__qualname__rr&r9r;r<rrrrrHs
LrN)�__doc__Zlib2to3.fixes.fix_importsrrZlib2to3rZlib2to3.fixer_utilrrrrr	r
rrrrrrrrr�<module>sD4						


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
24 May 2024 8.33 AM
root / linksafe
0755
__init__.cpython-34.pyc
0.139 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
__init__.cpython-34.pyo
0.139 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_apply.cpython-34.pyc
1.654 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_apply.cpython-34.pyo
1.625 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_asserts.cpython-34.pyc
1.33 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_asserts.cpython-34.pyo
1.33 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_basestring.cpython-34.pyc
0.671 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_basestring.cpython-34.pyo
0.671 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_buffer.cpython-34.pyc
0.819 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_buffer.cpython-34.pyo
0.819 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_callable.cpython-34.pyc
1.313 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_callable.cpython-34.pyo
1.313 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_dict.cpython-34.pyc
3.594 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_dict.cpython-34.pyo
3.498 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_except.cpython-34.pyc
2.982 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_except.cpython-34.pyo
2.982 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_exec.cpython-34.pyc
1.24 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_exec.cpython-34.pyo
1.211 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_execfile.cpython-34.pyc
1.807 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_execfile.cpython-34.pyo
1.777 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_exitfunc.cpython-34.pyc
2.404 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_exitfunc.cpython-34.pyo
2.404 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_filter.cpython-34.pyc
2.045 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_filter.cpython-34.pyo
2.045 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_funcattrs.cpython-34.pyc
0.982 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_funcattrs.cpython-34.pyo
0.982 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_future.cpython-34.pyc
0.795 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_future.cpython-34.pyo
0.795 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_getcwdu.cpython-34.pyc
0.798 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_getcwdu.cpython-34.pyo
0.798 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_has_key.cpython-34.pyc
3.106 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_has_key.cpython-34.pyo
3.077 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_idioms.cpython-34.pyc
4.055 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_idioms.cpython-34.pyo
3.964 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_import.cpython-34.pyc
2.947 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_import.cpython-34.pyo
2.947 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_imports.cpython-34.pyc
4.67 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_imports.cpython-34.pyo
4.67 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_imports2.cpython-34.pyc
0.558 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_imports2.cpython-34.pyo
0.558 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_input.cpython-34.pyc
0.979 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_input.cpython-34.pyo
0.979 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_intern.cpython-34.pyc
1.024 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_intern.cpython-34.pyo
1.024 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_isinstance.cpython-34.pyc
1.644 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_isinstance.cpython-34.pyo
1.644 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_itertools.cpython-34.pyc
1.585 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_itertools.cpython-34.pyo
1.585 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_itertools_imports.cpython-34.pyc
1.722 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_itertools_imports.cpython-34.pyo
1.681 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_long.cpython-34.pyc
0.721 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_long.cpython-34.pyo
0.721 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_map.cpython-34.pyc
2.776 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_map.cpython-34.pyo
2.776 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_metaclass.cpython-34.pyc
5.842 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_metaclass.cpython-34.pyo
5.796 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_methodattrs.cpython-34.pyc
0.96 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_methodattrs.cpython-34.pyo
0.96 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_ne.cpython-34.pyc
0.826 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_ne.cpython-34.pyo
0.826 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_next.cpython-34.pyc
3.229 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_next.cpython-34.pyo
3.2 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_nonzero.cpython-34.pyc
0.948 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_nonzero.cpython-34.pyo
0.948 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_numliterals.cpython-34.pyc
1.079 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_numliterals.cpython-34.pyo
1.079 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_operator.cpython-34.pyc
4.383 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_operator.cpython-34.pyo
4.383 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_paren.cpython-34.pyc
1.399 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_paren.cpython-34.pyo
1.399 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_print.cpython-34.pyc
2.544 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_print.cpython-34.pyo
2.452 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_raise.cpython-34.pyc
2.385 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_raise.cpython-34.pyo
2.385 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_raw_input.cpython-34.pyc
0.805 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_raw_input.cpython-34.pyo
0.805 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_reduce.cpython-34.pyc
1.13 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_reduce.cpython-34.pyo
1.13 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_reload.cpython-34.pyc
1.024 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_reload.cpython-34.pyo
1.024 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_renames.cpython-34.pyc
2.066 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_renames.cpython-34.pyo
2.066 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_repr.cpython-34.pyc
0.874 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_repr.cpython-34.pyo
0.874 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_set_literal.cpython-34.pyc
1.761 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_set_literal.cpython-34.pyo
1.761 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_standarderror.cpython-34.pyc
0.727 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_standarderror.cpython-34.pyo
0.727 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_sys_exc.cpython-34.pyc
1.455 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_sys_exc.cpython-34.pyo
1.455 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_throw.cpython-34.pyc
1.895 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_throw.cpython-34.pyo
1.895 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_tuple_params.cpython-34.pyc
4.95 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_tuple_params.cpython-34.pyo
4.95 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_types.cpython-34.pyc
1.964 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_types.cpython-34.pyo
1.964 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_unicode.cpython-34.pyc
1.617 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_unicode.cpython-34.pyo
1.617 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_urllib.cpython-34.pyc
6.384 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_urllib.cpython-34.pyo
6.384 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_ws_comma.cpython-34.pyc
1.19 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_ws_comma.cpython-34.pyo
1.19 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_xrange.cpython-34.pyc
2.649 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_xrange.cpython-34.pyo
2.649 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_xreadlines.cpython-34.pyc
1.139 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_xreadlines.cpython-34.pyo
1.139 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_zip.cpython-34.pyc
1.191 KB
17 Apr 2024 5.10 PM
root / linksafe
0644
fix_zip.cpython-34.pyo
1.191 KB
17 Apr 2024 5.10 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF