SILENT KILLERPanel

Current Path: > > opt > alt > python35 > lib64 > python3.5 > lib2to3 > fixes > __pycache__


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__

NameTypeSizeLast ModifiedActions
__init__.cpython-35.opt-1.pyc File 142 bytes May 31 2024 13:51:50.
__init__.cpython-35.opt-2.pyc File 128 bytes May 31 2024 13:51:30.
__init__.cpython-35.pyc File 142 bytes May 31 2024 13:51:55.
fix_apply.cpython-35.opt-1.pyc File 1837 bytes May 31 2024 13:51:50.
fix_apply.cpython-35.opt-2.pyc File 1731 bytes May 31 2024 13:51:30.
fix_apply.cpython-35.pyc File 1867 bytes May 31 2024 13:51:55.
fix_asserts.cpython-35.opt-1.pyc File 1362 bytes May 31 2024 13:51:50.
fix_asserts.cpython-35.opt-2.pyc File 1276 bytes May 31 2024 13:51:30.
fix_asserts.cpython-35.pyc File 1362 bytes May 31 2024 13:51:55.
fix_basestring.cpython-35.opt-1.pyc File 687 bytes May 31 2024 13:51:50.
fix_basestring.cpython-35.opt-2.pyc File 626 bytes May 31 2024 13:51:30.
fix_basestring.cpython-35.pyc File 687 bytes May 31 2024 13:51:55.
fix_buffer.cpython-35.opt-1.pyc File 839 bytes May 31 2024 13:51:50.
fix_buffer.cpython-35.opt-2.pyc File 754 bytes May 31 2024 13:51:30.
fix_buffer.cpython-35.pyc File 839 bytes May 31 2024 13:51:55.
fix_dict.cpython-35.opt-1.pyc File 3570 bytes May 31 2024 13:51:50.
fix_dict.cpython-35.opt-2.pyc File 2660 bytes May 31 2024 13:51:30.
fix_dict.cpython-35.pyc File 3662 bytes May 31 2024 13:51:55.
fix_except.cpython-35.opt-1.pyc File 3039 bytes May 31 2024 13:51:50.
fix_except.cpython-35.opt-2.pyc File 2577 bytes May 31 2024 13:51:30.
fix_except.cpython-35.pyc File 3039 bytes May 31 2024 13:51:55.
fix_exec.cpython-35.opt-1.pyc File 1234 bytes May 31 2024 13:51:50.
fix_exec.cpython-35.opt-2.pyc File 1052 bytes May 31 2024 13:51:30.
fix_exec.cpython-35.pyc File 1264 bytes May 31 2024 13:51:55.
fix_execfile.cpython-35.opt-1.pyc File 1814 bytes May 31 2024 13:51:50.
fix_execfile.cpython-35.opt-2.pyc File 1670 bytes May 31 2024 13:51:30.
fix_execfile.cpython-35.pyc File 1844 bytes May 31 2024 13:51:55.
fix_exitfunc.cpython-35.opt-1.pyc File 2459 bytes May 31 2024 13:51:50.
fix_exitfunc.cpython-35.opt-2.pyc File 2371 bytes May 31 2024 13:51:30.
fix_exitfunc.cpython-35.pyc File 2459 bytes May 31 2024 13:51:55.
fix_filter.cpython-35.opt-1.pyc File 2094 bytes May 31 2024 13:51:50.
fix_filter.cpython-35.opt-2.pyc File 1618 bytes May 31 2024 13:51:30.
fix_filter.cpython-35.pyc File 2094 bytes May 31 2024 13:51:55.
fix_funcattrs.cpython-35.opt-1.pyc File 1006 bytes May 31 2024 13:51:50.
fix_funcattrs.cpython-35.opt-2.pyc File 922 bytes May 31 2024 13:51:30.
fix_funcattrs.cpython-35.pyc File 1006 bytes May 31 2024 13:51:55.
fix_future.cpython-35.opt-1.pyc File 814 bytes May 31 2024 13:51:50.
fix_future.cpython-35.opt-2.pyc File 695 bytes May 31 2024 13:51:30.
fix_future.cpython-35.pyc File 814 bytes May 31 2024 13:51:55.
fix_getcwdu.cpython-35.opt-1.pyc File 817 bytes May 31 2024 13:51:50.
fix_getcwdu.cpython-35.opt-2.pyc File 735 bytes May 31 2024 13:51:30.
fix_getcwdu.cpython-35.pyc File 817 bytes May 31 2024 13:51:55.
fix_has_key.cpython-35.opt-1.pyc File 3136 bytes May 31 2024 13:51:50.
fix_has_key.cpython-35.opt-2.pyc File 2550 bytes May 31 2024 13:51:30.
fix_has_key.cpython-35.pyc File 3166 bytes May 31 2024 13:51:55.
fix_idioms.cpython-35.opt-1.pyc File 4053 bytes May 31 2024 13:51:50.
fix_idioms.cpython-35.opt-2.pyc File 3541 bytes May 31 2024 13:51:30.
fix_idioms.cpython-35.pyc File 4146 bytes May 31 2024 13:51:55.
fix_import.cpython-35.opt-1.pyc File 3012 bytes May 31 2024 13:51:50.
fix_import.cpython-35.opt-2.pyc File 2685 bytes May 31 2024 13:51:30.
fix_import.cpython-35.pyc File 3012 bytes May 31 2024 13:51:55.
fix_imports.cpython-35.opt-1.pyc File 4722 bytes May 31 2024 13:51:50.
fix_imports.cpython-35.opt-2.pyc File 4642 bytes May 31 2024 13:51:30.
fix_imports.cpython-35.pyc File 4722 bytes May 31 2024 13:51:55.
fix_imports2.cpython-35.opt-1.pyc File 567 bytes May 31 2024 13:51:50.
fix_imports2.cpython-35.opt-2.pyc File 450 bytes May 31 2024 13:51:30.
fix_imports2.cpython-35.pyc File 567 bytes May 31 2024 13:51:55.
fix_input.cpython-35.opt-1.pyc File 1003 bytes May 31 2024 13:51:50.
fix_input.cpython-35.opt-2.pyc File 918 bytes May 31 2024 13:51:30.
fix_input.cpython-35.pyc File 1003 bytes May 31 2024 13:51:55.
fix_intern.cpython-35.opt-1.pyc File 1225 bytes May 31 2024 13:51:50.
fix_intern.cpython-35.opt-2.pyc File 1145 bytes May 31 2024 13:51:30.
fix_intern.cpython-35.pyc File 1225 bytes May 31 2024 13:51:55.
fix_isinstance.cpython-35.opt-1.pyc File 1674 bytes May 31 2024 13:51:50.
fix_isinstance.cpython-35.opt-2.pyc File 1338 bytes May 31 2024 13:51:30.
fix_isinstance.cpython-35.pyc File 1674 bytes May 31 2024 13:51:55.
fix_itertools.cpython-35.opt-1.pyc File 1620 bytes May 31 2024 13:51:50.
fix_itertools.cpython-35.opt-2.pyc File 1244 bytes May 31 2024 13:51:30.
fix_itertools.cpython-35.pyc File 1620 bytes May 31 2024 13:51:55.
fix_itertools_imports.cpython-35.opt-1.pyc File 1718 bytes May 31 2024 13:51:50.
fix_itertools_imports.cpython-35.opt-2.pyc File 1620 bytes May 31 2024 13:51:30.
fix_itertools_imports.cpython-35.pyc File 1760 bytes May 31 2024 13:51:55.
fix_long.cpython-35.opt-1.pyc File 735 bytes May 31 2024 13:51:50.
fix_long.cpython-35.opt-2.pyc File 655 bytes May 31 2024 13:51:30.
fix_long.cpython-35.pyc File 735 bytes May 31 2024 13:51:55.
fix_map.cpython-35.opt-1.pyc File 2840 bytes May 31 2024 13:51:50.
fix_map.cpython-35.opt-2.pyc File 2028 bytes May 31 2024 13:51:30.
fix_map.cpython-35.pyc File 2840 bytes May 31 2024 13:51:55.
fix_metaclass.cpython-35.opt-1.pyc File 5900 bytes May 31 2024 13:51:50.
fix_metaclass.cpython-35.opt-2.pyc File 4503 bytes May 31 2024 13:51:30.
fix_metaclass.cpython-35.pyc File 5947 bytes May 31 2024 13:51:55.
fix_methodattrs.cpython-35.opt-1.pyc File 978 bytes May 31 2024 13:51:50.
fix_methodattrs.cpython-35.opt-2.pyc File 886 bytes May 31 2024 13:51:30.
fix_methodattrs.cpython-35.pyc File 978 bytes May 31 2024 13:51:55.
fix_ne.cpython-35.opt-1.pyc File 846 bytes May 31 2024 13:51:50.
fix_ne.cpython-35.opt-2.pyc File 785 bytes May 31 2024 13:51:30.
fix_ne.cpython-35.pyc File 846 bytes May 31 2024 13:51:55.
fix_next.cpython-35.opt-1.pyc File 3271 bytes May 31 2024 13:51:50.
fix_next.cpython-35.opt-2.pyc File 3192 bytes May 31 2024 13:51:30.
fix_next.cpython-35.pyc File 3301 bytes May 31 2024 13:51:55.
fix_nonzero.cpython-35.opt-1.pyc File 971 bytes May 31 2024 13:51:50.
fix_nonzero.cpython-35.opt-2.pyc File 896 bytes May 31 2024 13:51:30.
fix_nonzero.cpython-35.pyc File 971 bytes May 31 2024 13:51:55.
fix_numliterals.cpython-35.opt-1.pyc File 1102 bytes May 31 2024 13:51:50.
fix_numliterals.cpython-35.opt-2.pyc File 1024 bytes May 31 2024 13:51:30.
fix_numliterals.cpython-35.pyc File 1102 bytes May 31 2024 13:51:55.
fix_operator.cpython-35.opt-1.pyc File 4485 bytes May 31 2024 13:51:50.
fix_operator.cpython-35.opt-2.pyc File 3982 bytes May 31 2024 13:51:30.
fix_operator.cpython-35.pyc File 4485 bytes May 31 2024 13:51:55.
fix_paren.cpython-35.opt-1.pyc File 1433 bytes May 31 2024 13:51:50.
fix_paren.cpython-35.opt-2.pyc File 1283 bytes May 31 2024 13:51:30.
fix_paren.cpython-35.pyc File 1433 bytes May 31 2024 13:51:55.
fix_print.cpython-35.opt-1.pyc File 2487 bytes May 31 2024 13:51:50.
fix_print.cpython-35.opt-2.pyc File 2184 bytes May 31 2024 13:51:30.
fix_print.cpython-35.pyc File 2581 bytes May 31 2024 13:51:55.
fix_raise.cpython-35.opt-1.pyc File 2436 bytes May 31 2024 13:51:50.
fix_raise.cpython-35.opt-2.pyc File 1797 bytes May 31 2024 13:51:30.
fix_raise.cpython-35.pyc File 2436 bytes May 31 2024 13:51:55.
fix_raw_input.cpython-35.opt-1.pyc File 824 bytes May 31 2024 13:51:50.
fix_raw_input.cpython-35.opt-2.pyc File 741 bytes May 31 2024 13:51:30.
fix_raw_input.cpython-35.pyc File 824 bytes May 31 2024 13:51:55.
fix_reduce.cpython-35.opt-1.pyc File 1157 bytes May 31 2024 13:51:50.
fix_reduce.cpython-35.opt-2.pyc File 1011 bytes May 31 2024 13:51:30.
fix_reduce.cpython-35.pyc File 1157 bytes May 31 2024 13:51:55.
fix_reload.cpython-35.opt-1.pyc File 1225 bytes May 31 2024 13:51:50.
fix_reload.cpython-35.opt-2.pyc File 1145 bytes May 31 2024 13:51:30.
fix_reload.cpython-35.pyc File 1225 bytes May 31 2024 13:51:55.
fix_renames.cpython-35.opt-1.pyc File 2111 bytes May 31 2024 13:51:50.
fix_renames.cpython-35.opt-2.pyc File 2015 bytes May 31 2024 13:51:30.
fix_renames.cpython-35.pyc File 2111 bytes May 31 2024 13:51:55.
fix_repr.cpython-35.opt-1.pyc File 892 bytes May 31 2024 13:51:50.
fix_repr.cpython-35.opt-2.pyc File 812 bytes May 31 2024 13:51:30.
fix_repr.cpython-35.pyc File 892 bytes May 31 2024 13:51:55.
fix_set_literal.cpython-35.opt-1.pyc File 1800 bytes May 31 2024 13:51:50.
fix_set_literal.cpython-35.opt-2.pyc File 1709 bytes May 31 2024 13:51:30.
fix_set_literal.cpython-35.pyc File 1800 bytes May 31 2024 13:51:55.
fix_standarderror.cpython-35.opt-1.pyc File 744 bytes May 31 2024 13:51:50.
fix_standarderror.cpython-35.opt-2.pyc File 674 bytes May 31 2024 13:51:30.
fix_standarderror.cpython-35.pyc File 744 bytes May 31 2024 13:51:55.
fix_sys_exc.cpython-35.opt-1.pyc File 1490 bytes May 31 2024 13:51:50.
fix_sys_exc.cpython-35.opt-2.pyc File 1305 bytes May 31 2024 13:51:30.
fix_sys_exc.cpython-35.pyc File 1490 bytes May 31 2024 13:51:55.
fix_throw.cpython-35.opt-1.pyc File 1940 bytes May 31 2024 13:51:50.
fix_throw.cpython-35.opt-2.pyc File 1693 bytes May 31 2024 13:51:30.
fix_throw.cpython-35.pyc File 1940 bytes May 31 2024 13:51:55.
fix_tuple_params.cpython-35.opt-1.pyc File 5051 bytes May 31 2024 13:51:50.
fix_tuple_params.cpython-35.opt-2.pyc File 4701 bytes May 31 2024 13:51:30.
fix_tuple_params.cpython-35.pyc File 5051 bytes May 31 2024 13:51:55.
fix_types.cpython-35.opt-1.pyc File 1988 bytes May 31 2024 13:51:50.
fix_types.cpython-35.opt-2.pyc File 1498 bytes May 31 2024 13:51:30.
fix_types.cpython-35.pyc File 1988 bytes May 31 2024 13:51:55.
fix_unicode.cpython-35.opt-1.pyc File 1648 bytes May 31 2024 13:51:50.
fix_unicode.cpython-35.opt-2.pyc File 1453 bytes May 31 2024 13:51:30.
fix_unicode.cpython-35.pyc File 1648 bytes May 31 2024 13:51:55.
fix_urllib.cpython-35.opt-1.pyc File 6510 bytes May 31 2024 13:51:50.
fix_urllib.cpython-35.opt-2.pyc File 5936 bytes May 31 2024 13:51:30.
fix_urllib.cpython-35.pyc File 6510 bytes May 31 2024 13:51:55.
fix_ws_comma.cpython-35.opt-1.pyc File 1210 bytes May 31 2024 13:51:50.
fix_ws_comma.cpython-35.opt-2.pyc File 1008 bytes May 31 2024 13:51:30.
fix_ws_comma.cpython-35.pyc File 1210 bytes May 31 2024 13:51:55.
fix_xrange.cpython-35.opt-1.pyc File 2713 bytes May 31 2024 13:51:50.
fix_xrange.cpython-35.opt-2.pyc File 2633 bytes May 31 2024 13:51:30.
fix_xrange.cpython-35.pyc File 2713 bytes May 31 2024 13:51:55.
fix_xreadlines.cpython-35.opt-1.pyc File 1166 bytes May 31 2024 13:51:50.
fix_xreadlines.cpython-35.opt-2.pyc File 1021 bytes May 31 2024 13:51:30.
fix_xreadlines.cpython-35.pyc File 1166 bytes May 31 2024 13:51:55.
fix_zip.cpython-35.opt-1.pyc File 1220 bytes May 31 2024 13:51:50.
fix_zip.cpython-35.opt-2.pyc File 873 bytes May 31 2024 13:51:30.
fix_zip.cpython-35.pyc File 1220 bytes May 31 2024 13:51:55.

Reading File: //opt/alt/python35/lib64/python3.5/lib2to3/fixes/__pycache__/fix_metaclass.cpython-35.pyc



��Yf �@s�dZddlmZddlmZddlmZmZmZm	Z	dd�Z
dd�Zd	d
�Zdd�Z
d
d�Zdd�ZGdd�dej�ZdS)a�Fixer for __metaclass__ = X -> (metaclass=X) methods.

   The various forms of classef (inherits nothing, inherits once, inherints
   many) don't parse the same in the CST so we look at ALL classes for
   a __metaclass__ and if we find one normalize the inherits to all be
   an arglist.

   For one-liner classes ('class X: pass') there is no indent/dedent so
   we normalize those into having a suite.

   Moving the __metaclass__ into the classdef can also cause the class
   body to be empty so there is some special casing for that as well.

   This fixer also tries very hard to keep original indenting and spacing
   in all those corner cases.

�)�
fixer_base)�token)�Name�syms�Node�LeafcCs�x�|jD]�}|jtjkr,t|�S|jtjkr
|jr
|jd}|jtjkr
|jr
|jd}t|t�r
|j	dkr
dSq
WdS)z� we have to check the cls_node without changing it.
        There are two possibilities:
          1)  clsdef => suite => simple_stmt => expr_stmt => Leaf('__meta')
          2)  clsdef => simple_stmt => expr_stmt => Leaf('__meta')
    ��
__metaclass__TF)
�children�typer�suite�
has_metaclass�simple_stmt�	expr_stmt�
isinstancer�value)�parent�node�	expr_nodeZ	left_side�r�@/opt/alt/python35/lib64/python3.5/lib2to3/fixes/fix_metaclass.pyr
s


r
cCs�x'|jD]}|jtjkr
dSq
Wx<t|j�D]\}}|jtjkr:Pq:Wtd��ttjg�}xI|j|dd�r�|j|d}|j	|j
��|j�q~W|j	|�|}dS)zf one-line classes don't get a suite in the parse tree so we add
        one to normalize the tree
    NzNo class suite and no ':'!�)r
rrr�	enumerater�COLON�
ValueErrorr�append_child�clone�remove)�cls_noder�ir�	move_noderrr�fixup_parse_tree-s
r!c
Cs�x4t|j�D]\}}|jtjkrPqWdS|j�ttjg�}ttj	|g�}xA|j|d�r�|j|}|j
|j��|j�qkW|j||�|jdjd}|jdjd}	|	j
|_
dS)z� if there is a semi-colon all the parts count as part of the same
        simple_stmt.  We just want the __metaclass__ part so we move
        everything after the semi-colon into its own simple_stmt node
    Nr)rr
rr�SEMIrrrrrrr�insert_child�prefix)
rrZ	stmt_nodeZsemi_indrZnew_exprZnew_stmtr Z	new_leaf1Z	old_leaf1rrr�fixup_simple_stmtGs

r%cCs7|jr3|jdjtjkr3|jdj�dS)Nr���r&)r
rr�NEWLINEr)rrrr�remove_trailing_newline_s"r(ccs�x0|jD]}|jtjkr
Pq
Wtd��x�tt|j��D]�\}}|jtjkrI|jrI|jd}|jtjkrI|jrI|jd}t	|t
�rI|jdkrIt|||�t
|�|||fVqIWdS)NzNo class suite!rr	)r
rrrr�listrrrrrrr%r()rrrZsimple_noderZ	left_noderrr�
find_metasds"


r*cCs�|jddd�}x)|rA|j�}|jtjkrPqWxj|r�|j�}t|t�r�|jtjkr�|jr�d|_dS|j	|jddd��qEWdS)z� If an INDENT is followed by a thing with a prefix then nuke the prefix
        Otherwise we get in trouble when removing __metaclass__ at suite start
    Nr�r&r&)
r
�poprr�INDENTrr�DEDENTr$�extend)rZkidsrrrr�fixup_indent{s		!		r0c@s(eZdZdZdZdd�ZdS)�FixMetaclassTz
    classdef<any*>
    cCs$t|�sdSt|�d}x-t|�D]\}}}|}|j�q-W|jdj}t|j�dkr�|jdjtjkr�|jd}q�|jdj	�}	t
tj|	g�}|jd|�n�t|j�dkrt
tjg�}|jd|�n~t|j�dkr�t
tjg�}|jdt
tjd��|jd|�|jdt
tjd��ntd	��|jdjd}
d
|
_|
j}|jr�|jt
tjd��d|
_n	d
|
_|jd}|jtjkst�d
|jd_d
|jd_|j|�t|�|js�|j�t
|d�}
||
_|j|
�|jt
tjd��n�t|j�dkr |jdjtjkr |jdjtjkr t
|d�}
|jd|
�|jdt
tjd��dS)Nr����r�)�(zUnexpected class definition�	metaclass�,� r+r�pass�
���r&r&r&)r
r!r*rr
r�lenr�arglistrrZ	set_childr#rr�RPAR�LPARrrr$r�COMMAr�AssertionErrorr0r'r-r.)�selfrZresultsZlast_metaclassrrZstmtZ	text_typer?rZmeta_txtZorig_meta_prefixrZ	pass_leafrrr�	transform�s`
				


	
	
zFixMetaclass.transformN)�__name__�
__module__�__qualname__Z
BM_compatibleZPATTERNrErrrrr1�sr1N)�__doc__r+rZpygramrZ
fixer_utilrrrrr
r!r%r(r*r0ZBaseFixr1rrrr�<module>s"

SILENT KILLER Tool