add-determinism 0.7.3

RPM buildroot helper to strip nondeterministic bits in files
Documentation
�

�Wcd	��\�ddlZddlZddlZddlZddlZddlmZd�Zd�Zd�Z	d
d�Z
dd	�ZdS)�N�)�	constantsc�z�tj|�}tj|�r$|j}|j|j
fSt
|tj�rt|j�St
|tj�rt|j�SdS�N)�inspect�unwrap�
isfunction�__code__�co_filename�co_firstlineno�
isinstance�	functools�partial�_get_function_source�func�
partialmethod)r�codes  �//usr/lib64/python3.12/asyncio/format_helpers.pyrr
s����>�>�$��D����$����}�}��� � �$�"5�"5�6�6��$�	�)�)�*�*�#�D�I�I�.�.��$�	�/�/�0�0�#�D�I�I�.�.��4�c�p�t||d�}t|�}|r|d|d�d|d��z
}|S)Nz at r�:r)�_format_callbackr)r�args�	func_repr�sources    r�_format_callback_sourcersH�� ��t�T�2�I�
!�$�
'�F�
�v��3�F�1�I�3�3��q�	�3�3�3�	��rc���g}|r|jd�|D��|r)|jd�|j�D��djdj|��S)z�Format function arguments and keyword arguments.

    Special case for a single parameter: ('hello',) is formatted as ('hello').
    c3�FK�|]}tj|����dSr��reprlib�repr)�.0�args  r�	<genexpr>z*_format_args_and_kwargs.<locals>.<genexpr>&s+����7�7�3�W�\�\�#�&�&�&�&�&�7�7rc3�VK�|]#\}}|�dtj|������%dS)�=Nr)r"�k�vs   rr$z*_format_args_and_kwargs.<locals>.<genexpr>(s<����I�I�$�!�Q��-�-�G�L�L��O�-�-�-�-�-�-�I�Irz({})z, )�extend�items�format�join)r�kwargsr*s   r�_format_args_and_kwargsr.sg��
�E��t�
���7�7�$�7�7�7�7�
�v�
���I�I�&�,�,�.�I�I�I�I��=�=����5�)�*�*r�c��t|tj�r?t||�|z}t	|j
|j|j|�St|d�r|jr
|j}n4t|d�r|jr
|j}n
t|�}|t||�z
}|r||z
}|S)N�__qualname__�__name__)r
rrr.rrr�keywords�hasattrr1r2r!)rrr-�suffixrs     rrr,s����$�	�)�)�*�*�(��v�6��?����	�	�4�9�9�d�m�m�V�L�L��t�^�$�$��):�):�):��%�%�	�	�	��z�	"�	"�t�}�}�}��M�M�	�	���J�	�
�(��v�6�6�I�
�v��V��	��rc��|� tj�j}|�tj}t
jjtj|�|d��}|j�|S)zlReplacement for traceback.extract_stack() that only does the
    necessary work for asyncio debug mode.
    NF)�limit�lookup_lines)
�sys�	_getframe�f_backr�DEBUG_STACK_DEPTH�	traceback�StackSummary�extract�
walk_stack�reverse)�fr7�stacks   r�
extract_stackrD>sl��	�y��M�M�O�"�"���}��+�+���"�"�*�*�9�+?�+?��+B�16�8=�
+�
?�E�
�M�M�O�O��Lr)r/)NN)rrr r9r=r/rrrr.rrD�rr�<module>rFs���������������
�
�
�
�����������	�	�	����+�+�+�����$�����r