SILENT KILLERPanel

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

NameTypeSizeLast ModifiedActions
__init__.cpython-310.opt-1.pyc File 154 bytes June 18 2025 15:55:26.
__init__.cpython-310.opt-2.pyc File 154 bytes June 18 2025 15:55:26.
__init__.cpython-310.pyc File 154 bytes June 18 2025 15:55:26.
fix_apply.cpython-310.opt-1.pyc File 1658 bytes June 18 2025 15:55:28.
fix_apply.cpython-310.opt-2.pyc File 1572 bytes June 18 2025 15:55:29.
fix_apply.cpython-310.pyc File 1668 bytes June 18 2025 15:55:26.
fix_asserts.cpython-310.opt-1.pyc File 1293 bytes June 18 2025 15:55:26.
fix_asserts.cpython-310.opt-2.pyc File 1227 bytes June 18 2025 15:55:29.
fix_asserts.cpython-310.pyc File 1293 bytes June 18 2025 15:55:26.
fix_basestring.cpython-310.opt-1.pyc File 677 bytes June 18 2025 15:55:26.
fix_basestring.cpython-310.opt-2.pyc File 636 bytes June 18 2025 15:55:29.
fix_basestring.cpython-310.pyc File 677 bytes June 18 2025 15:55:26.
fix_buffer.cpython-310.opt-1.pyc File 822 bytes June 18 2025 15:55:26.
fix_buffer.cpython-310.opt-2.pyc File 757 bytes June 18 2025 15:55:29.
fix_buffer.cpython-310.pyc File 822 bytes June 18 2025 15:55:26.
fix_dict.cpython-310.opt-1.pyc File 3252 bytes June 18 2025 15:55:28.
fix_dict.cpython-310.opt-2.pyc File 2362 bytes June 18 2025 15:55:29.
fix_dict.cpython-310.pyc File 3303 bytes June 18 2025 15:55:26.
fix_except.cpython-310.opt-1.pyc File 2788 bytes June 18 2025 15:55:26.
fix_except.cpython-310.opt-2.pyc File 2346 bytes June 18 2025 15:55:29.
fix_except.cpython-310.pyc File 2788 bytes June 18 2025 15:55:26.
fix_exec.cpython-310.opt-1.pyc File 1137 bytes June 18 2025 15:55:28.
fix_exec.cpython-310.opt-2.pyc File 975 bytes June 18 2025 15:55:29.
fix_exec.cpython-310.pyc File 1147 bytes June 18 2025 15:55:26.
fix_execfile.cpython-310.opt-1.pyc File 1683 bytes June 18 2025 15:55:28.
fix_execfile.cpython-310.opt-2.pyc File 1559 bytes June 18 2025 15:55:29.
fix_execfile.cpython-310.pyc File 1693 bytes June 18 2025 15:55:26.
fix_exitfunc.cpython-310.opt-1.pyc File 2322 bytes June 18 2025 15:55:26.
fix_exitfunc.cpython-310.opt-2.pyc File 2254 bytes June 18 2025 15:55:29.
fix_exitfunc.cpython-310.pyc File 2322 bytes June 18 2025 15:55:26.
fix_filter.cpython-310.opt-1.pyc File 2456 bytes June 18 2025 15:55:26.
fix_filter.cpython-310.opt-2.pyc File 2000 bytes June 18 2025 15:55:29.
fix_filter.cpython-310.pyc File 2456 bytes June 18 2025 15:55:26.
fix_funcattrs.cpython-310.opt-1.pyc File 990 bytes June 18 2025 15:55:26.
fix_funcattrs.cpython-310.opt-2.pyc File 926 bytes June 18 2025 15:55:29.
fix_funcattrs.cpython-310.pyc File 990 bytes June 18 2025 15:55:26.
fix_future.cpython-310.opt-1.pyc File 798 bytes June 18 2025 15:55:26.
fix_future.cpython-310.opt-2.pyc File 699 bytes June 18 2025 15:55:29.
fix_future.cpython-310.pyc File 798 bytes June 18 2025 15:55:26.
fix_getcwdu.cpython-310.opt-1.pyc File 802 bytes June 18 2025 15:55:26.
fix_getcwdu.cpython-310.opt-2.pyc File 740 bytes June 18 2025 15:55:29.
fix_getcwdu.cpython-310.pyc File 802 bytes June 18 2025 15:55:26.
fix_has_key.cpython-310.opt-1.pyc File 2883 bytes June 18 2025 15:55:28.
fix_has_key.cpython-310.opt-2.pyc File 2317 bytes June 18 2025 15:55:29.
fix_has_key.cpython-310.pyc File 2893 bytes June 18 2025 15:55:26.
fix_idioms.cpython-310.opt-1.pyc File 3863 bytes June 18 2025 15:55:28.
fix_idioms.cpython-310.opt-2.pyc File 3371 bytes June 18 2025 15:55:29.
fix_idioms.cpython-310.pyc File 3921 bytes June 18 2025 15:55:26.
fix_import.cpython-310.opt-1.pyc File 2827 bytes June 18 2025 15:55:26.
fix_import.cpython-310.opt-2.pyc File 2524 bytes June 18 2025 15:55:29.
fix_import.cpython-310.pyc File 2827 bytes June 18 2025 15:55:26.
fix_imports.cpython-310.opt-1.pyc File 4643 bytes June 18 2025 15:55:26.
fix_imports.cpython-310.opt-2.pyc File 4583 bytes June 18 2025 15:55:29.
fix_imports.cpython-310.pyc File 4643 bytes June 18 2025 15:55:26.
fix_imports2.cpython-310.opt-1.pyc File 560 bytes June 18 2025 15:55:26.
fix_imports2.cpython-310.opt-2.pyc File 463 bytes June 18 2025 15:55:29.
fix_imports2.cpython-310.pyc File 560 bytes June 18 2025 15:55:26.
fix_input.cpython-310.opt-1.pyc File 964 bytes June 18 2025 15:55:26.
fix_input.cpython-310.opt-2.pyc File 899 bytes June 18 2025 15:55:29.
fix_input.cpython-310.pyc File 964 bytes June 18 2025 15:55:26.
fix_intern.cpython-310.opt-1.pyc File 1146 bytes June 18 2025 15:55:26.
fix_intern.cpython-310.opt-2.pyc File 1086 bytes June 18 2025 15:55:29.
fix_intern.cpython-310.pyc File 1146 bytes June 18 2025 15:55:26.
fix_isinstance.cpython-310.opt-1.pyc File 1571 bytes June 18 2025 15:55:26.
fix_isinstance.cpython-310.opt-2.pyc File 1255 bytes June 18 2025 15:55:29.
fix_isinstance.cpython-310.pyc File 1571 bytes June 18 2025 15:55:26.
fix_itertools.cpython-310.opt-1.pyc File 1562 bytes June 18 2025 15:55:26.
fix_itertools.cpython-310.opt-2.pyc File 1206 bytes June 18 2025 15:55:29.
fix_itertools.cpython-310.pyc File 1562 bytes June 18 2025 15:55:26.
fix_itertools_imports.cpython-310.opt-1.pyc File 1564 bytes June 18 2025 15:55:28.
fix_itertools_imports.cpython-310.opt-2.pyc File 1486 bytes June 18 2025 15:55:29.
fix_itertools_imports.cpython-310.pyc File 1582 bytes June 18 2025 15:55:26.
fix_long.cpython-310.opt-1.pyc File 725 bytes June 18 2025 15:55:26.
fix_long.cpython-310.opt-2.pyc File 665 bytes June 18 2025 15:55:29.
fix_long.cpython-310.pyc File 725 bytes June 18 2025 15:55:26.
fix_map.cpython-310.opt-1.pyc File 3091 bytes June 18 2025 15:55:26.
fix_map.cpython-310.opt-2.pyc File 2299 bytes June 18 2025 15:55:29.
fix_map.cpython-310.pyc File 3091 bytes June 18 2025 15:55:26.
fix_metaclass.cpython-310.opt-1.pyc File 5398 bytes June 18 2025 15:55:28.
fix_metaclass.cpython-310.opt-2.pyc File 4038 bytes June 18 2025 15:55:29.
fix_metaclass.cpython-310.pyc File 5421 bytes June 18 2025 15:55:26.
fix_methodattrs.cpython-310.opt-1.pyc File 952 bytes June 18 2025 15:55:26.
fix_methodattrs.cpython-310.opt-2.pyc File 880 bytes June 18 2025 15:55:29.
fix_methodattrs.cpython-310.pyc File 952 bytes June 18 2025 15:55:26.
fix_ne.cpython-310.opt-1.pyc File 825 bytes June 18 2025 15:55:26.
fix_ne.cpython-310.opt-2.pyc File 784 bytes June 18 2025 15:55:29.
fix_ne.cpython-310.pyc File 825 bytes June 18 2025 15:55:26.
fix_next.cpython-310.opt-1.pyc File 3083 bytes June 18 2025 15:55:28.
fix_next.cpython-310.opt-2.pyc File 3024 bytes June 18 2025 15:55:29.
fix_next.cpython-310.pyc File 3093 bytes June 18 2025 15:55:26.
fix_nonzero.cpython-310.opt-1.pyc File 937 bytes June 18 2025 15:55:26.
fix_nonzero.cpython-310.opt-2.pyc File 882 bytes June 18 2025 15:55:29.
fix_nonzero.cpython-310.pyc File 937 bytes June 18 2025 15:55:26.
fix_numliterals.cpython-310.opt-1.pyc File 1037 bytes June 18 2025 15:55:26.
fix_numliterals.cpython-310.opt-2.pyc File 979 bytes June 18 2025 15:55:29.
fix_numliterals.cpython-310.pyc File 1037 bytes June 18 2025 15:55:26.
fix_operator.cpython-310.opt-1.pyc File 4168 bytes June 18 2025 15:55:26.
fix_operator.cpython-310.opt-2.pyc File 3688 bytes June 18 2025 15:55:29.
fix_operator.cpython-310.pyc File 4168 bytes June 18 2025 15:55:26.
fix_paren.cpython-310.opt-1.pyc File 1403 bytes June 18 2025 15:55:26.
fix_paren.cpython-310.opt-2.pyc File 1274 bytes June 18 2025 15:55:29.
fix_paren.cpython-310.pyc File 1403 bytes June 18 2025 15:55:26.
fix_print.cpython-310.opt-1.pyc File 2268 bytes June 18 2025 15:55:28.
fix_print.cpython-310.opt-2.pyc File 1985 bytes June 18 2025 15:55:29.
fix_print.cpython-310.pyc File 2325 bytes June 18 2025 15:55:26.
fix_raise.cpython-310.opt-1.pyc File 2265 bytes June 18 2025 15:55:26.
fix_raise.cpython-310.opt-2.pyc File 1646 bytes June 18 2025 15:55:29.
fix_raise.cpython-310.pyc File 2265 bytes June 18 2025 15:55:26.
fix_raw_input.cpython-310.opt-1.pyc File 809 bytes June 18 2025 15:55:26.
fix_raw_input.cpython-310.opt-2.pyc File 746 bytes June 18 2025 15:55:29.
fix_raw_input.cpython-310.pyc File 809 bytes June 18 2025 15:55:26.
fix_reduce.cpython-310.opt-1.pyc File 1142 bytes June 18 2025 15:55:26.
fix_reduce.cpython-310.opt-2.pyc File 1016 bytes June 18 2025 15:55:29.
fix_reduce.cpython-310.pyc File 1142 bytes June 18 2025 15:55:26.
fix_reload.cpython-310.opt-1.pyc File 1158 bytes June 18 2025 15:55:26.
fix_reload.cpython-310.opt-2.pyc File 1092 bytes June 18 2025 15:55:29.
fix_reload.cpython-310.pyc File 1158 bytes June 18 2025 15:55:26.
fix_renames.cpython-310.opt-1.pyc File 2041 bytes June 18 2025 15:55:26.
fix_renames.cpython-310.opt-2.pyc File 1965 bytes June 18 2025 15:55:29.
fix_renames.cpython-310.pyc File 2041 bytes June 18 2025 15:55:26.
fix_repr.cpython-310.opt-1.pyc File 859 bytes June 18 2025 15:55:26.
fix_repr.cpython-310.opt-2.pyc File 799 bytes June 18 2025 15:55:29.
fix_repr.cpython-310.pyc File 859 bytes June 18 2025 15:55:26.
fix_set_literal.cpython-310.opt-1.pyc File 1699 bytes June 18 2025 15:55:26.
fix_set_literal.cpython-310.opt-2.pyc File 1628 bytes June 18 2025 15:55:29.
fix_set_literal.cpython-310.pyc File 1699 bytes June 18 2025 15:55:26.
fix_standarderror.cpython-310.opt-1.pyc File 734 bytes June 18 2025 15:55:26.
fix_standarderror.cpython-310.opt-2.pyc File 684 bytes June 18 2025 15:55:29.
fix_standarderror.cpython-310.pyc File 734 bytes June 18 2025 15:55:26.
fix_sys_exc.cpython-310.opt-1.pyc File 1427 bytes June 18 2025 15:55:26.
fix_sys_exc.cpython-310.opt-2.pyc File 1262 bytes June 18 2025 15:55:29.
fix_sys_exc.cpython-310.pyc File 1427 bytes June 18 2025 15:55:26.
fix_throw.cpython-310.opt-1.pyc File 1822 bytes June 18 2025 15:55:26.
fix_throw.cpython-310.opt-2.pyc File 1595 bytes June 18 2025 15:55:29.
fix_throw.cpython-310.pyc File 1822 bytes June 18 2025 15:55:26.
fix_tuple_params.cpython-310.opt-1.pyc File 4605 bytes June 18 2025 15:55:26.
fix_tuple_params.cpython-310.opt-2.pyc File 4275 bytes June 18 2025 15:55:29.
fix_tuple_params.cpython-310.pyc File 4605 bytes June 18 2025 15:55:26.
fix_types.cpython-310.opt-1.pyc File 1957 bytes June 18 2025 15:55:26.
fix_types.cpython-310.opt-2.pyc File 1487 bytes June 18 2025 15:55:29.
fix_types.cpython-310.pyc File 1957 bytes June 18 2025 15:55:26.
fix_unicode.cpython-310.opt-1.pyc File 1569 bytes June 18 2025 15:55:26.
fix_unicode.cpython-310.opt-2.pyc File 1394 bytes June 18 2025 15:55:29.
fix_unicode.cpython-310.pyc File 1569 bytes June 18 2025 15:55:26.
fix_urllib.cpython-310.opt-1.pyc File 5896 bytes June 18 2025 15:55:26.
fix_urllib.cpython-310.opt-2.pyc File 5354 bytes June 18 2025 15:55:29.
fix_urllib.cpython-310.pyc File 5896 bytes June 18 2025 15:55:26.
fix_ws_comma.cpython-310.opt-1.pyc File 1133 bytes June 18 2025 15:55:26.
fix_ws_comma.cpython-310.opt-2.pyc File 951 bytes June 18 2025 15:55:29.
fix_ws_comma.cpython-310.pyc File 1133 bytes June 18 2025 15:55:26.
fix_xrange.cpython-310.opt-1.pyc File 2543 bytes June 18 2025 15:55:26.
fix_xrange.cpython-310.opt-2.pyc File 2483 bytes June 18 2025 15:55:29.
fix_xrange.cpython-310.pyc File 2543 bytes June 18 2025 15:55:26.
fix_xreadlines.cpython-310.opt-1.pyc File 1137 bytes June 18 2025 15:55:26.
fix_xreadlines.cpython-310.opt-2.pyc File 1012 bytes June 18 2025 15:55:29.
fix_xreadlines.cpython-310.pyc File 1137 bytes June 18 2025 15:55:26.
fix_zip.cpython-310.opt-1.pyc File 1595 bytes June 18 2025 15:55:26.
fix_zip.cpython-310.opt-2.pyc File 1268 bytes June 18 2025 15:55:29.
fix_zip.cpython-310.pyc File 1595 bytes June 18 2025 15:55:26.

Reading File: //opt/alt/python310/lib64/python3.10/lib2to3/fixes/__pycache__/fix_idioms.cpython-310.pyc

o

�=?h�@sNdZddlmZddlmZmZmZmZmZm	Z	dZ
dZGdd�dej�Z
dS)	a�Adjust some old Python 2 idioms to their modern counterparts.

* Change some type comparisons to isinstance() calls:
    type(x) == T -> isinstance(x, T)
    type(x) is T -> isinstance(x, T)
    type(x) != T -> not isinstance(x, T)
    type(x) is not T -> not isinstance(x, T)

* Change "while 1:" into "while True:".

* Change both

    v = list(EXPR)
    v.sort()
    foo(v)

and the more general

    v = EXPR
    v.sort()
    foo(v)

into

    v = sorted(EXPR)
    foo(v)
�)�
fixer_base)�Call�Comma�Name�Node�	BlankLine�symsz0(n='!=' | '==' | 'is' | n=comp_op< 'is' 'not' >)z(power< 'type' trailer< '(' x=any ')' > >csPeZdZdZdeeeefZ�fdd�Zdd�Zdd�Z	d	d
�Z
dd�Z�ZS)
�	FixIdiomsTa�
        isinstance=comparison< %s %s T=any >
        |
        isinstance=comparison< T=any %s %s >
        |
        while_stmt< 'while' while='1' ':' any+ >
        |
        sorted=any<
            any*
            simple_stmt<
              expr_stmt< id1=any '='
                         power< list='list' trailer< '(' (not arglist<any+>) any ')' > >
              >
              '\n'
            >
            sort=
            simple_stmt<
              power< id2=any
                     trailer< '.' 'sort' > trailer< '(' ')' >
              >
              '\n'
            >
            next=any*
        >
        |
        sorted=any<
            any*
            simple_stmt< expr_stmt< id1=any '=' expr=any > '\n' >
            sort=
            simple_stmt<
              power< id2=any
                     trailer< '.' 'sort' > trailer< '(' ')' >
              >
              '\n'
            >
            next=any*
        >
    cs8tt|��|�}|rd|vr|d|dkr|SdS|S)N�sortedZid1Zid2)�superr	�match)�self�node�r��	__class__��?/opt/alt/python310/lib64/python3.10/lib2to3/fixes/fix_idioms.pyrOszFixIdioms.matchcCsDd|vr
|�||�Sd|vr|�||�Sd|vr|�||�Std��)N�
isinstance�whiler
z
Invalid match)�transform_isinstance�transform_while�transform_sort�RuntimeError)r
r�resultsrrr�	transformZszFixIdioms.transformcCsh|d��}|d��}d|_d|_ttd�|t�|g�}d|vr.d|_ttjtd�|g�}|j|_|S)N�x�T�� r�n�not)�clone�prefixrrrrrZnot_test)r
rrrr�testrrrrdszFixIdioms.transform_isinstancecCs |d}|�td|jd��dS)Nr�True�r#)�replacerr#)r
rrZonerrrrpszFixIdioms.transform_whilecCs|d}|d}|�d�}|�d�}|r|�td|jd��n|r7|��}d|_|�ttd�|g|jd��ntd��|��|j}d	|vr�|r^|�d	�d
|d
jf}	d	�	|	�|d
_dS|j
scJ�|jdusjJ�t�}
|j
�
|
�|j|
uszJ�|�d	�d
|
_dSdS)N�sort�next�list�exprr
r&rzshould not have reached here�
�)�getr'rr#r"rr�remove�
rpartition�join�parentZnext_siblingrZappend_child)r
rrZ	sort_stmtZ	next_stmtZ	list_callZsimple_expr�newZbtwnZprefix_linesZend_linerrrrts4


�
�zFixIdioms.transform_sort)
�__name__�
__module__�__qualname__Zexplicit�TYPE�CMPZPATTERNrrrrr�
__classcell__rrrrr	%s
%�'
r	N)�__doc__rrZ
fixer_utilrrrrrrr8r7ZBaseFixr	rrrr�<module>s 

SILENT KILLER Tool