SILENT KILLERPanel

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

NameTypeSizeLast ModifiedActions
__init__.cpython-311.opt-1.pyc File 170 bytes June 23 2025 15:48:01.
__init__.cpython-311.opt-2.pyc File 170 bytes June 23 2025 15:48:01.
__init__.cpython-311.pyc File 170 bytes June 23 2025 15:48:01.
fix_apply.cpython-311.opt-1.pyc File 2823 bytes June 23 2025 15:48:03.
fix_apply.cpython-311.opt-2.pyc File 2732 bytes June 23 2025 15:48:05.
fix_apply.cpython-311.pyc File 2840 bytes June 23 2025 15:48:01.
fix_asserts.cpython-311.opt-1.pyc File 1757 bytes June 23 2025 15:48:01.
fix_asserts.cpython-311.opt-2.pyc File 1688 bytes June 23 2025 15:48:05.
fix_asserts.cpython-311.pyc File 1757 bytes June 23 2025 15:48:01.
fix_basestring.cpython-311.opt-1.pyc File 886 bytes June 23 2025 15:48:01.
fix_basestring.cpython-311.opt-2.pyc File 842 bytes June 23 2025 15:48:05.
fix_basestring.cpython-311.pyc File 886 bytes June 23 2025 15:48:01.
fix_buffer.cpython-311.opt-1.pyc File 1104 bytes June 23 2025 15:48:01.
fix_buffer.cpython-311.opt-2.pyc File 1036 bytes June 23 2025 15:48:05.
fix_buffer.cpython-311.pyc File 1104 bytes June 23 2025 15:48:01.
fix_dict.cpython-311.opt-1.pyc File 4930 bytes June 23 2025 15:48:03.
fix_dict.cpython-311.opt-2.pyc File 4035 bytes June 23 2025 15:48:05.
fix_dict.cpython-311.pyc File 5045 bytes June 23 2025 15:48:01.
fix_except.cpython-311.opt-1.pyc File 4802 bytes June 23 2025 15:48:01.
fix_except.cpython-311.opt-2.pyc File 4355 bytes June 23 2025 15:48:05.
fix_except.cpython-311.pyc File 4802 bytes June 23 2025 15:48:01.
fix_exec.cpython-311.opt-1.pyc File 1827 bytes June 23 2025 15:48:03.
fix_exec.cpython-311.opt-2.pyc File 1660 bytes June 23 2025 15:48:05.
fix_exec.cpython-311.pyc File 1844 bytes June 23 2025 15:48:01.
fix_execfile.cpython-311.opt-1.pyc File 3199 bytes June 23 2025 15:48:03.
fix_execfile.cpython-311.opt-2.pyc File 3070 bytes June 23 2025 15:48:05.
fix_execfile.cpython-311.pyc File 3216 bytes June 23 2025 15:48:01.
fix_exitfunc.cpython-311.opt-1.pyc File 3953 bytes June 23 2025 15:48:01.
fix_exitfunc.cpython-311.opt-2.pyc File 3880 bytes June 23 2025 15:48:05.
fix_exitfunc.cpython-311.pyc File 3953 bytes June 23 2025 15:48:01.
fix_filter.cpython-311.opt-1.pyc File 4067 bytes June 23 2025 15:48:01.
fix_filter.cpython-311.opt-2.pyc File 3606 bytes June 23 2025 15:48:05.
fix_filter.cpython-311.pyc File 4067 bytes June 23 2025 15:48:01.
fix_funcattrs.cpython-311.opt-1.pyc File 1326 bytes June 23 2025 15:48:01.
fix_funcattrs.cpython-311.opt-2.pyc File 1259 bytes June 23 2025 15:48:05.
fix_funcattrs.cpython-311.pyc File 1326 bytes June 23 2025 15:48:01.
fix_future.cpython-311.opt-1.pyc File 1023 bytes June 23 2025 15:48:01.
fix_future.cpython-311.opt-2.pyc File 919 bytes June 23 2025 15:48:05.
fix_future.cpython-311.pyc File 1023 bytes June 23 2025 15:48:01.
fix_getcwdu.cpython-311.opt-1.pyc File 1083 bytes June 23 2025 15:48:01.
fix_getcwdu.cpython-311.opt-2.pyc File 1016 bytes June 23 2025 15:48:05.
fix_getcwdu.cpython-311.pyc File 1083 bytes June 23 2025 15:48:01.
fix_has_key.cpython-311.opt-1.pyc File 4460 bytes June 23 2025 15:48:03.
fix_has_key.cpython-311.opt-2.pyc File 3889 bytes June 23 2025 15:48:05.
fix_has_key.cpython-311.pyc File 4477 bytes June 23 2025 15:48:01.
fix_idioms.cpython-311.opt-1.pyc File 5974 bytes June 23 2025 15:48:03.
fix_idioms.cpython-311.opt-2.pyc File 5477 bytes June 23 2025 15:48:05.
fix_idioms.cpython-311.pyc File 6094 bytes June 23 2025 15:48:01.
fix_import.cpython-311.opt-1.pyc File 4812 bytes June 23 2025 15:48:01.
fix_import.cpython-311.opt-2.pyc File 4507 bytes June 23 2025 15:48:05.
fix_import.cpython-311.pyc File 4812 bytes June 23 2025 15:48:01.
fix_imports.cpython-311.opt-1.pyc File 6960 bytes June 23 2025 15:48:01.
fix_imports.cpython-311.opt-2.pyc File 6897 bytes June 23 2025 15:48:05.
fix_imports.cpython-311.pyc File 6960 bytes June 23 2025 15:48:01.
fix_imports2.cpython-311.opt-1.pyc File 700 bytes June 23 2025 15:48:01.
fix_imports2.cpython-311.opt-2.pyc File 598 bytes June 23 2025 15:48:05.
fix_imports2.cpython-311.pyc File 700 bytes June 23 2025 15:48:01.
fix_input.cpython-311.opt-1.pyc File 1411 bytes June 23 2025 15:48:01.
fix_input.cpython-311.opt-2.pyc File 1343 bytes June 23 2025 15:48:05.
fix_input.cpython-311.pyc File 1411 bytes June 23 2025 15:48:01.
fix_intern.cpython-311.opt-1.pyc File 1523 bytes June 23 2025 15:48:01.
fix_intern.cpython-311.opt-2.pyc File 1458 bytes June 23 2025 15:48:05.
fix_intern.cpython-311.pyc File 1523 bytes June 23 2025 15:48:01.
fix_isinstance.cpython-311.opt-1.pyc File 2499 bytes June 23 2025 15:48:01.
fix_isinstance.cpython-311.opt-2.pyc File 2178 bytes June 23 2025 15:48:05.
fix_isinstance.cpython-311.pyc File 2499 bytes June 23 2025 15:48:01.
fix_itertools.cpython-311.opt-1.pyc File 2149 bytes June 23 2025 15:48:01.
fix_itertools.cpython-311.opt-2.pyc File 1788 bytes June 23 2025 15:48:05.
fix_itertools.cpython-311.pyc File 2149 bytes June 23 2025 15:48:01.
fix_itertools_imports.cpython-311.opt-1.pyc File 2726 bytes June 23 2025 15:48:03.
fix_itertools_imports.cpython-311.opt-2.pyc File 2645 bytes June 23 2025 15:48:05.
fix_itertools_imports.cpython-311.pyc File 2792 bytes June 23 2025 15:48:01.
fix_long.cpython-311.opt-1.pyc File 993 bytes June 23 2025 15:48:01.
fix_long.cpython-311.opt-2.pyc File 928 bytes June 23 2025 15:48:05.
fix_long.cpython-311.pyc File 993 bytes June 23 2025 15:48:01.
fix_map.cpython-311.opt-1.pyc File 4846 bytes June 23 2025 15:48:01.
fix_map.cpython-311.opt-2.pyc File 4049 bytes June 23 2025 15:48:05.
fix_map.cpython-311.pyc File 4846 bytes June 23 2025 15:48:01.
fix_metaclass.cpython-311.opt-1.pyc File 10699 bytes June 23 2025 15:48:03.
fix_metaclass.cpython-311.opt-2.pyc File 9346 bytes June 23 2025 15:48:05.
fix_metaclass.cpython-311.pyc File 10771 bytes June 23 2025 15:48:01.
fix_methodattrs.cpython-311.opt-1.pyc File 1297 bytes June 23 2025 15:48:01.
fix_methodattrs.cpython-311.opt-2.pyc File 1220 bytes June 23 2025 15:48:05.
fix_methodattrs.cpython-311.pyc File 1297 bytes June 23 2025 15:48:01.
fix_ne.cpython-311.opt-1.pyc File 1132 bytes June 23 2025 15:48:01.
fix_ne.cpython-311.opt-2.pyc File 1088 bytes June 23 2025 15:48:05.
fix_ne.cpython-311.pyc File 1132 bytes June 23 2025 15:48:01.
fix_next.cpython-311.opt-1.pyc File 5227 bytes June 23 2025 15:48:03.
fix_next.cpython-311.opt-2.pyc File 5165 bytes June 23 2025 15:48:05.
fix_next.cpython-311.pyc File 5242 bytes June 23 2025 15:48:01.
fix_nonzero.cpython-311.opt-1.pyc File 1218 bytes June 23 2025 15:48:01.
fix_nonzero.cpython-311.opt-2.pyc File 1160 bytes June 23 2025 15:48:05.
fix_nonzero.cpython-311.pyc File 1218 bytes June 23 2025 15:48:01.
fix_numliterals.cpython-311.opt-1.pyc File 1629 bytes June 23 2025 15:48:01.
fix_numliterals.cpython-311.opt-2.pyc File 1566 bytes June 23 2025 15:48:05.
fix_numliterals.cpython-311.pyc File 1629 bytes June 23 2025 15:48:01.
fix_operator.cpython-311.opt-1.pyc File 6268 bytes June 23 2025 15:48:01.
fix_operator.cpython-311.opt-2.pyc File 5783 bytes June 23 2025 15:48:05.
fix_operator.cpython-311.pyc File 6268 bytes June 23 2025 15:48:01.
fix_paren.cpython-311.opt-1.pyc File 1794 bytes June 23 2025 15:48:01.
fix_paren.cpython-311.opt-2.pyc File 1659 bytes June 23 2025 15:48:05.
fix_paren.cpython-311.pyc File 1794 bytes June 23 2025 15:48:01.
fix_print.cpython-311.opt-1.pyc File 3971 bytes June 23 2025 15:48:03.
fix_print.cpython-311.opt-2.pyc File 3683 bytes June 23 2025 15:48:05.
fix_print.cpython-311.pyc File 4146 bytes June 23 2025 15:48:01.
fix_raise.cpython-311.opt-1.pyc File 3783 bytes June 23 2025 15:48:01.
fix_raise.cpython-311.opt-2.pyc File 3159 bytes June 23 2025 15:48:05.
fix_raise.cpython-311.pyc File 3783 bytes June 23 2025 15:48:01.
fix_raw_input.cpython-311.opt-1.pyc File 1086 bytes June 23 2025 15:48:01.
fix_raw_input.cpython-311.opt-2.pyc File 1020 bytes June 23 2025 15:48:05.
fix_raw_input.cpython-311.pyc File 1086 bytes June 23 2025 15:48:01.
fix_reduce.cpython-311.opt-1.pyc File 1355 bytes June 23 2025 15:48:01.
fix_reduce.cpython-311.opt-2.pyc File 1224 bytes June 23 2025 15:48:05.
fix_reduce.cpython-311.pyc File 1355 bytes June 23 2025 15:48:01.
fix_reload.cpython-311.opt-1.pyc File 1535 bytes June 23 2025 15:48:01.
fix_reload.cpython-311.opt-2.pyc File 1464 bytes June 23 2025 15:48:05.
fix_reload.cpython-311.pyc File 1535 bytes June 23 2025 15:48:01.
fix_renames.cpython-311.opt-1.pyc File 3373 bytes June 23 2025 15:48:01.
fix_renames.cpython-311.opt-2.pyc File 3292 bytes June 23 2025 15:48:05.
fix_renames.cpython-311.pyc File 3373 bytes June 23 2025 15:48:01.
fix_repr.cpython-311.opt-1.pyc File 1253 bytes June 23 2025 15:48:01.
fix_repr.cpython-311.opt-2.pyc File 1190 bytes June 23 2025 15:48:05.
fix_repr.cpython-311.pyc File 1253 bytes June 23 2025 15:48:01.
fix_set_literal.cpython-311.opt-1.pyc File 2766 bytes June 23 2025 15:48:01.
fix_set_literal.cpython-311.opt-2.pyc File 2690 bytes June 23 2025 15:48:05.
fix_set_literal.cpython-311.pyc File 2766 bytes June 23 2025 15:48:01.
fix_standarderror.cpython-311.opt-1.pyc File 947 bytes June 23 2025 15:48:01.
fix_standarderror.cpython-311.opt-2.pyc File 894 bytes June 23 2025 15:48:05.
fix_standarderror.cpython-311.pyc File 947 bytes June 23 2025 15:48:01.
fix_sys_exc.cpython-311.opt-1.pyc File 2248 bytes June 23 2025 15:48:01.
fix_sys_exc.cpython-311.opt-2.pyc File 2078 bytes June 23 2025 15:48:05.
fix_sys_exc.cpython-311.pyc File 2248 bytes June 23 2025 15:48:01.
fix_throw.cpython-311.opt-1.pyc File 2909 bytes June 23 2025 15:48:01.
fix_throw.cpython-311.opt-2.pyc File 2677 bytes June 23 2025 15:48:05.
fix_throw.cpython-311.pyc File 2909 bytes June 23 2025 15:48:01.
fix_tuple_params.cpython-311.opt-1.pyc File 8671 bytes June 23 2025 15:48:01.
fix_tuple_params.cpython-311.opt-2.pyc File 8336 bytes June 23 2025 15:48:05.
fix_tuple_params.cpython-311.pyc File 8671 bytes June 23 2025 15:48:01.
fix_types.cpython-311.opt-1.pyc File 2522 bytes June 23 2025 15:48:01.
fix_types.cpython-311.opt-2.pyc File 2047 bytes June 23 2025 15:48:05.
fix_types.cpython-311.pyc File 2522 bytes June 23 2025 15:48:01.
fix_unicode.cpython-311.opt-1.pyc File 2548 bytes June 23 2025 15:48:01.
fix_unicode.cpython-311.opt-2.pyc File 2368 bytes June 23 2025 15:48:05.
fix_unicode.cpython-311.pyc File 2548 bytes June 23 2025 15:48:01.
fix_urllib.cpython-311.opt-1.pyc File 10437 bytes June 23 2025 15:48:01.
fix_urllib.cpython-311.opt-2.pyc File 9897 bytes June 23 2025 15:48:05.
fix_urllib.cpython-311.pyc File 10437 bytes June 23 2025 15:48:01.
fix_ws_comma.cpython-311.opt-1.pyc File 1649 bytes June 23 2025 15:48:01.
fix_ws_comma.cpython-311.opt-2.pyc File 1462 bytes June 23 2025 15:48:05.
fix_ws_comma.cpython-311.pyc File 1649 bytes June 23 2025 15:48:01.
fix_xrange.cpython-311.opt-1.pyc File 4222 bytes June 23 2025 15:48:01.
fix_xrange.cpython-311.opt-2.pyc File 4159 bytes June 23 2025 15:48:05.
fix_xrange.cpython-311.pyc File 4222 bytes June 23 2025 15:48:01.
fix_xreadlines.cpython-311.opt-1.pyc File 1611 bytes June 23 2025 15:48:01.
fix_xreadlines.cpython-311.opt-2.pyc File 1480 bytes June 23 2025 15:48:05.
fix_xreadlines.cpython-311.pyc File 1611 bytes June 23 2025 15:48:01.
fix_zip.cpython-311.opt-1.pyc File 2366 bytes June 23 2025 15:48:01.
fix_zip.cpython-311.opt-2.pyc File 2034 bytes June 23 2025 15:48:05.
fix_zip.cpython-311.pyc File 2366 bytes June 23 2025 15:48:01.

Reading File: //opt/alt/python311/lib64/python3.11/lib2to3/fixes/__pycache__/fix_idioms.cpython-311.pyc

�

!A?h��d�dZddlmZddlmZmZmZmZmZm	Z	dZ
dZGd�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 ')' > >c	�X��eZdZdZde�de�de�de�d�	Z�fd�Zd�Zd�Z	d	�Z
d
�Z�xZS)�	FixIdiomsTz 
        isinstance=comparison< � z8 T=any >
        |
        isinstance=comparison< T=any aX >
        |
        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*
        >
    c���tt|���|��}|rd|vr|d|dkr|SdS|S)N�sorted�id1�id2)�superr�match)�self�node�r�	__class__s   ��?/opt/alt/python311/lib64/python3.11/lib2to3/fixes/fix_idioms.pyrzFixIdioms.matchOsT����)�T�"�"�(�(��.�.��
�	��Q�����x�1�U�8�#�#����4���c��d|vr|�||��Sd|vr|�||��Sd|vr|�||��Std���)N�
isinstance�whilerz
Invalid match)�transform_isinstance�transform_while�transform_sort�RuntimeError)rr�resultss   r�	transformzFixIdioms.transformZss���7�"�"��,�,�T�7�;�;�;�
��
�
��'�'��g�6�6�6�
��
 �
 ��&�&�t�W�5�5�5���/�/�/rc�b�|d���}|d���}d|_d|_ttd��|t	��|g��}d|vr0d|_ttjtd��|g��}|j|_|S)N�x�T�rr�n�not)�clone�prefixrrrrr	�not_test)rrr r#r$�tests      rrzFixIdioms.transform_isinstanceds����C�L��� � ���C�L��� � ���������D��&�&��E�G�G�Q��8�8���'�>�>��D�K���
��U���T�':�;�;�D��k����rc�h�|d}|�td|j�����dS)Nr�True�r))�replacerr))rrr �ones    rrzFixIdioms.transform_whileps3���g������D���
�3�3�3�4�4�4�4�4rc�@�|d}|d}|�d��}|�d��}|r*|�td|j�����ne|rT|���}d|_|�ttd��|g|j�����nt
d���|���|j}d	|vr�|rJ|�d	��d
|d
jf}	d	�	|	��|d
_dS|j
sJ�|j�J�t��}
|j
�
|
��|j|
usJ�|�d	��d
|
_dSdS)N�sort�next�list�exprrr.r%zshould not have reached here�
�)�getr/rr)r(rr�remove�
rpartition�join�parent�next_siblingr�append_child)rrr �	sort_stmt�	next_stmt�	list_call�simple_expr�new�btwn�prefix_lines�end_lines           rrzFixIdioms.transform_sortts����F�O�	��F�O�	��K�K��'�'�	��k�k�&�)�)���	?����d�8�I�4D�E�E�E�F�F�F�F�
�	?��#�#�%�%�C��C�J�����T�(�^�^�c�U�,7�,>�!@�!@�!@�
A�
A�
A�
A��=�>�>�>�����������4�<�<��
;�!%���� 5� 5�a� 8�)�A�,�:M�N��&*�i�i��&=�&=�	�!��#�#�#� �'�'�'�'� �-�5�5�5�$�;�;��� �-�-�h�7�7�7� �-��9�9�9�9�#'�/�/�$�"7�"7��":�����!�<r)
�__name__�
__module__�__qualname__�explicit�TYPE�CMP�PATTERNrr!rrr�
__classcell__)rs@rrr%s���������H�H�N�4�4����c�c�c�4�4�4�K%!�G�N	�	�	�	�	�0�0�0�
�
�
�5�5�5�$;�$;�$;�$;�$;�$;�$;rrN)�__doc__r%r�
fixer_utilrrrrrr	rLrK�BaseFixr�rr�<module>rSs�����<������A�A�A�A�A�A�A�A�A�A�A�A�A�A�A�A�8��1��s;�s;�s;�s;�s;�
�"�s;�s;�s;�s;�s;r

SILENT KILLER Tool