Your IP : 18.188.188.152


Current Path : /opt/alt/python312/lib64/python3.12/__pycache__/
Upload File :
Current File : //opt/alt/python312/lib64/python3.12/__pycache__/runpy.cpython-312.opt-2.pyc

�

�Q�fU2��~�	ddlZddlZddlZddlZddlZddgZee�ZGd�de	�Z
Gd�de	�Z			dd�Z			dd	�Z
efd
�ZGd�de�Zdd
�Z		dd�Zefd�Zd�Zdd�Zedk(rMeej2�dkredej6��yej2d=eej2d�yy)�N�
run_module�run_pathc� �eZdZ	d�Zd�Zd�Zy)�_TempModulec�@�||_t|�|_g|_y�N)�mod_name�
ModuleType�module�
_saved_module��selfr	s  �,/opt/alt/python312/lib64/python3.12/runpy.py�__init__z_TempModule.__init__s�� ��
� ��*������c���|j}	|jjtj|�|jtj|<|S#t
$rY�*wxYwr)r	r�append�sys�modules�KeyErrorrr
s  r�	__enter__z_TempModule.__enter__!sZ���=�=��	����%�%�c�k�k�(�&;�<�!%������H������	��	�s�,A�	A%�$A%c���|jr2|jdtj|j<g|_ytj|j=g|_y�Nr)rrrr	�r�argss  r�__exit__z_TempModule.__exit__*sL�����)-�);�);�A�)>�C�K�K��
�
�&� ������D�M�M�*���rN��__name__�
__module__�__qualname__rrr�rrrrs��M� �
� rrc��eZdZd�Zd�Zd�Zy)�_ModifiedArgv0c�>�||_t�x|_|_yr)�value�object�_saved_value�	_sentinel)rr%s  rrz_ModifiedArgv0.__init__2s����
�-3�X�5���D�Nrc��|j|jurtd��tjd|_|j
tjd<y)NzAlready preserving saved valuer)r'r(�RuntimeErrorr�argvr%)rs rrz_ModifiedArgv0.__enter__6sA�����D�N�N�2��?�@�@��H�H�Q�K����j�j�����rc�`�|j|_|jtjd<yr)r(r%r'rr+rs  rrz_ModifiedArgv0.__exit__<s ���^�^��
��'�'�����rNrr!rrr#r#1s��6�!�(rr#c	���	|�|j|�|�d}|}d}	n2|j}|j}|j}	|�|j}|j|||	d|||��t||�|S)N)r�__file__�
__cached__�__doc__�
__loader__�__package__�__spec__)�update�loader�origin�cached�parent�exec)
�code�run_globals�init_globalsr	�mod_spec�pkg_name�script_namer5�fnamer7s
          r�	_run_coderAAs���4������<�(��������������������������H����(�"'�$*�!%�$*�%-�"*�
�,�	��{���rc�0�	|�|n|j}t|�5}t|�5|jj}t|||||||�ddd�ddd�j
�S#1swY�!xYw#1swYj
�SxYwr)r6rr#r�__dict__rA�copy)	r:r<r	r=r>r?r@�temp_module�mod_globalss	         r�_run_module_coderG[s���@�#�+�K����E�	�X�	�+�~�e�/D�!�(�(�1�1���$��\��H�h��	=�0E�	������
0E�/D��	������s"�A=�(A1�A=�1A:	�6A=�=Bc	��|jd�r|d��|jd�\}}}|rc	t|�t
jj|�}|�6t|d�s*ddl	m
}dj||��}|t|��	tjj|�}|�|d|z��|j,�0|dk(s|j'd�r|d��	|dz}
t/|
|�S|j0}|�|d|z��	|j3|�}|�|d|z��|||fS#t$rE}|j�-|j|k7r|j|jdz�s�Yd}~��Fd}~wwxYw#tt t"t$f$rT}	d}|j'd	�r|d
|dd�d|�d
�z
}||j|t)|	�j*|	��|	�d}	~	wwxYw#|$r&}|t
jvr�||�d|�d���d}~wwxYw#t$r}|t|��|�d}~wwxYw)N�.z#Relative module names not supported�__path__r)�warnz�{mod_name!r} found in sys.modules after import of package {pkg_name!r}, but prior to execution of {mod_name!r}; this may result in unpredictable behaviour)r	r>z:Error while finding module specification for {!r} ({}: {})z.pyz
. Try using '���z' instead of 'z' as the module name.zNo module named %s�__main__z	.__main__z%Cannot use package as __main__ modulez; z- is a package and cannot be directly executedz0%r is a namespace package and cannot be executedzNo code object available for %s)�
startswith�
rpartition�
__import__�ImportError�namerr�get�hasattr�warningsrK�format�RuntimeWarning�	importlib�util�	find_spec�AttributeError�	TypeError�
ValueError�endswith�typer�submodule_search_locations�_get_module_detailsr5�get_code)
r	�errorr>�_�e�existingrK�msg�spec�ex�
pkg_main_namer5r:s
             rrarais������3���9�:�:��(�(��-�N�H�a���	��x� ��;�;�?�?�8�,������*�(E�%��#�F�H�x�F�H�
�
���$�%�
I��~�~�'�'��1���|��(�8�3�4�4��&�&�2��z�!�X�%6�%6�{�%C��?�@�@�	G�$�{�2�M�&�}�e�<�<��[�[�F�
�~��F�CK�L�M�	M�&����x�(���|��5��@�A�A��T�4����g�	��v�v�~�!�&�&�H�"4� �+�+�A�F�F�S�L�9����
	��&
���J�?�I�K�����U�#��m�H�S�b�M�?�3� �z�!6�8�
9�C��C�J�J�x��b��):�):�B�?�@�b�H��I��"�	G��s�{�{�*���9:�H�F�G�
G��	G���&��F�1�I��A�%��&�s`�D:�F�,G;�H)�:	F�:F�F�G8�$AG3�3G8�;H&�!H!�!H&�)	I	�2I�I	c��eZdZy)�_ErrorN)rrr r!rrrlrl�s��Lrrlc�z�		|s|dk7rt|t�\}}}ntt�\}}}tjdj}|rjtjd<t|dd�S#t$r4}tj�d|��}tj
|�Yd}~��d}~wwxYw)NrMz: r)rarl�_get_main_module_detailsr�
executable�exitrrCr6r+rA)r	�
alter_argvr=r:�excrg�main_globalss       r�_run_module_as_mainrt�s�������Z�/�':�8�V�'L�$�H�h��'?��'G�$�H�h���;�;�z�*�3�3�L���o�o�������T�<����+�+��
���.�.�#�.������
�
���s�/A=�=	B:�*B5�5B:c�h�	t|�\}}}|�|}|rt||||�St|i|||�Sr)rarGrA)r	r<�run_name�	alter_sysr=r:s      rrr�sN���& 3�8�<��H�h���������l�H�h�G�G���r�<��8�D�Drc�:�d}tj|}tj|=	t|�|tj|<S#t$r3}|t	|�vr |d|�dtj
d���|��d}~wwxYw#|tj|<wxYw)NrMzcan't find z module in r)rrrarQ�str�path)rc�	main_name�
saved_mainrrs    rrnrn�s���
�I����Y�'�J����I��,�"�9�-�",����I���
����C�� ��(�#�(�(�1�+�7�8�=@�
A�
��	��",����I��s#�
A�	B�.A=�=B�B�Bc�H�ddlm}tjj	|�}tj|�5}||�}ddd��;tj|�5}t|j�|d�}ddd�|S|S#1swY�HxYw#1swY|SxYw)Nr)�	read_coder9)	�pkgutilr~�osrz�abspath�io�	open_code�compile�read)r@r~�	code_path�fr:s     r�_get_code_from_filer��s|��!�������&�I�	���i�	 �A���|��
!��|�
�\�\�)�
$���1�6�6�8�U�F�3�D�%��K�4�K�

!�	 ��%��K�s�	B�#B�B�B!c
�^�	|�d}|jd�d}ddlm}||�}tj|�}t|t
d��rt|�}t|||||��Stjjd|�	t�\}}}t|�5}	t|�5|	jj }
t#||
||||�j%�cddd�cddd�	tjj'|�S#t($rYSwxYw#1swYnxYw	ddd�n#1swYnxYw	tjj'|�y#t($rYywxYw#	tjj'|�w#t($rYwwxYwxYw)Nz
<run_path>rIr)�get_importer)r>r?)rOrr�r��fsdecode�
isinstancer_r�rGrrz�insertrnrr#rrCrArD�remover])�	path_namer<rvr>r��importerr:r	r=rErFs           rrrs���
������"�"�3�'��*�H�$��I�&�H����I�&�I��(�D��J�'�#�9�-����l�H�)1�y�J�	J�
	������9�%�	�(@�'A�$�H�h���X�&�+��	�*�)�0�0�9�9�� ��{�L�$,�h��B�BF�$�&�	
I�
I�
I�
������	�*���
��
��+�*��*�'�&�&��
������	�*���
��
��
������	�*���
��
�s��E;�'D?�34D)�'	D?�0	E;�:D�	D&�%D&�)D2	�.D?�6	E;�?E�E;�E,�,	E8�7E8�;F,�=F�F,�	F)�&F,�(F)�)F,rM�z!No module specified for execution)�file)NNNNN)T)NNF)NN)r�importlib.machineryrX�importlib.utilr�r��__all__r_r
r&rr#rArGrQra�	Exceptionrlrtrrnr�rr�lenr+�print�stderrr!rr�<module>r�s�������	�	��*���
�#�Y�
� �&� �.
(�V�
(� /3�&*�)-��4)-�,0�/3��)4�; �zM�Y�M�+�8'+�(-�E�<$/�,�&
�0�f�z��
�3�8�8�}�q��
�1��
�
�C��H�H�Q�K��C�H�H�Q�K�(�
r

?>