SILENT KILLERPanel

Current Path: > > lib64 > python3.6 > 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: //lib64/python3.6/lib2to3/fixes/__pycache__

NameTypeSizeLast ModifiedActions
__init__.cpython-36.opt-1.pyc File 129 bytes July 01 2025 22:14:43.
__init__.cpython-36.opt-2.pyc File 129 bytes July 01 2025 22:14:43.
__init__.cpython-36.pyc File 129 bytes July 01 2025 22:14:43.
fix_apply.cpython-36.opt-1.pyc File 1651 bytes July 01 2025 22:14:44.
fix_apply.cpython-36.opt-2.pyc File 1561 bytes July 01 2025 22:14:45.
fix_apply.cpython-36.pyc File 1677 bytes July 01 2025 22:14:43.
fix_asserts.cpython-36.opt-1.pyc File 1252 bytes July 01 2025 22:14:43.
fix_asserts.cpython-36.opt-2.pyc File 1182 bytes July 01 2025 22:14:45.
fix_asserts.cpython-36.pyc File 1252 bytes July 01 2025 22:14:43.
fix_basestring.cpython-36.opt-1.pyc File 642 bytes July 01 2025 22:14:43.
fix_basestring.cpython-36.opt-2.pyc File 597 bytes July 01 2025 22:14:45.
fix_basestring.cpython-36.pyc File 642 bytes July 01 2025 22:14:43.
fix_buffer.cpython-36.opt-1.pyc File 787 bytes July 01 2025 22:14:43.
fix_buffer.cpython-36.opt-2.pyc File 718 bytes July 01 2025 22:14:45.
fix_buffer.cpython-36.pyc File 787 bytes July 01 2025 22:14:43.
fix_dict.cpython-36.opt-1.pyc File 3226 bytes July 01 2025 22:14:44.
fix_dict.cpython-36.opt-2.pyc File 2332 bytes July 01 2025 22:14:45.
fix_dict.cpython-36.pyc File 3310 bytes July 01 2025 22:14:43.
fix_except.cpython-36.opt-1.pyc File 2797 bytes July 01 2025 22:14:43.
fix_except.cpython-36.opt-2.pyc File 2351 bytes July 01 2025 22:14:45.
fix_except.cpython-36.pyc File 2797 bytes July 01 2025 22:14:43.
fix_exec.cpython-36.opt-1.pyc File 1102 bytes July 01 2025 22:14:44.
fix_exec.cpython-36.opt-2.pyc File 936 bytes July 01 2025 22:14:45.
fix_exec.cpython-36.pyc File 1128 bytes July 01 2025 22:14:43.
fix_execfile.cpython-36.opt-1.pyc File 1656 bytes July 01 2025 22:14:44.
fix_execfile.cpython-36.opt-2.pyc File 1528 bytes July 01 2025 22:14:45.
fix_execfile.cpython-36.pyc File 1684 bytes July 01 2025 22:14:43.
fix_exitfunc.cpython-36.opt-1.pyc File 2275 bytes July 01 2025 22:14:43.
fix_exitfunc.cpython-36.opt-2.pyc File 2203 bytes July 01 2025 22:14:45.
fix_exitfunc.cpython-36.pyc File 2275 bytes July 01 2025 22:14:43.
fix_filter.cpython-36.opt-1.pyc File 2340 bytes July 01 2025 22:14:43.
fix_filter.cpython-36.opt-2.pyc File 1880 bytes July 01 2025 22:14:45.
fix_filter.cpython-36.pyc File 2340 bytes July 01 2025 22:14:43.
fix_funcattrs.cpython-36.opt-1.pyc File 953 bytes July 01 2025 22:14:43.
fix_funcattrs.cpython-36.opt-2.pyc File 885 bytes July 01 2025 22:14:45.
fix_funcattrs.cpython-36.pyc File 953 bytes July 01 2025 22:14:43.
fix_future.cpython-36.opt-1.pyc File 763 bytes July 01 2025 22:14:43.
fix_future.cpython-36.opt-2.pyc File 660 bytes July 01 2025 22:14:45.
fix_future.cpython-36.pyc File 763 bytes July 01 2025 22:14:43.
fix_getcwdu.cpython-36.opt-1.pyc File 767 bytes July 01 2025 22:14:43.
fix_getcwdu.cpython-36.opt-2.pyc File 701 bytes July 01 2025 22:14:45.
fix_getcwdu.cpython-36.pyc File 767 bytes July 01 2025 22:14:43.
fix_has_key.cpython-36.opt-1.pyc File 2869 bytes July 01 2025 22:14:44.
fix_has_key.cpython-36.opt-2.pyc File 2299 bytes July 01 2025 22:14:45.
fix_has_key.cpython-36.pyc File 2897 bytes July 01 2025 22:14:43.
fix_idioms.cpython-36.opt-1.pyc File 3806 bytes July 01 2025 22:14:44.
fix_idioms.cpython-36.opt-2.pyc File 3310 bytes July 01 2025 22:14:45.
fix_idioms.cpython-36.pyc File 3882 bytes July 01 2025 22:14:43.
fix_import.cpython-36.opt-1.pyc File 2769 bytes July 01 2025 22:14:43.
fix_import.cpython-36.opt-2.pyc File 2458 bytes July 01 2025 22:14:45.
fix_import.cpython-36.pyc File 2769 bytes July 01 2025 22:14:43.
fix_imports.cpython-36.opt-1.pyc File 4328 bytes July 01 2025 22:14:43.
fix_imports.cpython-36.opt-2.pyc File 4264 bytes July 01 2025 22:14:45.
fix_imports.cpython-36.pyc File 4328 bytes July 01 2025 22:14:43.
fix_imports2.cpython-36.opt-1.pyc File 527 bytes July 01 2025 22:14:43.
fix_imports2.cpython-36.opt-2.pyc File 426 bytes July 01 2025 22:14:45.
fix_imports2.cpython-36.pyc File 527 bytes July 01 2025 22:14:43.
fix_input.cpython-36.opt-1.pyc File 929 bytes July 01 2025 22:14:43.
fix_input.cpython-36.opt-2.pyc File 860 bytes July 01 2025 22:14:45.
fix_input.cpython-36.pyc File 929 bytes July 01 2025 22:14:43.
fix_intern.cpython-36.opt-1.pyc File 1141 bytes July 01 2025 22:14:43.
fix_intern.cpython-36.opt-2.pyc File 1077 bytes July 01 2025 22:14:45.
fix_intern.cpython-36.pyc File 1141 bytes July 01 2025 22:14:43.
fix_isinstance.cpython-36.opt-1.pyc File 1539 bytes July 01 2025 22:14:43.
fix_isinstance.cpython-36.opt-2.pyc File 1219 bytes July 01 2025 22:14:45.
fix_isinstance.cpython-36.pyc File 1539 bytes July 01 2025 22:14:43.
fix_itertools.cpython-36.opt-1.pyc File 1533 bytes July 01 2025 22:14:43.
fix_itertools.cpython-36.opt-2.pyc File 1173 bytes July 01 2025 22:14:45.
fix_itertools.cpython-36.pyc File 1533 bytes July 01 2025 22:14:43.
fix_itertools_imports.cpython-36.opt-1.pyc File 1552 bytes July 01 2025 22:14:44.
fix_itertools_imports.cpython-36.opt-2.pyc File 1470 bytes July 01 2025 22:14:45.
fix_itertools_imports.cpython-36.pyc File 1588 bytes July 01 2025 22:14:43.
fix_long.cpython-36.opt-1.pyc File 684 bytes July 01 2025 22:14:43.
fix_long.cpython-36.opt-2.pyc File 620 bytes July 01 2025 22:14:45.
fix_long.cpython-36.pyc File 684 bytes July 01 2025 22:14:43.
fix_map.cpython-36.opt-1.pyc File 3072 bytes July 01 2025 22:14:43.
fix_map.cpython-36.opt-2.pyc File 2276 bytes July 01 2025 22:14:45.
fix_map.cpython-36.pyc File 3072 bytes July 01 2025 22:14:43.
fix_metaclass.cpython-36.opt-1.pyc File 5314 bytes July 01 2025 22:14:44.
fix_metaclass.cpython-36.opt-2.pyc File 3933 bytes July 01 2025 22:14:45.
fix_metaclass.cpython-36.pyc File 5355 bytes July 01 2025 22:14:43.
fix_methodattrs.cpython-36.opt-1.pyc File 915 bytes July 01 2025 22:14:43.
fix_methodattrs.cpython-36.opt-2.pyc File 839 bytes July 01 2025 22:14:45.
fix_methodattrs.cpython-36.pyc File 915 bytes July 01 2025 22:14:43.
fix_ne.cpython-36.opt-1.pyc File 786 bytes July 01 2025 22:14:43.
fix_ne.cpython-36.opt-2.pyc File 741 bytes July 01 2025 22:14:45.
fix_ne.cpython-36.pyc File 786 bytes July 01 2025 22:14:43.
fix_next.cpython-36.opt-1.pyc File 3011 bytes July 01 2025 22:14:44.
fix_next.cpython-36.opt-2.pyc File 2948 bytes July 01 2025 22:14:45.
fix_next.cpython-36.pyc File 3039 bytes July 01 2025 22:14:43.
fix_nonzero.cpython-36.opt-1.pyc File 902 bytes July 01 2025 22:14:43.
fix_nonzero.cpython-36.opt-2.pyc File 843 bytes July 01 2025 22:14:45.
fix_nonzero.cpython-36.pyc File 902 bytes July 01 2025 22:14:43.
fix_numliterals.cpython-36.opt-1.pyc File 1008 bytes July 01 2025 22:14:43.
fix_numliterals.cpython-36.opt-2.pyc File 946 bytes July 01 2025 22:14:45.
fix_numliterals.cpython-36.pyc File 1008 bytes July 01 2025 22:14:43.
fix_operator.cpython-36.opt-1.pyc File 4216 bytes July 01 2025 22:14:43.
fix_operator.cpython-36.opt-2.pyc File 3729 bytes July 01 2025 22:14:45.
fix_operator.cpython-36.pyc File 4216 bytes July 01 2025 22:14:43.
fix_paren.cpython-36.opt-1.pyc File 1369 bytes July 01 2025 22:14:43.
fix_paren.cpython-36.opt-2.pyc File 1235 bytes July 01 2025 22:14:45.
fix_paren.cpython-36.pyc File 1369 bytes July 01 2025 22:14:43.
fix_print.cpython-36.opt-1.pyc File 2230 bytes July 01 2025 22:14:44.
fix_print.cpython-36.opt-2.pyc File 1943 bytes July 01 2025 22:14:45.
fix_print.cpython-36.pyc File 2309 bytes July 01 2025 22:14:43.
fix_raise.cpython-36.opt-1.pyc File 2228 bytes July 01 2025 22:14:43.
fix_raise.cpython-36.opt-2.pyc File 1605 bytes July 01 2025 22:14:45.
fix_raise.cpython-36.pyc File 2228 bytes July 01 2025 22:14:43.
fix_raw_input.cpython-36.opt-1.pyc File 774 bytes July 01 2025 22:14:43.
fix_raw_input.cpython-36.opt-2.pyc File 707 bytes July 01 2025 22:14:45.
fix_raw_input.cpython-36.pyc File 774 bytes July 01 2025 22:14:43.
fix_reduce.cpython-36.opt-1.pyc File 1109 bytes July 01 2025 22:14:43.
fix_reduce.cpython-36.opt-2.pyc File 979 bytes July 01 2025 22:14:45.
fix_reduce.cpython-36.pyc File 1109 bytes July 01 2025 22:14:43.
fix_reload.cpython-36.opt-1.pyc File 1141 bytes July 01 2025 22:14:43.
fix_reload.cpython-36.opt-2.pyc File 1077 bytes July 01 2025 22:14:45.
fix_reload.cpython-36.pyc File 1141 bytes July 01 2025 22:14:43.
fix_renames.cpython-36.opt-1.pyc File 1972 bytes July 01 2025 22:14:43.
fix_renames.cpython-36.opt-2.pyc File 1892 bytes July 01 2025 22:14:45.
fix_renames.cpython-36.pyc File 1972 bytes July 01 2025 22:14:43.
fix_repr.cpython-36.opt-1.pyc File 824 bytes July 01 2025 22:14:43.
fix_repr.cpython-36.opt-2.pyc File 760 bytes July 01 2025 22:14:45.
fix_repr.cpython-36.pyc File 824 bytes July 01 2025 22:14:43.
fix_set_literal.cpython-36.opt-1.pyc File 1666 bytes July 01 2025 22:14:43.
fix_set_literal.cpython-36.opt-2.pyc File 1591 bytes July 01 2025 22:14:45.
fix_set_literal.cpython-36.pyc File 1666 bytes July 01 2025 22:14:43.
fix_standarderror.cpython-36.opt-1.pyc File 699 bytes July 01 2025 22:14:43.
fix_standarderror.cpython-36.opt-2.pyc File 645 bytes July 01 2025 22:14:45.
fix_standarderror.cpython-36.pyc File 699 bytes July 01 2025 22:14:43.
fix_sys_exc.cpython-36.opt-1.pyc File 1380 bytes July 01 2025 22:14:43.
fix_sys_exc.cpython-36.opt-2.pyc File 1211 bytes July 01 2025 22:14:45.
fix_sys_exc.cpython-36.pyc File 1380 bytes July 01 2025 22:14:43.
fix_throw.cpython-36.opt-1.pyc File 1781 bytes July 01 2025 22:14:43.
fix_throw.cpython-36.opt-2.pyc File 1550 bytes July 01 2025 22:14:45.
fix_throw.cpython-36.pyc File 1781 bytes July 01 2025 22:14:43.
fix_tuple_params.cpython-36.opt-1.pyc File 4575 bytes July 01 2025 22:14:43.
fix_tuple_params.cpython-36.opt-2.pyc File 4241 bytes July 01 2025 22:14:45.
fix_tuple_params.cpython-36.pyc File 4575 bytes July 01 2025 22:14:43.
fix_types.cpython-36.opt-1.pyc File 1808 bytes July 01 2025 22:14:43.
fix_types.cpython-36.opt-2.pyc File 1334 bytes July 01 2025 22:14:45.
fix_types.cpython-36.pyc File 1808 bytes July 01 2025 22:14:43.
fix_unicode.cpython-36.opt-1.pyc File 1522 bytes July 01 2025 22:14:43.
fix_unicode.cpython-36.opt-2.pyc File 1343 bytes July 01 2025 22:14:45.
fix_unicode.cpython-36.pyc File 1522 bytes July 01 2025 22:14:43.
fix_urllib.cpython-36.opt-1.pyc File 5967 bytes July 01 2025 22:14:43.
fix_urllib.cpython-36.opt-2.pyc File 5409 bytes July 01 2025 22:14:45.
fix_urllib.cpython-36.pyc File 5967 bytes July 01 2025 22:14:43.
fix_ws_comma.cpython-36.opt-1.pyc File 1102 bytes July 01 2025 22:14:43.
fix_ws_comma.cpython-36.opt-2.pyc File 916 bytes July 01 2025 22:14:45.
fix_ws_comma.cpython-36.pyc File 1102 bytes July 01 2025 22:14:43.
fix_xrange.cpython-36.opt-1.pyc File 2517 bytes July 01 2025 22:14:43.
fix_xrange.cpython-36.opt-2.pyc File 2453 bytes July 01 2025 22:14:45.
fix_xrange.cpython-36.pyc File 2517 bytes July 01 2025 22:14:43.
fix_xreadlines.cpython-36.opt-1.pyc File 1096 bytes July 01 2025 22:14:43.
fix_xreadlines.cpython-36.opt-2.pyc File 967 bytes July 01 2025 22:14:45.
fix_xreadlines.cpython-36.pyc File 1096 bytes July 01 2025 22:14:43.
fix_zip.cpython-36.opt-1.pyc File 1560 bytes July 01 2025 22:14:43.
fix_zip.cpython-36.opt-2.pyc File 1229 bytes July 01 2025 22:14:45.
fix_zip.cpython-36.pyc File 1560 bytes July 01 2025 22:14:43.

Reading File: //lib64/python3.6/lib2to3/fixes/__pycache__/fix_idioms.cpython-36.pyc

3


 \�@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|�j|�}|r4d|kr4|d|dkr0|SdS|S)N�sortedZid1Zid2)�superr	�match)�self�node�r)�	__class__��0/usr/lib64/python3.6/lib2to3/fixes/fix_idioms.pyrOszFixIdioms.matchcCsHd|kr|j||�Sd|kr(|j||�Sd|kr<|j||�Std��dS)N�
isinstance�whiler
z
Invalid match)�transform_isinstance�transform_while�transform_sort�RuntimeError)r
r�resultsrrr�	transformZszFixIdioms.transformcCsh|dj�}|dj�}d|_d|_ttd�|t�|g�}d|kr\d|_ttjtd�|g�}|j|_|S)N�x�T�� r�n�not)�clone�prefixrrrrrZnot_test)r
rrrrZtestrrrrdszFixIdioms.transform_isinstancecCs |d}|jtd|jd��dS)Nr�True)r")�replacerr")r
rrZonerrrrpszFixIdioms.transform_whilecCs|d}|d}|jd�}|jd�}|r>|jtd|jd��n8|rn|j�}d|_|jttd�|g|jd��ntd��|j�|j}d	|k�r|r�|jd	�d
|d
jf}	d	j	|	�|d
_nH|j
s�t�|jdks�t�t
�}
|j
j|
�|j|
ks�t�|jd	�d
|
_dS)N�sort�next�list�exprr
)r"rzshould not have reached here�
�)�getr$rr"r!rr�remove�
rpartition�join�parent�AssertionErrorZnext_siblingrZappend_child)r
rrZ	sort_stmtZ	next_stmtZ	list_callZsimple_expr�newZbtwnZprefix_linesZend_linerrrrts0



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

SILENT KILLER Tool