[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@13.59.68.167: ~ $
U

��,a �@srddlmZddlmZddlmZmZmZdd�Zdd�Z	dd	�Z
d
d�Zdd
�Zdd�Z
Gdd�dej�ZdS)�)�
fixer_base)�token)�syms�Node�LeafcCsz|jD]n}|jtjkr"t|�S|jtjkr|jr|jd}|jtjkr|jr|jd}t|t�r|j	dkrdSqdS)N��
__metaclass__TF)
�children�typer�suite�
has_metaclass�simple_stmt�	expr_stmt�
isinstancer�value)�parent�node�	expr_nodeZ	left_side�r�@/opt/alt/python38/lib64/python3.8/lib2to3/fixes/fix_metaclass.pyrs



�rcCs�|jD]}|jtjkrdSqt|j�D]\}}|jtjkr(qJq(td��ttjg�}|j|dd�r�|j|d}|�	|�
��|��qV|�	|�|}dS)NzNo class suite and no ':'!�)r	r
rr�	enumerater�COLON�
ValueErrorr�append_child�clone�remove)�cls_noder�ir�	move_noderrr�fixup_parse_tree-s


r c
Cs�t|j�D]\}}|jtjkr
q(q
dS|��ttjg�}ttj	|g�}|j|d�rz|j|}|�
|���|��qJ|�||�|jdjd}|jdjd}	|	j
|_
dS)Nr)rr	r
r�SEMIrrrrr
rr�insert_child�prefix)
rrZ	stmt_nodeZsemi_indrZnew_exprZnew_stmtrZ	new_leaf1Z	old_leaf1rrr�fixup_simple_stmtGs

r$cCs*|jr&|jdjtjkr&|jd��dS)N���)r	r
r�NEWLINEr)rrrr�remove_trailing_newline_sr'ccs�|jD]}|jtjkrq$qtd��tt|j��D]t\}}|jtjkr2|jr2|jd}|jtjkr2|jr2|jd}t	|t
�r2|jdkr2t|||�t
|�|||fVq2dS)NzNo class suite!rr)r	r
rrr�listrr
rrrrr$r')rrrZsimple_noderZ	left_noderrr�
find_metasds



�r)cCsz|jddd�}|r,|��}|jtjkrq,q|rv|��}t|t�r^|jtjkr^|jrZd|_dS|�	|jddd��q,dS)Nr%�)
r	�popr
r�INDENTrr�DEDENTr#�extend)rZkidsrrrr�fixup_indent{sr/c@seZdZdZdZdd�ZdS)�FixMetaclassTz
    classdef<any*>
    cCs8t|�sdSt|�d}t|�D]\}}}|}|��q |jdj}t|j�dkr�|jdjtjkrp|jd}n(|jd�	�}	t
tj|	g�}|�d|�n�t|j�dkr�t
tjg�}|�d|�nZt|j�dk�rt
tjg�}|�dt
tjd��|�d|�|�dt
tjd��ntd	��|jdjd}
d
|
_|
j}|j�rZ|�t
tjd��d|
_nd
|
_|jd}d
|jd_d
|jd_|�|�t|�|j�s�|��t
|d�}
||
_|�|
�|�t
tjd��nbt|j�dk�r4|jdjtjk�r4|jdjtjk�r4t
|d�}
|�d|
�|�dt
tjd��dS)Nr����r�)�(zUnexpected class definition�	metaclass�,� r*r�pass�
���r%)rr r)rr	r
�lenr�arglistrrZ	set_childr"rr�RPAR�LPARrrr#r�COMMAr/r&r,r-)�selfrZresultsZlast_metaclassrrZstmtZ	text_typer>rZmeta_txtZorig_meta_prefixrZ	pass_leafrrr�	transform�sb




��
zFixMetaclass.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNrCrrrrr0�sr0N)r*rZpygramrZ
fixer_utilrrrrr r$r'r)r/ZBaseFixr0rrrr�<module>s

Filemanager

Name Type Size Permission Actions
__init__.cpython-38.opt-1.pyc File 150 B 0644
__init__.cpython-38.opt-2.pyc File 150 B 0644
__init__.cpython-38.pyc File 150 B 0644
fix_apply.cpython-38.opt-1.pyc File 1.62 KB 0644
fix_apply.cpython-38.opt-2.pyc File 1.54 KB 0644
fix_apply.cpython-38.pyc File 1.65 KB 0644
fix_asserts.cpython-38.opt-1.pyc File 1.26 KB 0644
fix_asserts.cpython-38.opt-2.pyc File 1.19 KB 0644
fix_asserts.cpython-38.pyc File 1.26 KB 0644
fix_basestring.cpython-38.opt-1.pyc File 671 B 0644
fix_basestring.cpython-38.opt-2.pyc File 626 B 0644
fix_basestring.cpython-38.pyc File 671 B 0644
fix_buffer.cpython-38.opt-1.pyc File 816 B 0644
fix_buffer.cpython-38.opt-2.pyc File 747 B 0644
fix_buffer.cpython-38.pyc File 816 B 0644
fix_dict.cpython-38.opt-1.pyc File 3.2 KB 0644
fix_dict.cpython-38.opt-2.pyc File 2.32 KB 0644
fix_dict.cpython-38.pyc File 3.26 KB 0644
fix_except.cpython-38.opt-1.pyc File 2.76 KB 0644
fix_except.cpython-38.opt-2.pyc File 2.32 KB 0644
fix_except.cpython-38.pyc File 2.76 KB 0644
fix_exec.cpython-38.opt-1.pyc File 1.1 KB 0644
fix_exec.cpython-38.opt-2.pyc File 965 B 0644
fix_exec.cpython-38.pyc File 1.13 KB 0644
fix_execfile.cpython-38.opt-1.pyc File 1.64 KB 0644
fix_execfile.cpython-38.opt-2.pyc File 1.51 KB 0644
fix_execfile.cpython-38.pyc File 1.67 KB 0644
fix_exitfunc.cpython-38.opt-1.pyc File 2.26 KB 0644
fix_exitfunc.cpython-38.opt-2.pyc File 2.19 KB 0644
fix_exitfunc.cpython-38.pyc File 2.26 KB 0644
fix_filter.cpython-38.opt-1.pyc File 2.39 KB 0644
fix_filter.cpython-38.opt-2.pyc File 1.95 KB 0644
fix_filter.cpython-38.pyc File 2.39 KB 0644
fix_funcattrs.cpython-38.opt-1.pyc File 984 B 0644
fix_funcattrs.cpython-38.opt-2.pyc File 916 B 0644
fix_funcattrs.cpython-38.pyc File 984 B 0644
fix_future.cpython-38.opt-1.pyc File 792 B 0644
fix_future.cpython-38.opt-2.pyc File 689 B 0644
fix_future.cpython-38.pyc File 792 B 0644
fix_getcwdu.cpython-38.opt-1.pyc File 796 B 0644
fix_getcwdu.cpython-38.opt-2.pyc File 730 B 0644
fix_getcwdu.cpython-38.pyc File 796 B 0644
fix_has_key.cpython-38.opt-1.pyc File 2.85 KB 0644
fix_has_key.cpython-38.opt-2.pyc File 2.29 KB 0644
fix_has_key.cpython-38.pyc File 2.88 KB 0644
fix_idioms.cpython-38.opt-1.pyc File 3.76 KB 0644
fix_idioms.cpython-38.opt-2.pyc File 3.28 KB 0644
fix_idioms.cpython-38.pyc File 3.84 KB 0644
fix_import.cpython-38.opt-1.pyc File 2.73 KB 0644
fix_import.cpython-38.opt-2.pyc File 2.43 KB 0644
fix_import.cpython-38.pyc File 2.73 KB 0644
fix_imports.cpython-38.opt-1.pyc File 4.3 KB 0644
fix_imports.cpython-38.opt-2.pyc File 4.24 KB 0644
fix_imports.cpython-38.pyc File 4.3 KB 0644
fix_imports2.cpython-38.opt-1.pyc File 554 B 0644
fix_imports2.cpython-38.opt-2.pyc File 453 B 0644
fix_imports2.cpython-38.pyc File 554 B 0644
fix_input.cpython-38.opt-1.pyc File 958 B 0644
fix_input.cpython-38.opt-2.pyc File 889 B 0644
fix_input.cpython-38.pyc File 958 B 0644
fix_intern.cpython-38.opt-1.pyc File 1.12 KB 0644
fix_intern.cpython-38.opt-2.pyc File 1.05 KB 0644
fix_intern.cpython-38.pyc File 1.12 KB 0644
fix_isinstance.cpython-38.opt-1.pyc File 1.52 KB 0644
fix_isinstance.cpython-38.opt-2.pyc File 1.21 KB 0644
fix_isinstance.cpython-38.pyc File 1.52 KB 0644
fix_itertools.cpython-38.opt-1.pyc File 1.52 KB 0644
fix_itertools.cpython-38.opt-2.pyc File 1.17 KB 0644
fix_itertools.cpython-38.pyc File 1.52 KB 0644
fix_itertools_imports.cpython-38.opt-1.pyc File 1.51 KB 0644
fix_itertools_imports.cpython-38.opt-2.pyc File 1.43 KB 0644
fix_itertools_imports.cpython-38.pyc File 1.55 KB 0644
fix_long.cpython-38.opt-1.pyc File 713 B 0644
fix_long.cpython-38.opt-2.pyc File 649 B 0644
fix_long.cpython-38.pyc File 713 B 0644
fix_map.cpython-38.opt-1.pyc File 3.03 KB 0644
fix_map.cpython-38.opt-2.pyc File 2.25 KB 0644
fix_map.cpython-38.pyc File 3.03 KB 0644
fix_metaclass.cpython-38.opt-1.pyc File 5.19 KB 0644
fix_metaclass.cpython-38.opt-2.pyc File 3.84 KB 0644
fix_metaclass.cpython-38.pyc File 5.23 KB 0644
fix_methodattrs.cpython-38.opt-1.pyc File 946 B 0644
fix_methodattrs.cpython-38.opt-2.pyc File 870 B 0644
fix_methodattrs.cpython-38.pyc File 946 B 0644
fix_ne.cpython-38.opt-1.pyc File 819 B 0644
fix_ne.cpython-38.opt-2.pyc File 774 B 0644
fix_ne.cpython-38.pyc File 819 B 0644
fix_next.cpython-38.opt-1.pyc File 2.99 KB 0644
fix_next.cpython-38.opt-2.pyc File 2.93 KB 0644
fix_next.cpython-38.pyc File 3.02 KB 0644
fix_nonzero.cpython-38.opt-1.pyc File 931 B 0644
fix_nonzero.cpython-38.opt-2.pyc File 872 B 0644
fix_nonzero.cpython-38.pyc File 931 B 0644
fix_numliterals.cpython-38.opt-1.pyc File 1.01 KB 0644
fix_numliterals.cpython-38.opt-2.pyc File 969 B 0644
fix_numliterals.cpython-38.pyc File 1.01 KB 0644
fix_operator.cpython-38.opt-1.pyc File 4.13 KB 0644
fix_operator.cpython-38.opt-2.pyc File 3.66 KB 0644
fix_operator.cpython-38.pyc File 4.13 KB 0644
fix_paren.cpython-38.opt-1.pyc File 1.37 KB 0644
fix_paren.cpython-38.opt-2.pyc File 1.23 KB 0644
fix_paren.cpython-38.pyc File 1.37 KB 0644
fix_print.cpython-38.opt-1.pyc File 2.22 KB 0644
fix_print.cpython-38.opt-2.pyc File 1.94 KB 0644
fix_print.cpython-38.pyc File 2.3 KB 0644
fix_raise.cpython-38.opt-1.pyc File 2.21 KB 0644
fix_raise.cpython-38.opt-2.pyc File 1.6 KB 0644
fix_raise.cpython-38.pyc File 2.21 KB 0644
fix_raw_input.cpython-38.opt-1.pyc File 803 B 0644
fix_raw_input.cpython-38.opt-2.pyc File 736 B 0644
fix_raw_input.cpython-38.pyc File 803 B 0644
fix_reduce.cpython-38.opt-1.pyc File 1.11 KB 0644
fix_reduce.cpython-38.opt-2.pyc File 1006 B 0644
fix_reduce.cpython-38.pyc File 1.11 KB 0644
fix_reload.cpython-38.opt-1.pyc File 1.13 KB 0644
fix_reload.cpython-38.opt-2.pyc File 1.06 KB 0644
fix_reload.cpython-38.pyc File 1.13 KB 0644
fix_renames.cpython-38.opt-1.pyc File 1.97 KB 0644
fix_renames.cpython-38.opt-2.pyc File 1.89 KB 0644
fix_renames.cpython-38.pyc File 1.97 KB 0644
fix_repr.cpython-38.opt-1.pyc File 853 B 0644
fix_repr.cpython-38.opt-2.pyc File 789 B 0644
fix_repr.cpython-38.pyc File 853 B 0644
fix_set_literal.cpython-38.opt-1.pyc File 1.65 KB 0644
fix_set_literal.cpython-38.opt-2.pyc File 1.58 KB 0644
fix_set_literal.cpython-38.pyc File 1.65 KB 0644
fix_standarderror.cpython-38.opt-1.pyc File 728 B 0644
fix_standarderror.cpython-38.opt-2.pyc File 674 B 0644
fix_standarderror.cpython-38.pyc File 728 B 0644
fix_sys_exc.cpython-38.opt-1.pyc File 1.39 KB 0644
fix_sys_exc.cpython-38.opt-2.pyc File 1.22 KB 0644
fix_sys_exc.cpython-38.pyc File 1.39 KB 0644
fix_throw.cpython-38.opt-1.pyc File 1.77 KB 0644
fix_throw.cpython-38.opt-2.pyc File 1.55 KB 0644
fix_throw.cpython-38.pyc File 1.77 KB 0644
fix_tuple_params.cpython-38.opt-1.pyc File 4.49 KB 0644
fix_tuple_params.cpython-38.opt-2.pyc File 4.17 KB 0644
fix_tuple_params.cpython-38.pyc File 4.49 KB 0644
fix_types.cpython-38.opt-1.pyc File 1.8 KB 0644
fix_types.cpython-38.opt-2.pyc File 1.34 KB 0644
fix_types.cpython-38.pyc File 1.8 KB 0644
fix_unicode.cpython-38.opt-1.pyc File 1.52 KB 0644
fix_unicode.cpython-38.opt-2.pyc File 1.35 KB 0644
fix_unicode.cpython-38.pyc File 1.52 KB 0644
fix_urllib.cpython-38.opt-1.pyc File 5.87 KB 0644
fix_urllib.cpython-38.opt-2.pyc File 5.32 KB 0644
fix_urllib.cpython-38.pyc File 5.87 KB 0644
fix_ws_comma.cpython-38.opt-1.pyc File 1.1 KB 0644
fix_ws_comma.cpython-38.opt-2.pyc File 941 B 0644
fix_ws_comma.cpython-38.pyc File 1.1 KB 0644
fix_xrange.cpython-38.opt-1.pyc File 2.48 KB 0644
fix_xrange.cpython-38.opt-2.pyc File 2.42 KB 0644
fix_xrange.cpython-38.pyc File 2.48 KB 0644
fix_xreadlines.cpython-38.opt-1.pyc File 1.1 KB 0644
fix_xreadlines.cpython-38.opt-2.pyc File 1002 B 0644
fix_xreadlines.cpython-38.pyc File 1.1 KB 0644
fix_zip.cpython-38.opt-1.pyc File 1.55 KB 0644
fix_zip.cpython-38.opt-2.pyc File 1.23 KB 0644
fix_zip.cpython-38.pyc File 1.55 KB 0644