403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/gast/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/gast/__pycache__/ast2.cpython-311.pyc
�

"�aH4��j�ddlmZmZddlZddlZGd�de��ZGd�de��Zd�Zd�ZdS)	�)�	AstToGAst�	GAstToAstNc��eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�Zd�Zd�Zd�Zd�Zd�ZdS)�
Ast2ToGAstc�`�tj|�|j��g��}|S�N)�gast�Module�_visit�body��self�node�new_nodes   �+/usr/lib/python3/dist-packages/gast/ast2.py�visit_ModulezAst2ToGAst.visit_Module	s.���;��K�K��	�"�"��
�
����c�>�tj|�|j��|�|j��|�|j��|�|j��dd��}tj||��dx|_|_	|Sr)
r	�FunctionDefr�name�argsr�decorator_list�
copy_location�
end_lineno�end_col_offsetr
s   r�visit_FunctionDefzAst2ToGAst.visit_FunctionDefs����#��K�K��	�"�"��K�K��	�"�"��K�K��	�"�"��K�K��+�,�,���

�
��	
��8�T�*�*�*�8<�<���h�5��rc	�<�tj|�|j��|�|j��g|�|j��|�|j����}tj||��dx|_|_	|Sr)
r	�ClassDefrr�basesrrrrrr
s   r�visit_ClassDefzAst2ToGAst.visit_ClassDefs����=��K�K��	�"�"��K�K��
�#�#���K�K��	�"�"��K�K��+�,�,�
�
��	
��8�T�*�*�*�8<�<���h�5��rc���tj|�|j��|�|j��d��}tj||��dx|_|_|Sr)r	�Assignr�targets�valuerrrr
s   r�visit_AssignzAst2ToGAst.visit_Assign+sb���;��K�K���%�%��K�K��
�#�#��
�
��	
��8�T�*�*�*�8<�<���h�5��rc�<�tj|�|j��|�|j��|�|j��|�|j��g��}tj||��dx|_|_	|Sr)
r	�Forr�target�iterr�orelserrrr
s   r�	visit_ForzAst2ToGAst.visit_For6s����8��K�K���$�$��K�K��	�"�"��K�K��	�"�"��K�K���$�$��
�
��	
��8�T�*�*�*�8<�<���h�5��rc�0�tjtj|�|j��|�|j����g|�|j��d��}tj||��dx|_|_	|Sr)
r	�With�withitemr�context_expr�
optional_varsrrrrr
s   r�
visit_WithzAst2ToGAst.visit_WithBs����9�
�]����D�-�.�.����D�.�/�/���
�
�K�K��	�"�"��

�
��	
��8�T�*�*�*�8<�<���h�5��rc��|�|j��}|�|j��}|�|j��}|}|�:t	j||gg��}t	j||��dx|_|_|��t	j	|dt	j
����}t	j||��dx|_|_t	j||gg��}t	j||��dx|_|_t	j|d��}t	j||��dx|_|_|S)N�with_traceback)r�type�inst�tbackr	�Callrrr�	Attribute�Load�Raise)rr�ntype�ninst�ntback�what�attrrs        r�visit_RaisezAst2ToGAst.visit_RaiseOs8�����D�I�&�&�����D�I�&�&�����T�Z�(�(�������9�U�U�G�R�0�0�D���t�T�*�*�*�48�8�D�O�d�1����>�$�(8�$�)�+�+�F�F�D���t�T�*�*�*�48�8�D�O�d�1��9�������D�

��t�T�*�*�*�48�8�D�O�d�1��:�d�D�)�)����8�T�*�*�*�8<�<���h�5��rc�
�tj|�|j��|�|j��|�|j��g��}tj||��dx|_|_|Sr)	r	�Tryrr�handlersr*rrrr
s   r�visit_TryExceptzAst2ToGAst.visit_TryExceptnss���8��K�K��	�"�"��K�K��
�&�&��K�K���$�$��	
�
��	
��8�T�*�*�*�8<�<���h�5��rc���tj|�|j��gg|�|j����}tj||��dx|_|_|Sr)r	rBrr�	finalbodyrrrr
s   r�visit_TryFinallyzAst2ToGAst.visit_TryFinallyyse���8��K�K��	�"�"����K�K���'�'�	
�
��	
��8�T�*�*�*�8<�<���h�5��rc���tj|�|j��|�|j��dd��}tj||��dx|_|_|Sr)r	�Namer�id�ctxrrrr
s   r�
visit_NamezAst2ToGAst.visit_Name�se���9��K�K��� � ��K�K���!�!���	
�
��	
��8�T�*�*�*�8<�<���h�5��rc��tj|jd��}tj||��dx|_|_|Sr)r	�Constant�nrrrr
s   r�	visit_NumzAst2ToGAst.visit_Num��E���=��F��
�
��	
��8�T�*�*�*�8<�<���h�5��rc��|�|j��}tj|�|j��||�|j����}tj||��dx|_|_|Sr)	r�slicer	�	Subscriptr$rKrrr)rr�	new_slicers    r�visit_SubscriptzAst2ToGAst.visit_Subscript�su���K�K��
�+�+�	��>��K�K��
�#�#���K�K���!�!�
�
��
	
��8�T�*�*�*�8<�<���h�5��rc��tjtd��}tj||��dx|_|_|Sr)r	rN�Ellipsisrrrr
s   r�visit_EllipsiszAst2ToGAst.visit_Ellipsis�sC���=���
�
��	
��8�T�*�*�*�8<�<���h�5��rc�6�|�|j��Sr)rr$)rrs  r�visit_IndexzAst2ToGAst.visit_Index�s���{�{�4�:�&�&�&rc���|�|j��}tj|tj����}tj||��dx|_|_|Sr)r�dimsr	�Tupler9rrr)rr�new_dimsrs    r�visit_ExtSlicezAst2ToGAst.visit_ExtSlice�sT���;�;�t�y�)�)���:�h��	���4�4����8�T�*�*�*�8<�<���h�5��rc��tj|jd��}tj||��dx|_|_|Sr)r	rN�srrrr
s   r�	visit_StrzAst2ToGAst.visit_Str�rQrc�`�|jretj|�|j��tj����}tj||��dx|_|_|g}ng}|jr/tj	d|�|j����g}ng}tj
|�|j��|�|j��|z|�|j
��|z��}tj||��dx|_|_|Sr)�starargsr	�Starredrr9rrr�kwargs�keywordr7�funcr�keywords)rr�star�starredrgrs      r�
visit_CallzAst2ToGAst.visit_Call�s���=�	��<����D�M� :� :�D�I�K�K�H�H�D���t�T�*�*�*�48�8�D�O�d�1��f�G�G��G��;�	��l�4����T�[�)A�)A�B�B�C�F�F��F��9��K�K��	�"�"��K�K��	�"�"�W�,��K�K��
�&�&��/�
�
��
	
��8�T�*�*�*�8<�<���h�5��rc��tj|�|j��|�|j��|�|j��d���}tj||��dx|_|_|S)Nr)r(r)�ifs�is_async)	r	�
comprehensionrr(r)rorrrr
s   r�visit_comprehensionzAst2ToGAst.visit_comprehension�sy���%��;�;�t�{�+�+����T�Y�'�'����D�H�%�%��	
�
�
��	
��8�T�*�*�*�8<�<���h�5��rc�$�|jr,tj|jtj����}nd}|jr,tj|jtj����}nd}|jr,tj|jtj����}nd}tj|�|j��g|�|��gg|�|��|�|j	����}|Sr)
�vararg�astrI�Param�kwargr	�	argumentsrr�defaults�rrrtrwrs     r�visit_argumentszAst2ToGAst.visit_arguments�s����;�	��X�d�k�3�9�;�;�7�7�F�F��F��:�	��H�T�Z�����5�5�E�E��E��;�	��X�d�k�3�9�;�;�7�7�F�F��F��>��K�K��	�"�"���K�K�������K�K�����K�K��
�&�&�
�
���rc���tj|�|j��|�|j����}dx|_|_dx|_|_|Sr)	r	�aliasrr�asname�lineno�
col_offsetrrr
s   r�visit_aliaszAst2ToGAst.visit_aliass[���:��K�K��	�"�"��K�K���$�$�
�
��15�4���(�-�8<�<���h�5��rN)�__name__�
__module__�__qualname__rrr r%r+r1r@rDrGrLrPrVrYr[r`rcrmrrr{r��rrrrs@���������������	�	�	�
�
�
�������>	�	�	�	�	�	�	�	�	����	�	�	����'�'�'����������.	�	�	����8����rrc�h�eZdZd�Zd�Zd�Zd�Zd�Zd�Zd�Z	d�Z
d	�Zd
�Zd�Z
d�Zd
�Zd�Zd�ZdS)�
GAstToAst2c�^�tj|�|j����}|Sr)rur
rrr
s   rrzGAstToAst2.visit_Module
s$���:�d�k�k�$�)�4�4�5�5���rc���tj|�|j��|�|j��|�|j��|�|j����}|jjrtj|jj|��|jj	rtj|jj	|��tj||��|Sr)
rurrrrrrrtrrwr
s   rrzGAstToAst2.visit_FunctionDefs����?��K�K��	�"�"��K�K��	�"�"��K�K��	�"�"��K�K��+�,�,�	
�
���9��	6���d�i�.��5�5�5��9�?�	5���d�i�o�t�4�4�4���(�D�)�)�)��rc��tj|�|j��|�|j��|�|j��|�|j����}tj||��|Sr)rurrrrrrrr
s   rr zGAstToAst2.visit_ClassDef"sr���<��K�K��	�"�"��K�K��
�#�#��K�K��	�"�"��K�K��+�,�,�	
�
��	��(�D�)�)�)��rc��tj|�|j��|�|j����}tj||��|Sr)rur"rr#r$rr
s   rr%zGAstToAst2.visit_Assign-sO���:��K�K���%�%��K�K��
�#�#�
�
��
	��(�D�)�)�)��rc��tj|�|j��|�|j��|�|j��|�|j����}tj||��|Sr)rur'rr(r)rr*rr
s   rr+zGAstToAst2.visit_For6sq���7��K�K���$�$��K�K��	�"�"��K�K��	�"�"��K�K���$�$�	
�
��	��(�D�)�)�)��rc��tj|�|jdj��|�|jdj��|�|j����}tj||��|S)Nr)rur-r�itemsr/r0rrr
s   rr1zGAstToAst2.visit_WithAsn���8��K�K��
�1�
�2�3�3��K�K��
�1�
�3�4�4��K�K��	�"�"�
�
��
	��(�D�)�)�)��rc���t|jtj��r�t|jjtj��r_|jjjdkrJ|�|jjj��}|�|jj	d��}n|�|j��}d}tj|d|��}tj||��|S)Nr3r)
�
isinstance�excr	r7rir8r?rr$rrur:r)rr�raised�	tracebackrs     rr@zGAstToAst2.visit_RaiseJs����d�h��	�*�*�	��d�h�m�T�^�4�4�	��8�=��!1�1�1��[�[����!4�5�5�F����D�H�M�!�$4�5�5�I�I��[�[���*�*�F��I��9�V�T�9�5�5����(�D�)�)�)��rc��|jrFtj|�|j��|�|j����}n^tj|�|j��|�|j��|�|j����}tj||��|Sr)	rFru�
TryFinallyrr�	TryExceptrCr*rr
s   r�	visit_TryzGAstToAst2.visit_TryWs����>�
	��~����D�I�&�&����D�N�+�+���H�H�
�}����D�I�&�&����D�M�*�*����D�K�(�(���H�
	��(�D�)�)�)��rc��tj|�|j��|�|j����}tj||��|Sr)rurIrrJrKrr
s   rrLzGAstToAst2.visit_NamehsO���8��K�K��� � ��K�K���!�!�
�
��	��(�D�)�)�)��rc�@�t|jtttt
tf��rtj|j��}n;|jturtj	��}ntj
|j��}tj||��|Sr)r�r$�bool�int�long�float�complexru�NumrX�Strrr
s   r�visit_ConstantzGAstToAst2.visit_Constantpsw���d�j�4��d�E�7�"C�D�D�	+��w�t�z�*�*�H�H�
�Z�8�
#�
#��|�~�~�H�H��w�t�z�*�*�H���(�D�)�)�)��rc�����d��t|jtj��r,t	j��fd�|jjD����}n#���|j����}t	j||j��t	j	��|j
��|��|j����}t	j||��dx|_|_
|S)Nc�z�t|tjtjf��r|Stj|��Sr)r�ru�SlicerX�Index)rbs r�adjust_slicez0GAstToAst2.visit_Subscript.<locals>.adjust_slice{s0���!�c�i���6�7�7�
$����y��|�|�#rc�L��g|] }���|������!Sr�)r)�.0�eltr�rs  ��r�
<listcomp>z.GAstToAst2.visit_Subscript.<locals>.<listcomp>�sE���&B�&B�&B�*-�'3�l�4�;�;�s�3C�3C�&D�&D�&B�&B�&Br)r�rSr	r^ru�ExtSlice�eltsrrrTr$rKrr)rrrUrr�s`   @rrVzGAstToAst2.visit_Subscriptzs����	$�	$�	$�
�d�j�$�*�-�-�	>���&B�&B�&B�&B�&B�15���&B�&B�&B�C�C�I�I�%��T�[�[���%<�%<�=�=�I���)�T�Z�0�0�0��=��K�K��
�#�#���K�K���!�!�
�
��
	��(�D�)�)�)�8<�<���h�5��rc	�^�|jrGt|jdtj��r"|jdd�}|jdj}n	|j}d}|jr4|jdj�"|jdd�}|jdj}n	|j}d}tj|�	|j
��|�	|��|�	|��|�	|��|�	|����}tj||��|S)N���)rr�r	rfr$rj�argrur7rrir)rrrrerjrgrs       rrmzGAstToAst2.visit_Call�s���9�	��D�I�b�M�4�<�@�@�	��9�S�b�S�>�D��y��}�*�H�H��9�D��H��=�	�T�]�2�.�2�:��}�S�b�S�)�H��]�2�&�,�F�F��}�H��F��8��K�K��	�"�"��K�K�����K�K��!�!��K�K��!�!��K�K����
�
��	��(�D�)�)�)��rc��tj|jtj����}tj||��|Sr)rurIr�rvrr
s   r�	visit_argzGAstToAst2.visit_arg�s3���8�D�H�c�i�k�k�2�2����(�D�)�)�)��rc�,�|jo|jj}|jo|jj}tj|�|j��|�|��|�|��|�|j����}|Sr)rtrJrwrurxrrryrzs     rr{zGAstToAst2.visit_arguments�sz����/������
�,�t�z�}���=��K�K��	�"�"��K�K�����K�K�����K�K��
�&�&�	
�
���rc��tj|�|j��|�|j����}|Sr)rur}rrr~r
s   rr�zGAstToAst2.visit_alias�s<���9��K�K��	�"�"��K�K���$�$�
�
���rN)r�r�r�rrr r%r+r1r@r�rLr�rVrmr�r{r�r�rrr�r�
s����������
��� 	�	�	����	�	�	�������
�
�
�"���������,���2���
�
�
�����rr�c�D�t���|��Sr)r�visit�rs r�ast_to_gastr������<�<���d�#�#�#rc�D�t���|��Sr)r�r�r�s r�gast_to_astr��r�r)	�astnrrrur	rr�r�r�r�rr�<module>r�s���%�%�%�%�%�%�%�%�
�
�
�
�����A�A�A�A�A��A�A�A�Hv�v�v�v�v��v�v�v�r$�$�$�$�$�$�$�$r

Youez - 2016 - github.com/yon3zu
LinuXploit