Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.145.8.49
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : fix_sys_exc.cpython-312.pyc
�


f
��b�dZddlmZddlmZmZmZmZmZm	Z	m
Z
Gd�dej�Zy)z�Fixer for sys.exc_{type, value, traceback}

sys.exc_type -> sys.exc_info()[0]
sys.exc_value -> sys.exc_info()[1]
sys.exc_traceback -> sys.exc_info()[2]
�)�
fixer_base)�Attr�Call�Name�Number�	Subscript�Node�symsc�T�eZdZgd�ZdZddjd�eD��zZd�Zy)�	FixSysExc)�exc_type�	exc_value�
exc_tracebackTzN
              power< 'sys' trailer< dot='.' attribute=(%s) > >
              �|c#�&K�|]	}d|z���y�w)z'%s'N�)�.0�es  �B/usr/local/python-3.12/lib/python3.12/lib2to3/fixes/fix_sys_exc.py�	<genexpr>zFixSysExc.<genexpr>s����:�A�V�a�Z�:�s�c��|dd}t|jj|j��}t	td�|j��}ttd�|�}|dj|djd_|jt|��ttj||j��S)N�	attribute��exc_info)�prefix�sys�dot�)rr�index�valuerrrr�children�appendrr	r
�power)�self�node�results�sys_attrr�call�attrs       r�	transformzFixSysExc.transforms����;�'��*���t�}�}�*�*�8�>�>�:�;���D��$�X�_�_�=���D��K��&��%,�U�^�%:�%:��Q������"����I�e�$�%��D�J�J��T�[�[�9�9�N)�__name__�
__module__�__qualname__r�
BM_compatible�join�PATTERNr*rr+rrrs/��9�H��M���H�H�:��:�:�;�G�:r+rN)
�__doc__�r�
fixer_utilrrrrrr	r
�BaseFixrrr+r�<module>r6s*����H�H�H�:�
�"�"�:r+
© 2025 GrazzMean