Vc(%HddlmZddlZddlZddlZddlZddlZddlZddlZddl m Z gdZ ej dkp(e edoe edoe ejd ZGd d ejZejZd*d Zej dkr*e gd z Z ddlZd+dddZdZdZdZGddeZn%e gdz Z ddlZej dkZdZdZdZdZdZdZGddZ ee!e j"ed Z#ee!e$j%e#ee!e&j'e#d!Z(d"Z)eej*e(ej dkrd#Z+d$Z,eeje+nd%Z+d&Z,eeje+Gd'd(e)Z-dS),)ABCMetaN)context) send_handle recv_handleForkingPicklerregisterdumpwin32CMSG_LEN SCM_RIGHTSsendmsgcneZdZ iZejZfdZedZ eddZ e j Z xZ S)rctj||j|_|j|jdSN)super__init___copyreg_dispatch_tablecopydispatch_tableupdate_extra_reducers)selfargs __class__s 2/usr/lib64/python3.11/multiprocessing/reduction.pyrzForkingPickler.__init__&sN$":??AA ""4#788888c ||j|<dSr)r)clstypereduces rr zForkingPickler.register+s4$*D!!!rNctj}|||||Sr)ioBytesIOr getbuffer)robjprotocolbufs rdumpszForkingPickler.dumps0s;jll C$$$}}rr)__name__ __module__ __qualname__rcopyregrrr classmethodr r)pickleloads __classcell__)rs@rrr!s3O%499999 ++[+[ LEEEEErrcN t|||dSr)rr )r&filer's rr r :s)=4""'',,,,,r) DupHandle duplicate steal_handleF)source_processc tj}||}||}tj|||d|tjS)Nr)_winapiGetCurrentProcessDuplicateHandleDUPLICATE_SAME_ACCESS)handletarget_process inheritabler7current_processs rr5r5GsSJ!355  -,N  -,N& FN {G9;; ;rc " tjtjd|} tj||tjddtjtjztj|S#tj|wxYwNFr)r9 OpenProcessPROCESS_DUP_HANDLEr;r:r<DUPLICATE_CLOSE_SOURCE CloseHandle) source_pidr=source_process_handles rr6r6SsC ' 3  &z!;!; 7*%v)++Q-0NNPP   5 6 6 6 6G  5 6 6 6 6s AA88Bch t|tj|}||dSr)r4r9r<send)connr=destination_piddhs rrr_s,4 vw>AJ.!3%$$ I&&&q66C<3q6)-(:AAFFCF,,---AwwJ'    D 2333sDE,,F?Fc tj|tjtj5}t ||gddddS#1swxYwYdSr)rifromfdfilenoAF_UNIX SOCK_STREAMr_)rKr=rLss rrrs4 ]4;;==&.&:L M M !QR Ax  ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! !sAA!$A!c tj|tjtj5}t |ddcdddS#1swxYwYdS)Nrr)rirrrrr`)rKrs rrrs7 ]4;;==&.&:L M M $QR1a==# $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $ $sA!!A%(A%c tj}|(|||Strddlm}||Std)Nr)resource_sharerz&SCM_RIGHTS appears not to be available)rget_spawning_popenr^duplicate_for_childHAVE_SEND_HANDLErru)fd popen_objrs rr^r^sz).00  G??9#@#@#D#DEE E  G ) ) ) ) ) )"((,, ,EFF Frcx|jt|j|jjffSt|j|jjffSr)__self__getattrr__func__r*ms r_reduce_methodrs:z:aj&9:::QZ%8999rceZdZdZdS)_CcdSrr])rs rfz_C.fs rN)r*r+r,rr]rrrrs#     rrc,t|j|jffSr)r __objclass__r*rs r_reduce_method_descriptorrs Q^QZ0 00rc<t|j|j|jpiffSr)_rebuild_partialfuncrkeywords)ps r_reduce_partialrs afafaj.>B? ??rc,tj|g|Ri|Sr) functoolspartial)rrrs rrrs#  T 5D 5 5 5H 5 55rc4ddlm}t||ffS)Nr) DupSocket)rr_rebuild_socket)rrs r_reduce_socketrs)......1//rc*|Sr)rP)dss rrrsyy{{rc|t|}t||j|j|jffSr)r^rrfamilyr proto)rdfs rrrs1 188::  QXqvqw ???rcZ|}tj||||S)N)r)rPri)rrr rrs rrrs( YY[[}VT5<<<>>ck""$=>>>"O444/////rN)r*r+r,rr r rrsysplatformr6r5r4r_r`r^rrrrrrr]rrrrs $NH DKK |w#   #N 9'#N%O00000rr) metaclassrr\).abcrr-rr#rSr/rirrr__all__rhasattrrPicklerrr r r9r5r6rrobjectr4rfrkr_r`r^rrr rrryrrrrrrrrrr]rrrs  N N NLG+8WVZ007WV\227WV]I66V^.  "----<7FG 9999GNNN ;$( ; ; ; ; ; 7 7 7 $$$*****F****F ....GLLL,(*KHHH4448!!! $$$ G G G:::          bbddf~&&&111dk  5666ck  5666@@@666 O,,, <7,000 HV]N++++@@@=== HV]N+++00000000000r