Your IP : 18.119.167.10


Current Path : /opt/alt/python313/lib64/python3.13/multiprocessing/__pycache__/
Upload File :
Current File : //opt/alt/python313/lib64/python3.13/multiprocessing/__pycache__/spawn.cpython-313.pyc

�

+}g�%���SSKrSSKrSSKrSSKrSSKJrJr SSKJr SSKJ	r	 SSKJ
r
 /SQr\RS:waS	r
S	rOF\"\S
S	5r
\R =(a) \R R#5R%S5rSrS
r\(a-\"\R*R-\R.S55 O\"\R 5 SrSrSrSSjrSrSrSr/rSr Sr!Sr"Sr#g)�N�)�get_start_method�set_start_method)�process)�	reduction)�util)�_main�freeze_support�set_executable�get_executable�get_preparation_data�get_command_line�import_main_path�win32F�frozenzpythonservice.exec��UcUqg[RS:Xa[R"U5qg[R
"U5qg)Nr)�_python_exe�sys�platform�os�fsdecode�fsencode)�exes �</opt/alt/python313/lib64/python3.13/multiprocessing/spawn.pyrr$s4��
�{���	����	 ��k�k�#�&���k�k�#�&��c��[$)N)r�rrrr-s���rz
python.exec�6�[U5S:�a
USS:Xagg)z5
Return whether commandline indicates we are forking
�r�--multiprocessing-forkTF)�len)�argvs r�
is_forkingr#9s!���4�y�A�~�$�q�'�%=�=��rc��[[R5(ai0n[RSSH/nURS5up#US:XaSX'M"[	U5X'M1 [S0UD6 [R"5 gg)z=
Run code for process object if this in not the main process
rN�=�Noner)r#rr"�split�int�
spawn_main�exit)�kwds�arg�name�values    rr
r
Cso���#�(�(������8�8�A�B�<�C��)�)�C�.�K�D����!��
� ��Z��
� �	��T�����
�rc�R�[[SS5(a7[RS/UR5Vs/sHnSU-PM
 sn-$SnUSR	SUR555-n[
R"5n[5nU/U-SUS/-$s snf)	zB
Returns prefix of command line used for spawning a child process
rFr �%s=%rz<from multiprocessing.spawn import spawn_main; spawn_main(%s)z, c3�,# �UH
nSU-v� M g7f)r0Nr)�.0�items  r�	<genexpr>�#get_command_line.<locals>.<genexpr>\s���B�\�T�'�D�.�\�s�z-c)�getattrr�
executable�items�joinr�_args_from_interpreter_flagsr)r+r3�prog�optsrs     rrrSs����s�H�e�$�$����!9�:�,0�J�J�L�9�L�D��4��L�9�:�	;�N����	�	�B�T�Z�Z�\�B�B�B���0�0�2������u�t�|�t�T�+C�D�D�D��
:s�B$c���[[R5(dS5e[RS:XapSSKnSSKnUb+UR
URUR-SU5nOSn[R"UUS9nURU[R5nUnO.SSKJn	 X)R lUn[R$"U5n['Xx5n
[R("U
5 g)	z/
Run code specified by data received over pipe
zNot forkingrrNF)�source_processr)�resource_tracker)r#rr"r�msvcrt�_winapi�OpenProcess�SYNCHRONIZE�PROCESS_DUP_HANDLEr�	duplicate�open_osfhandler�O_RDONLY�r?�_resource_tracker�_fd�dupr	r*)�pipe_handle�
parent_pid�
tracker_fdr@rAr>�
new_handle�fd�parent_sentinelr?�exitcodes           rr)r)bs����c�h�h���.��.��
�|�|�w�����!�$�0�0��#�#�g�&@�&@�@��z�#�N�"�N��(�(��8F�H�
�
�
"�
"�:�r�{�{�
;��(��&�1;�*�*�.�
���&�&��-���R�)�H��H�H�X�rc��[R"USSS9nS[R"5l[
RRU5n[U5 [
RRU5n[R"5?SSS5 WRU5$![R"5?f=f!,(df   N9=f)N�rbT)�closefd)
r�fdopenr�current_process�_inheritingr�pickle�load�prepare�
_bootstrap)rPrQ�from_parent�preparation_data�selfs     rr	r	~s���	���2�t�T�	*�k�04����!�-�	6�(�/�/�4�4�[�A���$�%��#�#�(�(��5�D��'�'�)�5�
+��?�?�?�+�+���'�'�)�5��
+�	*�s#�C�A	B+�<C�+C�C�
Cc�d�[[R"5SS5(a[S5eg)NrXFa�
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.

        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.

        To fix this issue, refer to the "Safe importing of main module"
        section in https://docs.python.org/3/library/multiprocessing.html
        )r6rrW�RuntimeErrorrrr�_check_not_importing_mainrb�s2���w�&�&�(�-��?�?���
�	
�@rc	��[5 [[R[R
"5RS9n[Rb![RR5US'[RR5nURS5n[RX#'URUU[R [R["R$"5['5S9 [R(Sn[+UR,SS5nUbXQS'U$[R.S	:wd[0(d�[2(d�[+US
S5nUb�["RR5U5(d?[Rb.["RR7[RU5n["RR9U5US'U$![a GNLf=f)zE
Return info about parent needed by child to unpickle process object
)�
log_to_stderr�authkeyN�	log_levelrH)r-�sys_path�sys_argv�orig_dir�dir�start_method�__main__r-�init_main_from_namer�__file__�init_main_from_path)rb�dictr�_log_to_stderrrrWre�_logger�getEffectiveLevelr�path�copy�index�ORIGINAL_DIR�
ValueError�updater"r�getcwdr�modulesr6�__spec__r�WINEXE�
WINSERVICE�isabsr9�normpath)r-�drg�i�main_module�
main_mod_name�	main_paths       rr
r
�s�������)�)��'�'�)�1�1�	
�A�
�|�|�����7�7�9��+��
�X�X�]�]�_�H�+��N�N�2����*�*����H�H�
������%�%��I�I�K�%�'�

�
��+�+�j�)�K��K�0�0�&�$�?�M�� �#0�
� �
�H�

����	 ���
�
��K��T�:�	�� ��G�G�M�M�)�,�,��,�,�8��G�G�L�L��)=�)=�y�I�	�')�w�w�'7�'7�	�'B�A�#�$��H��9�
��
�s�G3�3
H�Hc�d�SU;aUS[R"5lSU;aUS[R"5lSU;aUS(a[R
"5 SU;a'[R"5RUS5 SU;aUS[l	SU;aUS[l
SU;a[R"US5 SU;aUS[l
S	U;a
[US	S
S9 SU;a[US5 gS
U;a[!US
5 gg)z=
Try to get current process ready to unpickle process object
r-rerdrfrgrhrjrirkT)�forcermroN)rrWr-rerrd�
get_logger�setLevelrrtr"r�chdirrwr�_fixup_main_from_name�_fixup_main_from_path)�datas rr[r[�s����~�)-�f�����!�&��D��,0��O����!�)��$��4��#8������d������"�"�4��#4�5��T���
�#����T���
�#�����}�
����e����T��#�J�/��������n�-�T�:���$��d�#8�9�:�	�$�	&��d�#8�9�:�
'rc��[RSnUS:XdURS5(ag[URSS5U:Xag[
R
U5 [R"S5n[R"USSS9nURRU5 U=[RS'[RS'g)Nrlz	.__main__r-�__mp_main__T)�run_name�	alter_sys)
rr{�endswithr6r|�old_main_modules�append�types�
ModuleType�runpy�
run_module�__dict__ry)�mod_name�current_mainr��main_contents    rr�r��s���
�;�;�z�*�L��:���!2�!2�;�!?�!?���|�$�$�f�d�3�x�?��
���L�)��"�"�=�1�K��#�#�H�-:�.2�4�L�������-�;F�F�C�K�K�
��c�k�k�-�8rc���[RSn[RR	[RRU55SnUS:Xag[
USS5U:Xag[RU5 [R"S5n[R"USS9nURRU5 U=[RS'[RS'g)Nrlr�ipythonrnr�)r�)rr{rrt�splitext�basenamer6r�r�r�r�r��run_pathr�ry)r�r��	main_namer�r�s     rr�r�s����;�;�z�*�L���� � ����!1�!1�)�!<�=�a�@�I��I����|�Z��.�)�;��
���L�)��"�"�=�1�K��>�>�)�+8�:�L�������-�;F�F�C�K�K�
��c�k�k�-�8rc��[U5 g)z4
Set sys.modules['__main__'] to module at main_path
N)r�)r�s rrr/s���)�$r)NN)$rrr�r�rHrrr�contextrr�__all__rr}r~r6r7�lowerr�rrrtr9�exec_prefixr#r
rr)r	rbr
r�r[r�r�rrrr�<module>r�s���
�
���0����K���<�<�7��
�F��J�
�S�(�E�
*�F����X�C�N�N�$8�$8�$:�$C�$C�DW�$X�J�'����2�7�7�<�<�����>�?��3�>�>�"��
� E��8	,�
�,,
�d��";�LG�2G�8%r

?>