zmc
2023-10-12 ed135d79df12a2466b52dae1a82326941211dcc9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
U
X±d­ã
@sâdZddlZddlZddlZddlmZmZddlmZm    Z    ddl
m Z ej dkrhddl mZdd    „ZneZd
d „Zed krÞeeejd d…ƒ\ZZeedƒ:Zeedƒ$Zee    e ¡ƒƒe_eeeƒrÊq¾W5QRXW5QRXdS)z¸
The child process to be invoked by IsolatedPython().
 
This file is to be run directly with pipe handles for reading from and writing to the parent process as command line
arguments.
 
éN)ÚloadsÚdumps)Ú    b64encodeÚ    b64decode)Úformat_exceptionÚnt)Úopen_osfhandlecCstt|dƒ|ƒS)Nr)Úopenr)Z
osf_handleÚmode©r úRd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\PyInstaller/isolated/_child.pyÚ_opensr c
Cs:| ¡}|dkrdStt| ¡ƒƒ}tt| ¡ ¡ƒƒ}tt| ¡ ¡ƒƒ}tt| ¡ ¡ƒƒ}tt| ¡ ¡ƒƒ}z<tddœ}t ||¡}    ||    _||    _|    ||Ž}
t    d|
fƒ} Wndt
k
r} zDt t | ƒ| | j ƒ} | ddkrî| dd…} t    dd     | ¡ ¡fƒ} W5d} ~ XYnX| t| ƒ¡| d¡| ¡dS)
z_
    Listen to **read_fh** for the next function to run. Write the result to **write_fh**.
    ó
FT)Ú __builtins__Z __isolated__rz#Traceback (most recent call last):
éNÚ)ÚreadlinerrÚstriprÚtypesÚ FunctionTypeÚ __defaults__Ú__kwdefaults__rÚ BaseExceptionrÚtypeÚ __traceback__ÚjoinÚrstripÚwriterÚflush)Úread_fhÚwrite_fhÚ
first_lineÚcodeÚ    _defaultsZ _kwdefaultsÚargsÚkwargsZGLOBALSÚfunctionÚoutputZ
marshalledÚexZtb_linesr r r Úrun_next_command$s0
 
  (
r)Ú__main__rÚrbÚwb)Ú__doc__ÚsysÚosrÚmarshalrrÚbase64rrÚ    tracebackrÚnameÚmsvcrtrr r    r)Ú__name__ÚmapÚintÚargvZread_from_parentZwrite_to_parentrr rÚpathr r r r Ú<module> s$ 
 
4