add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
�

��Vccsl�dZddlmZddlmZmZmZmZmZm	Z	m
Z
mZmZm
Z
Gd�dej��ZdS)zoFixer for execfile.

This converts usages of the execfile function into calls to the built-in
exec() function.
i)�
fixer_base)
�Comma�Name�Call�LParen�RParen�Dot�Node�ArgList�String�symscs�eZdZdZdZd�ZdS)�FixExecfileTz�
    power< 'execfile' trailer< '(' arglist< filename=any [',' globals=any [',' locals=any ] ] > ')' > >
    |
    power< 'execfile' trailer< '(' filename=any ')' > >
    csh�|d}|�d��}|�d��}|jdjd���}t|���t	��tdd��g|���}t
tjtd��|g��}t
tj
t��td	��g��t
tj
t��t��g��g}	|g|	z}
|���}d|_td
d��}|
t	��|t	��|gz}
ttd��|
d��}|g}|�5|�t	��|���g��|�5|�t	��|���g��ttd
��||j���S)N�filename�globals�localsi����z"rb"z )ZrparenZopen�readz'exec'Zcompile�Zexec)�prefix)ZgetZchildrenZclonerrr	rr
ZpowerrZtrailerrrrrrZextend)ZselfZnodeZresultsrr
rZexecfile_parenZ	open_argsZ	open_callrZ	open_exprZfilename_argZexec_strZcompile_argsZcompile_callZargss                �3/usr/lib64/python3.11/lib2to3/fixes/fix_execfile.py�	transformzFixExecfile.transforms����:�&���+�+�i�(�(�����X�&�&����r�*�3�B�7�=�=�?�?���X�^�^�-�-�u�w�w��v�s�8K�8K�L�#1�3�3�3�	����d�6�l�l�I�%>�?�?�	��T�\�C�E�E�4��<�<�#8�9�9��T�\�F�H�H�f�h�h�#7�8�8�:���K�$�&�	� �~�~�'�'��!����(�C�(�(�� �E�G�G�\�5�7�7�H�#M�M���D��O�O�\�2�>�>���~���	4��K�K����'�-�-�/�/�2�3�3�3��	3��K�K����&�,�,�.�.�1�2�2�2��D��L�L�$�t�{�;�;�;�;�N)Z__name__Z
__module__Z__qualname__Z
BM_compatibleZPATTERNr�rrrrs/�������M��G�<�<�<�<�<rrN)Z__doc__rrZ
fixer_utilrrrrrrrrr	r
ZBaseFixrrrr�<module>rs�����������1�1�1�1�1�1�1�1�1�1�1�1�1�1�1�1�1�1�1�1�1�1�1�1�&<�&<�&<�&<�&<�*�$�&<�&<�&<�&<�&<r