SILENT KILLERPanel

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

NameTypeSizeLast ModifiedActions
__init__.cpython-312.opt-1.pyc File 158 bytes June 23 2025 14:00:19.
__init__.cpython-312.opt-2.pyc File 158 bytes June 23 2025 14:00:19.
__init__.cpython-312.pyc File 158 bytes June 23 2025 14:00:19.
fix_apply.cpython-312.opt-1.pyc File 2770 bytes June 23 2025 14:00:24.
fix_apply.cpython-312.opt-2.pyc File 2684 bytes June 23 2025 14:00:28.
fix_apply.cpython-312.pyc File 2785 bytes June 23 2025 14:00:19.
fix_asserts.cpython-312.opt-1.pyc File 1540 bytes June 23 2025 14:00:19.
fix_asserts.cpython-312.opt-2.pyc File 1474 bytes June 23 2025 14:00:28.
fix_asserts.cpython-312.pyc File 1540 bytes June 23 2025 14:00:19.
fix_basestring.cpython-312.opt-1.pyc File 786 bytes June 23 2025 14:00:19.
fix_basestring.cpython-312.opt-2.pyc File 745 bytes June 23 2025 14:00:28.
fix_basestring.cpython-312.pyc File 786 bytes June 23 2025 14:00:19.
fix_buffer.cpython-312.opt-1.pyc File 976 bytes June 23 2025 14:00:19.
fix_buffer.cpython-312.opt-2.pyc File 911 bytes June 23 2025 14:00:28.
fix_buffer.cpython-312.pyc File 976 bytes June 23 2025 14:00:19.
fix_dict.cpython-312.opt-1.pyc File 4502 bytes June 23 2025 14:00:24.
fix_dict.cpython-312.opt-2.pyc File 3612 bytes June 23 2025 14:00:28.
fix_dict.cpython-312.pyc File 4595 bytes June 23 2025 14:00:19.
fix_except.cpython-312.opt-1.pyc File 4035 bytes June 23 2025 14:00:19.
fix_except.cpython-312.opt-2.pyc File 3593 bytes June 23 2025 14:00:28.
fix_except.cpython-312.pyc File 4035 bytes June 23 2025 14:00:19.
fix_exec.cpython-312.opt-1.pyc File 1606 bytes June 23 2025 14:00:24.
fix_exec.cpython-312.opt-2.pyc File 1444 bytes June 23 2025 14:00:28.
fix_exec.cpython-312.pyc File 1621 bytes June 23 2025 14:00:19.
fix_execfile.cpython-312.opt-1.pyc File 2737 bytes June 23 2025 14:00:24.
fix_execfile.cpython-312.opt-2.pyc File 2613 bytes June 23 2025 14:00:28.
fix_execfile.cpython-312.pyc File 2752 bytes June 23 2025 14:00:19.
fix_exitfunc.cpython-312.opt-1.pyc File 3585 bytes June 23 2025 14:00:19.
fix_exitfunc.cpython-312.opt-2.pyc File 3517 bytes June 23 2025 14:00:28.
fix_exitfunc.cpython-312.pyc File 3585 bytes June 23 2025 14:00:19.
fix_filter.cpython-312.opt-1.pyc File 3618 bytes June 23 2025 14:00:19.
fix_filter.cpython-312.opt-2.pyc File 3162 bytes June 23 2025 14:00:28.
fix_filter.cpython-312.pyc File 3618 bytes June 23 2025 14:00:19.
fix_funcattrs.cpython-312.opt-1.pyc File 1180 bytes June 23 2025 14:00:19.
fix_funcattrs.cpython-312.opt-2.pyc File 1116 bytes June 23 2025 14:00:28.
fix_funcattrs.cpython-312.pyc File 1180 bytes June 23 2025 14:00:19.
fix_future.cpython-312.opt-1.pyc File 925 bytes June 23 2025 14:00:19.
fix_future.cpython-312.opt-2.pyc File 826 bytes June 23 2025 14:00:28.
fix_future.cpython-312.pyc File 925 bytes June 23 2025 14:00:19.
fix_getcwdu.cpython-312.opt-1.pyc File 953 bytes June 23 2025 14:00:19.
fix_getcwdu.cpython-312.opt-2.pyc File 891 bytes June 23 2025 14:00:28.
fix_getcwdu.cpython-312.pyc File 953 bytes June 23 2025 14:00:19.
fix_has_key.cpython-312.opt-1.pyc File 4219 bytes June 23 2025 14:00:24.
fix_has_key.cpython-312.opt-2.pyc File 3653 bytes June 23 2025 14:00:28.
fix_has_key.cpython-312.pyc File 4234 bytes June 23 2025 14:00:19.
fix_idioms.cpython-312.opt-1.pyc File 5323 bytes June 23 2025 14:00:24.
fix_idioms.cpython-312.opt-2.pyc File 4831 bytes June 23 2025 14:00:28.
fix_idioms.cpython-312.pyc File 5476 bytes June 23 2025 14:00:19.
fix_import.cpython-312.opt-1.pyc File 4266 bytes June 23 2025 14:00:19.
fix_import.cpython-312.opt-2.pyc File 3966 bytes June 23 2025 14:00:28.
fix_import.cpython-312.pyc File 4266 bytes June 23 2025 14:00:19.
fix_imports.cpython-312.opt-1.pyc File 6120 bytes June 23 2025 14:00:19.
fix_imports.cpython-312.opt-2.pyc File 6060 bytes June 23 2025 14:00:28.
fix_imports.cpython-312.pyc File 6120 bytes June 23 2025 14:00:19.
fix_imports2.cpython-312.opt-1.pyc File 626 bytes June 23 2025 14:00:19.
fix_imports2.cpython-312.opt-2.pyc File 529 bytes June 23 2025 14:00:28.
fix_imports2.cpython-312.pyc File 626 bytes June 23 2025 14:00:19.
fix_input.cpython-312.opt-1.pyc File 1277 bytes June 23 2025 14:00:19.
fix_input.cpython-312.opt-2.pyc File 1212 bytes June 23 2025 14:00:28.
fix_input.cpython-312.pyc File 1277 bytes June 23 2025 14:00:19.
fix_intern.cpython-312.opt-1.pyc File 1420 bytes June 23 2025 14:00:19.
fix_intern.cpython-312.opt-2.pyc File 1360 bytes June 23 2025 14:00:28.
fix_intern.cpython-312.pyc File 1420 bytes June 23 2025 14:00:19.
fix_isinstance.cpython-312.opt-1.pyc File 2357 bytes June 23 2025 14:00:19.
fix_isinstance.cpython-312.opt-2.pyc File 2041 bytes June 23 2025 14:00:28.
fix_isinstance.cpython-312.pyc File 2357 bytes June 23 2025 14:00:19.
fix_itertools.cpython-312.opt-1.pyc File 1988 bytes June 23 2025 14:00:19.
fix_itertools.cpython-312.opt-2.pyc File 1632 bytes June 23 2025 14:00:28.
fix_itertools.cpython-312.pyc File 1988 bytes June 23 2025 14:00:19.
fix_itertools_imports.cpython-312.opt-1.pyc File 2638 bytes June 23 2025 14:00:24.
fix_itertools_imports.cpython-312.opt-2.pyc File 2560 bytes June 23 2025 14:00:28.
fix_itertools_imports.cpython-312.pyc File 2722 bytes June 23 2025 14:00:19.
fix_long.cpython-312.opt-1.pyc File 852 bytes June 23 2025 14:00:19.
fix_long.cpython-312.opt-2.pyc File 792 bytes June 23 2025 14:00:28.
fix_long.cpython-312.pyc File 852 bytes June 23 2025 14:00:19.
fix_map.cpython-312.opt-1.pyc File 4518 bytes June 23 2025 14:00:19.
fix_map.cpython-312.opt-2.pyc File 3726 bytes June 23 2025 14:00:28.
fix_map.cpython-312.pyc File 4518 bytes June 23 2025 14:00:19.
fix_metaclass.cpython-312.opt-1.pyc File 10355 bytes June 23 2025 14:00:24.
fix_metaclass.cpython-312.opt-2.pyc File 9007 bytes June 23 2025 14:00:28.
fix_metaclass.cpython-312.pyc File 10444 bytes June 23 2025 14:00:19.
fix_methodattrs.cpython-312.opt-1.pyc File 1160 bytes June 23 2025 14:00:19.
fix_methodattrs.cpython-312.opt-2.pyc File 1088 bytes June 23 2025 14:00:28.
fix_methodattrs.cpython-312.pyc File 1160 bytes June 23 2025 14:00:19.
fix_ne.cpython-312.opt-1.pyc File 1051 bytes June 23 2025 14:00:19.
fix_ne.cpython-312.opt-2.pyc File 1010 bytes June 23 2025 14:00:28.
fix_ne.cpython-312.pyc File 1051 bytes June 23 2025 14:00:19.
fix_next.cpython-312.opt-1.pyc File 4366 bytes June 23 2025 14:00:24.
fix_next.cpython-312.opt-2.pyc File 4307 bytes June 23 2025 14:00:28.
fix_next.cpython-312.pyc File 4379 bytes June 23 2025 14:00:19.
fix_nonzero.cpython-312.opt-1.pyc File 1090 bytes June 23 2025 14:00:19.
fix_nonzero.cpython-312.opt-2.pyc File 1035 bytes June 23 2025 14:00:28.
fix_nonzero.cpython-312.pyc File 1090 bytes June 23 2025 14:00:19.
fix_numliterals.cpython-312.opt-1.pyc File 1445 bytes June 23 2025 14:00:19.
fix_numliterals.cpython-312.opt-2.pyc File 1387 bytes June 23 2025 14:00:28.
fix_numliterals.cpython-312.pyc File 1445 bytes June 23 2025 14:00:19.
fix_operator.cpython-312.opt-1.pyc File 5631 bytes June 23 2025 14:00:19.
fix_operator.cpython-312.opt-2.pyc File 5151 bytes June 23 2025 14:00:28.
fix_operator.cpython-312.pyc File 5631 bytes June 23 2025 14:00:19.
fix_paren.cpython-312.opt-1.pyc File 1637 bytes June 23 2025 14:00:19.
fix_paren.cpython-312.opt-2.pyc File 1508 bytes June 23 2025 14:00:28.
fix_paren.cpython-312.pyc File 1637 bytes June 23 2025 14:00:19.
fix_print.cpython-312.opt-1.pyc File 3366 bytes June 23 2025 14:00:24.
fix_print.cpython-312.opt-2.pyc File 3083 bytes June 23 2025 14:00:28.
fix_print.cpython-312.pyc File 3517 bytes June 23 2025 14:00:19.
fix_raise.cpython-312.opt-1.pyc File 3397 bytes June 23 2025 14:00:19.
fix_raise.cpython-312.opt-2.pyc File 2778 bytes June 23 2025 14:00:28.
fix_raise.cpython-312.pyc File 3397 bytes June 23 2025 14:00:19.
fix_raw_input.cpython-312.opt-1.pyc File 958 bytes June 23 2025 14:00:19.
fix_raw_input.cpython-312.opt-2.pyc File 895 bytes June 23 2025 14:00:28.
fix_raw_input.cpython-312.pyc File 958 bytes June 23 2025 14:00:19.
fix_reduce.cpython-312.opt-1.pyc File 1233 bytes June 23 2025 14:00:19.
fix_reduce.cpython-312.opt-2.pyc File 1107 bytes June 23 2025 14:00:28.
fix_reduce.cpython-312.pyc File 1233 bytes June 23 2025 14:00:19.
fix_reload.cpython-312.opt-1.pyc File 1432 bytes June 23 2025 14:00:19.
fix_reload.cpython-312.opt-2.pyc File 1366 bytes June 23 2025 14:00:28.
fix_reload.cpython-312.pyc File 1432 bytes June 23 2025 14:00:19.
fix_renames.cpython-312.opt-1.pyc File 2873 bytes June 23 2025 14:00:19.
fix_renames.cpython-312.opt-2.pyc File 2797 bytes June 23 2025 14:00:28.
fix_renames.cpython-312.pyc File 2873 bytes June 23 2025 14:00:19.
fix_repr.cpython-312.opt-1.pyc File 1138 bytes June 23 2025 14:00:19.
fix_repr.cpython-312.opt-2.pyc File 1078 bytes June 23 2025 14:00:28.
fix_repr.cpython-312.pyc File 1138 bytes June 23 2025 14:00:19.
fix_set_literal.cpython-312.opt-1.pyc File 2643 bytes June 23 2025 14:00:19.
fix_set_literal.cpython-312.opt-2.pyc File 2572 bytes June 23 2025 14:00:28.
fix_set_literal.cpython-312.pyc File 2643 bytes June 23 2025 14:00:19.
fix_standarderror.cpython-312.opt-1.pyc File 847 bytes June 23 2025 14:00:19.
fix_standarderror.cpython-312.opt-2.pyc File 797 bytes June 23 2025 14:00:28.
fix_standarderror.cpython-312.pyc File 847 bytes June 23 2025 14:00:19.
fix_sys_exc.cpython-312.opt-1.pyc File 2026 bytes June 23 2025 14:00:19.
fix_sys_exc.cpython-312.opt-2.pyc File 1861 bytes June 23 2025 14:00:28.
fix_sys_exc.cpython-312.pyc File 2026 bytes June 23 2025 14:00:19.
fix_throw.cpython-312.opt-1.pyc File 2461 bytes June 23 2025 14:00:19.
fix_throw.cpython-312.opt-2.pyc File 2234 bytes June 23 2025 14:00:28.
fix_throw.cpython-312.pyc File 2461 bytes June 23 2025 14:00:19.
fix_tuple_params.cpython-312.opt-1.pyc File 7844 bytes June 23 2025 14:00:19.
fix_tuple_params.cpython-312.opt-2.pyc File 7514 bytes June 23 2025 14:00:28.
fix_tuple_params.cpython-312.pyc File 7844 bytes June 23 2025 14:00:19.
fix_types.cpython-312.opt-1.pyc File 2291 bytes June 23 2025 14:00:19.
fix_types.cpython-312.opt-2.pyc File 1821 bytes June 23 2025 14:00:28.
fix_types.cpython-312.pyc File 2291 bytes June 23 2025 14:00:19.
fix_unicode.cpython-312.opt-1.pyc File 2180 bytes June 23 2025 14:00:19.
fix_unicode.cpython-312.opt-2.pyc File 2005 bytes June 23 2025 14:00:28.
fix_unicode.cpython-312.pyc File 2180 bytes June 23 2025 14:00:19.
fix_urllib.cpython-312.opt-1.pyc File 9161 bytes June 23 2025 14:00:19.
fix_urllib.cpython-312.opt-2.pyc File 8626 bytes June 23 2025 14:00:28.
fix_urllib.cpython-312.pyc File 9161 bytes June 23 2025 14:00:19.
fix_ws_comma.cpython-312.opt-1.pyc File 1567 bytes June 23 2025 14:00:19.
fix_ws_comma.cpython-312.opt-2.pyc File 1385 bytes June 23 2025 14:00:28.
fix_ws_comma.cpython-312.pyc File 1567 bytes June 23 2025 14:00:19.
fix_xrange.cpython-312.opt-1.pyc File 3826 bytes June 23 2025 14:00:19.
fix_xrange.cpython-312.opt-2.pyc File 3766 bytes June 23 2025 14:00:28.
fix_xrange.cpython-312.pyc File 3826 bytes June 23 2025 14:00:19.
fix_xreadlines.cpython-312.opt-1.pyc File 1296 bytes June 23 2025 14:00:19.
fix_xreadlines.cpython-312.opt-2.pyc File 1171 bytes June 23 2025 14:00:28.
fix_xreadlines.cpython-312.pyc File 1296 bytes June 23 2025 14:00:19.
fix_zip.cpython-312.opt-1.pyc File 1991 bytes June 23 2025 14:00:19.
fix_zip.cpython-312.opt-2.pyc File 1664 bytes June 23 2025 14:00:28.
fix_zip.cpython-312.pyc File 1991 bytes June 23 2025 14:00:19.

Reading File: //opt/alt/python312/lib64/python3.12/lib2to3/fixes/__pycache__/fix_idioms.cpython-312.pyc

�

B[Yh��f�dZddlmZddlmZmZmZmZmZm	Z	dZ
dZGd�dej�Z
y)	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�V��tt|�|�}|rd|vr|d|dk(r|Sy|S)N�sorted�id1�id2)�superr�match)�self�node�r�	__class__s   ��?/opt/alt/python312/lib64/python3.12/lib2to3/fixes/fix_idioms.pyrzFixIdioms.matchOs<����)�T�(��.��
��Q����x�1�U�8�#������c��d|vr|j||�Sd|vr|j||�Sd|vr|j||�Std��)N�
isinstance�whilerz
Invalid match)�transform_isinstance�transform_while�transform_sort�RuntimeError)rr�resultss   r�	transformzFixIdioms.transformZs^���7�"��,�,�T�7�;�;�
��
��'�'��g�6�6�
��
 ��&�&�t�W�5�5���/�/rc�0�|dj�}|dj�}d|_d|_ttd�|t	�|g�}d|vr,d|_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�Q��8���'�>��D�K���
�
��U��T�':�;�D��k�k����rc�Z�|d}|jtd|j���y)Nr�True�r))�replacerr))rrr �ones    rrzFixIdioms.transform_whileps#���g������D���
�
�3�4rc���|d}|d}|jd�}|jd�}|r'|jtd|j���nV|rI|j	�}d|_|jttd�|g|j���nt
d��|j�|j}d	|vr�|r=|jd	�d
|d
jf}	d	j|	�|d
_y|jsJ�|j�J�t�}
|jj|
�|j|
usJ�|jd	�d
|
_yy)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_sorttsf���F�O�	��F�O�	��K�K��'�	��k�k�&�)������d�8�I�4D�4D�E�F�
��#�#�%�C��C�J�����T�(�^�c�U�,7�,>�,>�!@�
A��=�>�>����������4�<��!%���� 5�a� 8�)�A�,�:M�:M�N��&*�i�i��&=�	�!��#� �'�'�'�'� �-�-�5�5�5�$�;��� � �-�-�h�7� �-�-��9�9�9�#'�/�/�$�"7��":���!r)
�__name__�
__module__�__qualname__�explicit�TYPE�CMP�PATTERNrr!rrr�
__classcell__)rs@rrr%s6����H�N��c�4�K%!�G�N	�0�
�5�$;rrN)�__doc__r%r�
fixer_utilrrrrrr	rLrK�BaseFixr�rr�<module>rSs3���<�A�A�8��1��s;�
�"�"�s;r

SILENT KILLER Tool