Your IP : 18.191.234.202


Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/pluggy/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/pluggy/__pycache__/_callers.cpython-311.pyc

�

��bg����dZddlmZddlmZddlmZddlmZddlmZddlmZddlm	Z	dd	lm
Z
d
dlmZd
dlm
Z
d
d
lmZe	rd
dlmZe
eede
edfedeeffZdd�ZdS)z
Call loop machinery
�)�annotations)�cast)�	Generator)�Mapping)�Sequence)�Tuple)�
TYPE_CHECKING)�Union�)�_raise_wrapfail)�_Result)�
HookCallError)�HookImplN�	hook_name�str�
hook_impls�Sequence[HookImpl]�
caller_kwargs�Mapping[str, object]�firstresult�bool�return�object | list[object]c�:��d}g}d}d}	g}	t|��D�]v}		�fd�|	jD��}
n0#t$r#|	jD]}|�vrtd|������YnwxYw|	jr�d}	|	j|
�}t
tdttdf|��}
t|
��|�|
f����#t$rt|
d��Y��wxYw|	jrz	|	j|
�}t
tdttf|��}t|��|�|����0#t$rt|d��Y��MwxYw|	j|
�}|�|�|��|rn��xn#t$r}|}Yd}~nd}~wwxYw|r�|r
|r|dnd}n|}t|��D]�}	|�|�|��n|�|��|���n4#t$r}|j}d}Yd}~�]d}~wt$r}|}Yd}~�qd}~wwxYwt|d����|�|�|j���|S|rt|r|dnd|��}nt||��}t|��D�]}t-|t.��rC	|d�|��t|dd���K#t$rY�WwxYw	|j�|�|j��n|�|j��|���nX#t$r$}|�|j��Yd}~��d}~wt$r}|�|��Yd}~��d}~wwxYwt|d����|���S#|r�|r
|r|dnd}n|}t|��D]�}	|�|�|��n|�|��|���n4#t$r}|j}d}Yd}~�]d}~wt$r}|}Yd}~�qd}~wwxYwt|d����|�|�|j���|ccYS|rt|r|dnd|��}nt||��}t|��D�]}t-|t.��rC	|d�|��t|dd���K#t$rY�WwxYw	|j�|�|j��n|�|j��|���nX#t$r$}|�|j��Yd}~��d}~wt$r}|�|��Yd}~��d}~wwxYwt|d����|���ccYSxYw)	z�Execute a call into multiple python functions/methods and return the
    result(s).

    ``caller_kwargs`` comes from _HookCaller.__call__().
    TNc� ��g|]
}�|��S�r)�.0�argnamers  ��`/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib/python3.11/site-packages/pluggy/_callers.py�
<listcomp>z_multicall.<locals>.<listcomp>2s���U�U�U�w�M�'�2�U�U�U�z hook call must provide argument Fz
did not yieldrzhas second yield)�reversed�argnames�KeyErrorr�hookwrapper�functionrrr
�object�next�append�
StopIterationr�wrapper�
BaseException�throw�send�close�value�with_traceback�
__traceback__�
isinstance�tuple�
_exception�_result�force_result�force_exception�
get_result)rrrr�__tracebackhide__�results�	exception�only_new_style_wrappers�	teardowns�	hook_impl�argsr�res�wrapper_gen�function_gen�exc�result�teardown�si�e�outcomes  `                  r�
_multicallrJs$������G��I�"��n(�$&�	�'	�%�j�1�1�$
"�$
"�	��U�U�U�U�)�BT�U�U�U�D�D������#,�#5����"�-�7�7�"/� N�7� N� N�#�#��8��������(�"�.3�+�F�1�i�0�$�7��&*�9�T�7�6�?�D�5P�+Q�SV�&W�&W���[�)�)�)�!�(�(�+��8�8�8�8��(�F�F�F�'��_�E�E�E�E�E�F�����&�"�G�1�i�0�$�7��'+�I�d�F�F�6J�,K�S�'Q�'Q���\�*�*�*�!�(�(��6�6�6�6��(�G�G�G�'��o�F�F�F�F�F�G����-�)�,�d�3�C������s�+�+�+�&�"�!�E�����	�	�	��I�I�I�I�I�I�����	����#�B	(��
!�'.�8�����D��� ��%�Y�/�/�
>�
>��� �,� ���y�1�1�1�1� �
�
�f�-�-�-��N�N�$�$�$�$��$�����X�F� $�I��H�H�H�H�����$���� !�I��H�H�H�H��������� ��*<�=�=�=�=��$��.�.�y�/F�G�G�G��
��
6�:A�")�3�G�A�J�J�t�Y�;�;���"�'�9�5�5��%�Y�/�/�
B�
B���h��.�.�B�� ���(�(��1�1�1�'����5G�H�H�H�H��(����������!�"�-�9�$�N�N�7�+=�>�>�>�>�$�M�M�'�/�:�:�:�!���(�(�(�(��(�!�!�!��,�,�R�X�6�6�6� ���������(�!�!�!��/�/��2�2�2� ���������!����$�H�.@�A�A�A�A��%�%�'�'�'��E#�B	(��
!�'.�8�����D��� ��%�Y�/�/�
>�
>��� �,� ���y�1�1�1�1� �
�
�f�-�-�-��N�N�$�$�$�$��$�����X�F� $�I��H�H�H�H�����$���� !�I��H�H�H�H��������� ��*<�=�=�=�=��$��.�.�y�/F�G�G�G��
�
�
�
�
��
6�:A�")�3�G�A�J�J�t�Y�;�;���"�'�9�5�5��%�Y�/�/�
B�
B���h��.�.�B�� ���(�(��1�1�1�'����5G�H�H�H�H��(����������!�"�-�9�$�N�N�7�+=�>�>�>�>�$�M�M�'�/�:�:�:�!���(�(�(�(��(�!�!�!��,�,�R�X�6�6�6� ���������(�!�!�!��/�/��2�2�2� ���������!����$�H�.@�A�A�A�A��%�%�'�'�'�'�'�'�'�'�'�'s��O �F�5�F�*A"�F�!A"�"F�/AC
�F�
C*�'F�)C*�*
F�5AE
�F�
E+�'F�*E+�+*F�O �
F,� F'�"O �'F,�,O �AH�
I� 	H.�.
I�;I�I�1L�
L
�L
�AM"�"
N7�,N�
N7�N2�2N7� %X�AQ�X�
Q9	�	Q 	�X� 
Q9	�-Q4	�/X�4Q9	�94X�/AX�1T6�5X�6
U	�X�U	�X�AV�X�
W-	�"W	�<X�
W-	�W(	�#X�(W-	�-+X)
rrrrrrrrrr)�__doc__�
__future__r�typingrrrrrr	r
r6rr
r�_hooksrr'�TeardownrJrr!r�<module>rPsM����#�"�"�"�"�"������������������������������� � � � � � �������$�$�$�$�$�$�������"�"�"�"�"�"��!� � � � � � �
�	�)�D�'�&�/�4�/�
0�1�
�d�F�F�"�#�%���}(�}(�}(�}(�}(�}(r!

?>