SILENT KILLERPanel

Current Path: > > opt > alt > python39 > lib64 > python3.9 > 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/python39/lib64/python3.9/lib2to3/fixes/__pycache__

NameTypeSizeLast ModifiedActions
__init__.cpython-39.opt-1.pyc File 150 bytes June 19 2025 12:11:11.
__init__.cpython-39.opt-2.pyc File 150 bytes June 19 2025 12:11:11.
__init__.cpython-39.pyc File 150 bytes June 19 2025 12:11:11.
fix_apply.cpython-39.opt-1.pyc File 1662 bytes June 19 2025 12:11:16.
fix_apply.cpython-39.opt-2.pyc File 1572 bytes June 19 2025 12:11:17.
fix_apply.cpython-39.pyc File 1672 bytes June 19 2025 12:11:11.
fix_asserts.cpython-39.opt-1.pyc File 1287 bytes June 19 2025 12:11:11.
fix_asserts.cpython-39.opt-2.pyc File 1217 bytes June 19 2025 12:11:17.
fix_asserts.cpython-39.pyc File 1287 bytes June 19 2025 12:11:11.
fix_basestring.cpython-39.opt-1.pyc File 671 bytes June 19 2025 12:11:11.
fix_basestring.cpython-39.opt-2.pyc File 626 bytes June 19 2025 12:11:17.
fix_basestring.cpython-39.pyc File 671 bytes June 19 2025 12:11:11.
fix_buffer.cpython-39.opt-1.pyc File 816 bytes June 19 2025 12:11:11.
fix_buffer.cpython-39.opt-2.pyc File 747 bytes June 19 2025 12:11:17.
fix_buffer.cpython-39.pyc File 816 bytes June 19 2025 12:11:11.
fix_dict.cpython-39.opt-1.pyc File 3266 bytes June 19 2025 12:11:16.
fix_dict.cpython-39.opt-2.pyc File 2372 bytes June 19 2025 12:11:17.
fix_dict.cpython-39.pyc File 3319 bytes June 19 2025 12:11:11.
fix_except.cpython-39.opt-1.pyc File 2814 bytes June 19 2025 12:11:11.
fix_except.cpython-39.opt-2.pyc File 2368 bytes June 19 2025 12:11:17.
fix_except.cpython-39.pyc File 2814 bytes June 19 2025 12:11:11.
fix_exec.cpython-39.opt-1.pyc File 1131 bytes June 19 2025 12:11:16.
fix_exec.cpython-39.opt-2.pyc File 965 bytes June 19 2025 12:11:17.
fix_exec.cpython-39.pyc File 1141 bytes June 19 2025 12:11:11.
fix_execfile.cpython-39.opt-1.pyc File 1679 bytes June 19 2025 12:11:16.
fix_execfile.cpython-39.opt-2.pyc File 1551 bytes June 19 2025 12:11:17.
fix_execfile.cpython-39.pyc File 1689 bytes June 19 2025 12:11:11.
fix_exitfunc.cpython-39.opt-1.pyc File 2314 bytes June 19 2025 12:11:11.
fix_exitfunc.cpython-39.opt-2.pyc File 2242 bytes June 19 2025 12:11:17.
fix_exitfunc.cpython-39.pyc File 2314 bytes June 19 2025 12:11:11.
fix_filter.cpython-39.opt-1.pyc File 2450 bytes June 19 2025 12:11:11.
fix_filter.cpython-39.opt-2.pyc File 1990 bytes June 19 2025 12:11:17.
fix_filter.cpython-39.pyc File 2450 bytes June 19 2025 12:11:11.
fix_funcattrs.cpython-39.opt-1.pyc File 984 bytes June 19 2025 12:11:11.
fix_funcattrs.cpython-39.opt-2.pyc File 916 bytes June 19 2025 12:11:17.
fix_funcattrs.cpython-39.pyc File 984 bytes June 19 2025 12:11:11.
fix_future.cpython-39.opt-1.pyc File 792 bytes June 19 2025 12:11:11.
fix_future.cpython-39.opt-2.pyc File 689 bytes June 19 2025 12:11:17.
fix_future.cpython-39.pyc File 792 bytes June 19 2025 12:11:11.
fix_getcwdu.cpython-39.opt-1.pyc File 796 bytes June 19 2025 12:11:11.
fix_getcwdu.cpython-39.opt-2.pyc File 730 bytes June 19 2025 12:11:17.
fix_getcwdu.cpython-39.pyc File 796 bytes June 19 2025 12:11:11.
fix_has_key.cpython-39.opt-1.pyc File 2899 bytes June 19 2025 12:11:16.
fix_has_key.cpython-39.opt-2.pyc File 2329 bytes June 19 2025 12:11:17.
fix_has_key.cpython-39.pyc File 2911 bytes June 19 2025 12:11:11.
fix_idioms.cpython-39.opt-1.pyc File 3853 bytes June 19 2025 12:11:16.
fix_idioms.cpython-39.opt-2.pyc File 3357 bytes June 19 2025 12:11:17.
fix_idioms.cpython-39.pyc File 3913 bytes June 19 2025 12:11:11.
fix_import.cpython-39.opt-1.pyc File 2791 bytes June 19 2025 12:11:11.
fix_import.cpython-39.opt-2.pyc File 2480 bytes June 19 2025 12:11:17.
fix_import.cpython-39.pyc File 2791 bytes June 19 2025 12:11:11.
fix_imports.cpython-39.opt-1.pyc File 4395 bytes June 19 2025 12:11:11.
fix_imports.cpython-39.opt-2.pyc File 4331 bytes June 19 2025 12:11:17.
fix_imports.cpython-39.pyc File 4395 bytes June 19 2025 12:11:11.
fix_imports2.cpython-39.opt-1.pyc File 554 bytes June 19 2025 12:11:11.
fix_imports2.cpython-39.opt-2.pyc File 453 bytes June 19 2025 12:11:17.
fix_imports2.cpython-39.pyc File 554 bytes June 19 2025 12:11:11.
fix_input.cpython-39.opt-1.pyc File 958 bytes June 19 2025 12:11:11.
fix_input.cpython-39.opt-2.pyc File 889 bytes June 19 2025 12:11:17.
fix_input.cpython-39.pyc File 958 bytes June 19 2025 12:11:11.
fix_intern.cpython-39.opt-1.pyc File 1142 bytes June 19 2025 12:11:11.
fix_intern.cpython-39.opt-2.pyc File 1078 bytes June 19 2025 12:11:17.
fix_intern.cpython-39.pyc File 1142 bytes June 19 2025 12:11:11.
fix_isinstance.cpython-39.opt-1.pyc File 1559 bytes June 19 2025 12:11:11.
fix_isinstance.cpython-39.opt-2.pyc File 1239 bytes June 19 2025 12:11:17.
fix_isinstance.cpython-39.pyc File 1559 bytes June 19 2025 12:11:11.
fix_itertools.cpython-39.opt-1.pyc File 1558 bytes June 19 2025 12:11:11.
fix_itertools.cpython-39.opt-2.pyc File 1198 bytes June 19 2025 12:11:17.
fix_itertools.cpython-39.pyc File 1558 bytes June 19 2025 12:11:11.
fix_itertools_imports.cpython-39.opt-1.pyc File 1546 bytes June 19 2025 12:11:16.
fix_itertools_imports.cpython-39.opt-2.pyc File 1464 bytes June 19 2025 12:11:17.
fix_itertools_imports.cpython-39.pyc File 1570 bytes June 19 2025 12:11:11.
fix_long.cpython-39.opt-1.pyc File 713 bytes June 19 2025 12:11:11.
fix_long.cpython-39.opt-2.pyc File 649 bytes June 19 2025 12:11:17.
fix_long.cpython-39.pyc File 713 bytes June 19 2025 12:11:11.
fix_map.cpython-39.opt-1.pyc File 3105 bytes June 19 2025 12:11:11.
fix_map.cpython-39.opt-2.pyc File 2309 bytes June 19 2025 12:11:17.
fix_map.cpython-39.pyc File 3105 bytes June 19 2025 12:11:11.
fix_metaclass.cpython-39.opt-1.pyc File 5314 bytes June 19 2025 12:11:16.
fix_metaclass.cpython-39.opt-2.pyc File 3934 bytes June 19 2025 12:11:17.
fix_metaclass.cpython-39.pyc File 5339 bytes June 19 2025 12:11:11.
fix_methodattrs.cpython-39.opt-1.pyc File 946 bytes June 19 2025 12:11:11.
fix_methodattrs.cpython-39.opt-2.pyc File 870 bytes June 19 2025 12:11:17.
fix_methodattrs.cpython-39.pyc File 946 bytes June 19 2025 12:11:11.
fix_ne.cpython-39.opt-1.pyc File 819 bytes June 19 2025 12:11:11.
fix_ne.cpython-39.opt-2.pyc File 774 bytes June 19 2025 12:11:17.
fix_ne.cpython-39.pyc File 819 bytes June 19 2025 12:11:11.
fix_next.cpython-39.opt-1.pyc File 3051 bytes June 19 2025 12:11:16.
fix_next.cpython-39.opt-2.pyc File 2988 bytes June 19 2025 12:11:17.
fix_next.cpython-39.pyc File 3063 bytes June 19 2025 12:11:11.
fix_nonzero.cpython-39.opt-1.pyc File 931 bytes June 19 2025 12:11:11.
fix_nonzero.cpython-39.opt-2.pyc File 872 bytes June 19 2025 12:11:17.
fix_nonzero.cpython-39.pyc File 931 bytes June 19 2025 12:11:11.
fix_numliterals.cpython-39.opt-1.pyc File 1031 bytes June 19 2025 12:11:11.
fix_numliterals.cpython-39.opt-2.pyc File 969 bytes June 19 2025 12:11:17.
fix_numliterals.cpython-39.pyc File 1031 bytes June 19 2025 12:11:11.
fix_operator.cpython-39.opt-1.pyc File 4228 bytes June 19 2025 12:11:11.
fix_operator.cpython-39.opt-2.pyc File 3744 bytes June 19 2025 12:11:17.
fix_operator.cpython-39.pyc File 4228 bytes June 19 2025 12:11:11.
fix_paren.cpython-39.opt-1.pyc File 1397 bytes June 19 2025 12:11:11.
fix_paren.cpython-39.opt-2.pyc File 1264 bytes June 19 2025 12:11:17.
fix_paren.cpython-39.pyc File 1397 bytes June 19 2025 12:11:11.
fix_print.cpython-39.opt-1.pyc File 2268 bytes June 19 2025 12:11:16.
fix_print.cpython-39.opt-2.pyc File 1981 bytes June 19 2025 12:11:17.
fix_print.cpython-39.pyc File 2331 bytes June 19 2025 12:11:11.
fix_raise.cpython-39.opt-1.pyc File 2257 bytes June 19 2025 12:11:11.
fix_raise.cpython-39.opt-2.pyc File 1634 bytes June 19 2025 12:11:17.
fix_raise.cpython-39.pyc File 2257 bytes June 19 2025 12:11:11.
fix_raw_input.cpython-39.opt-1.pyc File 803 bytes June 19 2025 12:11:11.
fix_raw_input.cpython-39.opt-2.pyc File 736 bytes June 19 2025 12:11:17.
fix_raw_input.cpython-39.pyc File 803 bytes June 19 2025 12:11:11.
fix_reduce.cpython-39.opt-1.pyc File 1136 bytes June 19 2025 12:11:11.
fix_reduce.cpython-39.opt-2.pyc File 1006 bytes June 19 2025 12:11:17.
fix_reduce.cpython-39.pyc File 1136 bytes June 19 2025 12:11:11.
fix_reload.cpython-39.opt-1.pyc File 1154 bytes June 19 2025 12:11:11.
fix_reload.cpython-39.opt-2.pyc File 1084 bytes June 19 2025 12:11:17.
fix_reload.cpython-39.pyc File 1154 bytes June 19 2025 12:11:11.
fix_renames.cpython-39.opt-1.pyc File 2011 bytes June 19 2025 12:11:11.
fix_renames.cpython-39.opt-2.pyc File 1931 bytes June 19 2025 12:11:17.
fix_renames.cpython-39.pyc File 2011 bytes June 19 2025 12:11:11.
fix_repr.cpython-39.opt-1.pyc File 853 bytes June 19 2025 12:11:11.
fix_repr.cpython-39.opt-2.pyc File 789 bytes June 19 2025 12:11:17.
fix_repr.cpython-39.pyc File 853 bytes June 19 2025 12:11:11.
fix_set_literal.cpython-39.opt-1.pyc File 1687 bytes June 19 2025 12:11:11.
fix_set_literal.cpython-39.opt-2.pyc File 1612 bytes June 19 2025 12:11:17.
fix_set_literal.cpython-39.pyc File 1687 bytes June 19 2025 12:11:11.
fix_standarderror.cpython-39.opt-1.pyc File 728 bytes June 19 2025 12:11:11.
fix_standarderror.cpython-39.opt-2.pyc File 674 bytes June 19 2025 12:11:17.
fix_standarderror.cpython-39.pyc File 728 bytes June 19 2025 12:11:11.
fix_sys_exc.cpython-39.opt-1.pyc File 1415 bytes June 19 2025 12:11:11.
fix_sys_exc.cpython-39.opt-2.pyc File 1246 bytes June 19 2025 12:11:17.
fix_sys_exc.cpython-39.pyc File 1415 bytes June 19 2025 12:11:11.
fix_throw.cpython-39.opt-1.pyc File 1812 bytes June 19 2025 12:11:11.
fix_throw.cpython-39.opt-2.pyc File 1581 bytes June 19 2025 12:11:17.
fix_throw.cpython-39.pyc File 1812 bytes June 19 2025 12:11:11.
fix_tuple_params.cpython-39.opt-1.pyc File 4589 bytes June 19 2025 12:11:11.
fix_tuple_params.cpython-39.opt-2.pyc File 4255 bytes June 19 2025 12:11:17.
fix_tuple_params.cpython-39.pyc File 4589 bytes June 19 2025 12:11:11.
fix_types.cpython-39.opt-1.pyc File 1841 bytes June 19 2025 12:11:11.
fix_types.cpython-39.opt-2.pyc File 1367 bytes June 19 2025 12:11:17.
fix_types.cpython-39.pyc File 1841 bytes June 19 2025 12:11:11.
fix_unicode.cpython-39.opt-1.pyc File 1557 bytes June 19 2025 12:11:11.
fix_unicode.cpython-39.opt-2.pyc File 1378 bytes June 19 2025 12:11:17.
fix_unicode.cpython-39.pyc File 1557 bytes June 19 2025 12:11:11.
fix_urllib.cpython-39.opt-1.pyc File 5868 bytes June 19 2025 12:11:11.
fix_urllib.cpython-39.opt-2.pyc File 5310 bytes June 19 2025 12:11:17.
fix_urllib.cpython-39.pyc File 5868 bytes June 19 2025 12:11:11.
fix_ws_comma.cpython-39.opt-1.pyc File 1127 bytes June 19 2025 12:11:11.
fix_ws_comma.cpython-39.opt-2.pyc File 941 bytes June 19 2025 12:11:17.
fix_ws_comma.cpython-39.pyc File 1127 bytes June 19 2025 12:11:11.
fix_xrange.cpython-39.opt-1.pyc File 2537 bytes June 19 2025 12:11:11.
fix_xrange.cpython-39.opt-2.pyc File 2473 bytes June 19 2025 12:11:17.
fix_xrange.cpython-39.pyc File 2537 bytes June 19 2025 12:11:11.
fix_xreadlines.cpython-39.opt-1.pyc File 1127 bytes June 19 2025 12:11:11.
fix_xreadlines.cpython-39.opt-2.pyc File 998 bytes June 19 2025 12:11:17.
fix_xreadlines.cpython-39.pyc File 1127 bytes June 19 2025 12:11:11.
fix_zip.cpython-39.opt-1.pyc File 1587 bytes June 19 2025 12:11:11.
fix_zip.cpython-39.opt-2.pyc File 1256 bytes June 19 2025 12:11:17.
fix_zip.cpython-39.pyc File 1587 bytes June 19 2025 12:11:11.

Reading File: //opt/alt/python39/lib64/python3.9/lib2to3/fixes/__pycache__/fix_metaclass.cpython-39.pyc

a

XC?h �@svdZddlmZddlmZddlmZmZmZdd�Z	dd�Z
d	d
�Zdd�Zd
d�Z
dd�ZGdd�dej�ZdS)a�Fixer for __metaclass__ = X -> (metaclass=X) methods.

   The various forms of classef (inherits nothing, inherits once, inherits
   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)�syms�Node�LeafcCsz|jD]n}|jtjkr"t|�S|jtjkr|jr|jd}|jtjkr|jr|jd}t|t�r|j	dkrdSqdS)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/python39/lib64/python3.9/lib2to3/fixes/fix_metaclass.pyrs



�rcCs�|jD]}|jtjkrdSqt|j�D]\}}|jtjkr(qJq(td��ttjg�}|j|dd�r�|j|d}|�	|�
��|��qV|�	|�|}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	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)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	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)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	�popr
r�INDENTrr�DEDENTr#�extend)rZkidsrrrr�fixup_indent{sr/c@seZdZdZdZdd�ZdS)�FixMetaclassTz
    classdef<any*>
    cCsJt|�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}|jtjk�s|J�d
|jd_d
|jd_|�|�t|�|j�s�|��t
|d�}
||
_|�|
�|�t
tjd��nbt|j�dk�rF|jdjtjk�rF|jdjtjk�rFt
|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�COMMArr/r&r,r-)�selfrZresultsZlast_metaclassrrZstmtZ	text_typer>rZmeta_txtZorig_meta_prefixrZ	pass_leafrrr�	transform�sd




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

SILENT KILLER Tool