QfG J ddlmZddlmZddlmZmZmZddlmZddl m Z ddl Z ddl m Z ddl mZmZddlZddlZddlZddlZgd Z dd lmZej/d d ZeefZdZgdZdZdZ Gdde!Z"Gdde"Z#Gdde"Z$Gdde!Z%dZ&dZ'dZ(dZ)dZ*dZ+d Z,d!Z-d"Z.d#Z/d$Z0d%Z1d&Z2d'Z3d(Z4d)Z5d*Z6d+Z7d,Z8d-Z9d.Z:d/Z;d0Zd3Z?d4Z@d5ZAd6ZBd7ZCd8ZDd9ZEd:ZFd;ZGdZJd?ZKd@ZLdAZMdBZNdCZOdDZPdEZQdFZRdGZSdHZTdIZUdJZVdKZWdLZXdMZYdNZZdOZ[dPZ\eLeVeWeXgZ]dQZ^dRZ_dSZ`dTZadUZbdVZcdWZddXZedYZfdZZgd[Zhd\Zid]Zjd^Zkd_ZlejenDcgc]}ejd`|s|c}GdadbZpGdcddZqdeZrdfZsdgZtdhZuevZwGdidjZxGdkdlZydd ddmdnZzdd ddmdoZ{d dpdqddrdsZ|d dpdqddrdtZ} dd lm"Z"m#Z#m$Z$m~Z~mZmZmZmZmZduZedvk(rddlZejdwxZejdydzd{|ejd}d~ddejdddejZejreyejsejyddlZejD]SZedk(ree j"j$Zneed5ZeeZdddejeUyy#e$rd ZYwxYwcc}w#e$rexeycZ~Zeze{e|e}f\ZZZZY:wxYw#1swYOxYw)) FunctionType)dispatch_table)_extension_registry_inverted_registry_extension_cache)islice)partialN)maxsize)packunpack) PickleError PicklingErrorUnpicklingErrorPickler Unpicklerdumpdumpsloadloads) PickleBufferrTF4.0)z1.0z1.1z1.2z1.3z2.0z3.0rz5.0ceZdZ y)r N__name__ __module__ __qualname__-/opt/alt/python312/lib64/python3.12/pickle.pyr r Is@r r ceZdZ y)rNrrr r!rrMs  r rceZdZ y)rNrrr r!rrTs  r rceZdZdZy)_Stopc||_yN)valueselfr(s r!__init__z_Stop.__init__bs  r N)rrrr+rr r!r%r%asr r%(.012FIJKLMNPQRSTUVXabcd}eghijl]opqrst)uGsI01 sI00 BCz[A-Z][A-Z0-9_]+$c:eZdZdZdZdZdZdZd dZdZ dZ y ) _Framerric ||_d|_yr') file_write current_frame)r*rss r!r+z_Framer.__init__s$!r c6tj|_yr')ioBytesIOrtr*s r! start_framingz_Framer.start_framingsZZ\r c|jr8|jjdkDr|jdd|_yyy)NrTforce)rttell commit_framerxs r! end_framingz_Framer.end_framingsC   $"4"4"9"9";a"?   D  )!%D #@ r c d|jr|j}|j|jk\s|rx|j}|j}t ||j k\r"|ttdt |z||tj|_yyyN|jrq|jj|}|dk(r6t|dk7r(d|_t|}|j||dd|S|t|kr t d|St|}|j||dd|SNr$pickle exhausted before end of frame)rtreadintorrr)r*bufns r!rz_Unframer.readintos   ""++C0AAv#c(a-%)"H*A3s8|%:<<HCA^^A&CFHr c|jrU|jj|}|s|dk7rd|_|j|St||kr t d|S|j|Sr)rtreadrrrr*rrs r!rz_Unframer.readsp   %%**1-DAF%)"~~a((4y1}%:<<K>>!$ $r c|jrH|jj}|sd|_|jS|ddk7r td|S|jS)N r)rtreadlinerrrs r!rz_Unframer.readline&si   %%..0D%)"))++Bx8#%:<<K%%' 'r c|jr(|jjdk7r tdtj|j ||_y)Nr z4beginning of a new frame before end of current frame)rtrrrvrwrr* frame_sizes r! load_framez_Unframer.load_frame3sM   $"4"4"9"9";s"B!FH HZZz(BCr r')rrrr+rrrrrr r!rrs" " % (Dr rc|}|jdD]1}|dk(rtdj|| |}t||}3|fS#t$rtdj||dwxYw)N.zz&Can't get local attribute {!r} on {!r}z Can't get attribute {!r} on {!r})splitAttributeErrorformatgetattr)objnametopsubpathparents r! _getattributer<s C::c? j  !I"(&s"35 5 ?F#w'C # ; ? !C"(&s"35:> ? ?s A  &A2c t|dd}||Stjjj D](\}}|dk(s|dk(s| t ||d|ur|cS*y#t $rY7wxYw)Nr__main__ __mp_main__r)rsysmodulescopyitemsrr)rr module_namemodules r! whichmodulerJs.#|T2K #{{//1779 V : %m+~  VT*1-4""5 :    sA++ A76A7c |dk(ry|jdz dz}|j|dd}|dkr|dkDr|dd k(r|d d zdk7r|dd}|S) Nrr littleT byteordersignedr) bit_lengthto_bytes)xnbytesresults r! encode_longr]su( Avlln!Q &F ZZ(4Z @F1u! ": 6":#4":CR[F Mr c4 tj|ddS)NrTr)int from_bytes)rs r! decode_longr{s" >>$(4> @@r ceZdZd$ddddZdZdZdZdZd Zd%d Z d Z d Z d&dd dZ iZ dZee ed<dZee e<dZee e<dZee e<dZdZee e<dZdZee e<erdZee e<dZee e <dZ!e!e e"<dZ#e#e e$<dZ%dZ&dZ'e'e e(<dZ)dZ*e*e e+<d Z,e,e e-<d$d!Z.d"Z/d#Z0e.e e1<e0e e<y)'_PicklerNT fix_importsbuffer_callbackc |t}|dkrt}n#d|cxkr tksntdtz||dkr td||_ |j|_t|j |_ |jj|_|jj|_ i|_ t||_|dk\|_d|_|xr|dk|_y#t $r tdwxYw)Nrzpickle protocol must be <= %drz#buffer_callback needs protocol >= 5z"file must have a 'write' attributerr)DEFAULT_PROTOCOLHIGHEST_PROTOCOL ValueError_buffer_callbackr _file_writer TypeErrorrqframerr_write_large_bytesmemorprotobinfastr)r*fileprotocolrrs r!r+z_Pickler.__init__s B  'H a<'Hh2"22>3J3J!MN N ::? JJutD$**55 6 ::? KK % % ' # 4 !r c |jryt|j}|j|j |||f|jt |<yr')rrrrputid)r*ridxs r!memoizez_Pickler.memoizesH* 99 $))n 488C=! #X "S'r c|jdk\rtS|jr+|dkrtt d|zSt t d|zSt t|jdzdzS)Nrr?? b#    S" % "e$ @6 IJ J GQ ! !68>!?@ @ 2&S&r cyr'rrs r!rz_Pickler.persistent_idZsr c|jr)|j|d|jty |jtt |j dzdzy#t$r tdwxYw)NF)rrr2persistent IDs in protocol 0 must be ASCII strings) rrr BINPERSIDPERSIDrrUnicodeEncodeErrorrr*rs r!rz_Pickler.save_pers^sq 88 IIceI 4 JJy ! J 6CHOOG$< ? JJtd3i..w77&@ Ar c|jr#|jttd|zy|jtt |j dzdzy)N>drr)rrBINFLOATr FLOATrrrs r! save_floatz_Pickler.save_float sE 88 JJx$tS/1 2 JJutCy//885@ Ar ct|}|dkr&|jttd|z|zy|dkDr3|jdk\r$|j t td|z|y||jjk\r$|j ttd|z|y|jttd|z|zy)Nrrrrr) rrSHORT_BINBYTESr rr BINBYTES8rrBINBYTESr*rrs r!_save_bytes_no_memoz_Pickler._save_bytes_no_memos H 9 JJ~T1 5; < ^ a  # #IT1 $=s C $++00 0  # #HtD!}$   4   "%c8"4h!?S!J    % Sr ct|}||jjk\r$|jtt d|z|y|j tt d|z|zyr)rrrr BYTEARRAY8r rr`s r!_save_bytearray_no_memoz _Pickler._save_bytearray_no_memo,sV H  .. .  # #JdA$> D JJzDqM1C7 8r c|jdkr>|s|jtd|y|jtt|f|y|j ||j |y)Nrrr()rr bytearrayrdrirrs r!save_bytearrayz_Pickler.save_bytearray6sd ::>  BC 8   U3ZMs C  $$S) Sr cn|jdkr td|j5}|js tdd}|jt |j |}|r|j }t||jv}|jr&|r|j|nn|j|n\|r|j|nH|j|n6|jt|jr|jt dddy#1swYyxYw)Nrz3PickleBuffer can only be pickled with protocol >= 5zHPickleBuffer can not be pickled when pointing to a non-contiguous bufferT)rrraw contiguousrbooltobytesrrreadonlyrarfrirlr NEXT_BUFFERREADONLY_BUFFER)r*rmin_bandrin_memos r!save_picklebufferz_Pickler.save_picklebufferBszzA~#%455a||')NOO((4"4#8#8#=>G))+C g2Gzz" 44S9 OOC0" 88= //4JJ{+zz ?35s C7D++D4c,|jr|jdd}t|}|dkr6|jdk\r'|j t t d|z|zn|dkDr3|jdk\r$|jtt d|z|n||jjk\r$|jtt d|z|n|j tt d|z|zn|jd d }|jd d }|jd d}|jdd}|jdd}|j t|jdzdz|j|y)Nutf-8 surrogatepassrrrr\rr\z\u005cz\u0000 z\u000a z\u000dz\u001araw-unicode-escaper)rrrrrSHORT_BINUNICODEr r BINUNICODE8rr BINUNICODEreplaceUNICODEr)r*rrTrtmps r!save_strz_Pickler.save_strdsC 88jj/:GG ADyTZZ1_ +d4m;gEFZDJJ!O'' d4m(CWMdkk444'' T$](BGL :T1 5?@++dI.C++dI.C++dI.C++dI.C++fi0C JJw,@!AAEI J Sr c>|s?|jr|jty|jttzyt |}|j }|j}|dkr|jdk\r|D] }|| t||vr<|j|t|d}|jt|z|zy|jt||j|y|j}|t|D] }|| t||vrR|j|t|d}|jr|t|zy|t|dzz|zy|t|j|y)Nrrrr)rr EMPTY_TUPLEMARKTUPLErrrrrr r2_tuplesize2coderPOP_MARK)r*rrrrelementr rs r! save_tuplez_Pickler.save_tuple{sfxx ;'  4%<(  Hyyyy 6djjAoW #w$hhtBsG}Q/0 37S=)  ?1-. S!   d G M c7d?((43=+,Cxxhn% cQqSkC'(  e  Sr c|jr|jtn|jttz|j ||j |yr')rr EMPTY_LISTrLISTrr3rs r! save_listz_Pickler.save_lists? 88 JJz " JJtd{ # S C r ic|j}|j}|js|D]}|||tyt |} t t ||j}t|}|dkDr(|t|D] }|| |tn|r||d|t||jkryNrr) rrrAPPENDiterlistr _BATCHSIZErrAPPENDS)r*rrrritrrs r!r3z_Pickler._batch_appendssyy xxQf   %[vb$//23CCA1ud AGgSV f 4??"r c|jr|jtn|jttz|j ||j |jyr')rr EMPTY_DICTrDICTrr4rrs r! save_dictz_Pickler.save_dictsE 88 JJz " JJtd{ # S SYY[)r c|j}|j}|js'|D]!\}}|||||t#yt |} t t ||j}t|}|dkDr3|t|D]\}}|||||tn&|r$|d\}}|||||t||jkryr) rrrSETITEMrrrrrrSETITEMS) r*rrrkvrrrs r!r4z_Pickler._batch_setitemssyy xx1QQg  %[vb$//23CCA1ud DAqGG h1v1QQg4??"!r c|j}|j}|jdkr#|jtt |f|y|t |j|t|} t t||j}t|}|dkDr'|t|D] }|| |t||jkrygNrr(r)rrrrsetr EMPTY_SETrrrrrrADDITEMS)r*rrrrbatchritems r!save_setz_Pickler.save_setsyy  ::>   S49,C  8  i S #YDOO45EE A1ud !DJ"h4??"r c |j}|j}|jdkr#|jtt |f|y|t |D] }|| t||jvr8|t|j|jt|dzy|t|j|yr) rrrr frozensetrrrrrr  FROZENSETr)r*rrrrs r!save_frozensetz_Pickler.save_frozensetsyy  ::>   Yc #  >  d D J c7dii  (TXXdii3&8&;<< =  i Sr c |j}|j}| t|dd}| |j}t ||} t |dt j|}t||\}}||urtd|d|d||jdk\rtj||ft } | t urj| d kr,t#d | } | d k(r t%d |t&| zy| d kr|t(t#d| zy|t*t#d| zy|j-dd} ||ur| }|jdk\r/|j/||j/||t0nd|vr|j3d} | j5d}|j.} | D]*}| t|jdks|t6,|j9||| D]>}| ||jdkr |t:n |t<|t>@n|j9|||jA|y#tttf$rtd|d|d|dwxYw)Nrrlevelrz: it's not the same object as rz: it's not found as rrrz extension code 0 is out of rangerJrKrLr)!rrrrr __import__rrrr ImportErrorKeyErrorrrrr _NoValuer RuntimeErrorEXT1EXT2EXT4 rpartitionr STACK_GLOBALrpopr_save_toplevel_by_namerr6r0r)r*rrrrrrobj2rcoderlastname dotted_pathrattrnames r!rz_Pickler.save_global/s` yy <35D <<ID8#4<d+Du}++MNN$+&  V^$dD!112$dD!112??3'* V D ::? IIk " IIdO ,  D[**S/K??1%D99D'W ::>$K(  ' ' T :'X::>%L&Mf (  ' ' T : SqX~6 4k4)*/3 4 4s /I*Jc|jdk\r6|jtt|dzdzt|dzdzy|jr:t j }t j}||f|vr |||f\}}n ||vr||} |jtt|dzdzt|dzdzy#t$rtd|||jfzdwxYw)Nrrzrrz?can't pickle global identifier '%s.%s' using pickle protocol %i) rrGLOBALrdr_compat_pickleREVERSE_NAME_MAPPINGREVERSE_IMPORT_MAPPINGr&r)r*rrr_name_mappingr_import_mappings r!rz_Pickler._save_toplevel_by_namews ::? JJvk7 ;;eCT7+,.34 5!/!D!D#1#H#H &.8(6 T7J(K%K $44"2;"?K V 6E+w$??%G w/02789% V#),7tzz+JKLQUV Vs 5C&C)c|tdur|jtd|S|ttur|jttf|S|tdur|jtd|S|j|S)Nr'r(.).)rrrrrs r! save_typez_Pickler.save_types $t* ##D's#; ; D( (##D>*;#E E DI ##D&c#: :$$r r')T)NNNN)2rrrr+rrrrr rrrrrrBrrHrprUrrZfloatrarfrdrirlrk_HAVE_PICKLE_BUFFERrxrrrrrrrrr3rdictr4rrrrrrrrrr r!rrsz784!%78r "&. ;5D'L J=A15q>BqjH$HT$Z/ HTNB:HSMB !HUO 7 !HUO9)HY 4@"3*HSM/b!HUO!HTNJ6*HTN>,HSM*)HYFPV*%)H\HTNr rc$eZdZddddddZdZdZd ZiZd Zeee d <d Z e ee d <d Z e ee d <dZeeed <dZeeed <dZeeed <dZeeed <dZeeed <dZeeed <dZeeed <dZeeed <dZeeed <dZ e ee!d <dZ"e"ee#d <dZ$e$ee%d <dZ&e&ee'd <dZ(dZ)e)ee*d <dZ+e+ee,d <dZ-e-ee.d <dZ/e/ee0d <d Z1e1ee2d <d!Z3e3ee4d <d"Z5e5ee6d <d#Z7e7ee8d <d$Z9e9ee:d <d%Z;e;eed <d'Z?e?ee@d <d(ZAeAeeBd <d)ZCeCeeDd <d*ZEeEeeFd <d+ZGeGeeHd <d,ZIeIeeJd <d-ZKeKeeLd <d.ZMeMeeNd <d/ZOeOeePd <d0ZQeQeeRd <d1ZSeSeeTd <d2ZUeUeeVd <d3ZWeWeeXd <d4ZYd5ZZeZee[d <d6Z\e\ee]d <d7Z^e^ee_d <d8Z`e`eead <d9Zbebeecd <d:Zdedeeed <d;Zfefeegd <d<Zheheeid <d=Zjejeekd <d>Zld?Zmd@Zneneeod <dAZpepeeqd <dBZrereesd <dCZteteeud <dDZveveewd <dEZxexeeyd <dFZzezee{d <dGZ|e|ee}d <dHZ~e~eed <dIZeeed <dJZeeed <dKZeeed <dLZeeed <dMZeeed <dNZeeed <dOZeeed <dPZeeed <dQZeeed <dRZeeed <y)S _UnpicklerTASCIIstrictNrencodingerrorsbuffersc | t|nd|_|j|_|j|_i|_||_||_d|_ ||_ yNr) r_buffersr_file_readliner _file_readrrrrr)r*rrrrrs r!r+z_Unpickler.__init__sW$ J*1)<W $ "mm))     &r cd t|ds#td|jjdt |j |j |_|jj|_|jj|_ |jj|_ g|_ g|_ |jj|_ d|_|j}|j} |d}|st ||d|#t"$r}|j$cYd}~Sd}~wwxYw)Nrz'Unpickler.__init__() was not called by rrr)rrrrrrr _unframerrrr metastackstackappendrrEOFErrorr%r()r*rrkeystopinsts r!rz_Unpickler.loads t\*!59^^5L5L#OP P"4??D4G4GHNN'' // //  jj''  yy== "1g"N Q &   ">> ! "s0 D D/ D*$D/*D/c|j}|jj|_|jj|_|Sr')rrrrr*rs r!pop_markz_Unpickler.pop_marks5 ^^'') jj''  r ctd)Nz%unsupported persistent id encountered)rr's r!persistent_loadz_Unpickler.persistent_loadsEFFr cx|jdd}d|cxkr tksntd|z||_y)Nrrzunsupported pickle protocol: %d)rrrr)r*rs r! load_protoz_Unpickler.load_protos9 ! QE--->FG G r rctd|jd\}|tjkDrt d|z|j j |y)Nrzframe size > sys.maxsize: %d)r rrr rrrrs r!rz_Unpickler.load_framesGT499Q<0  #;jHI I !!*-r c |jddjd}|j |j |y#t$r tdwxYw)Nrrr#)rdecodeUnicodeDecodeErrorrrrr's r! load_persidz_Unpickler.load_persidsc F--/#2&--g6C D((-." F!DF F Fs "AAcx|jj}|j|j|yr')rrrrr's r!load_binpersidz_Unpickler.load_binpersids)jjnn D((-.r c&|jdyr'rrxs r! load_nonez_Unpickler.load_none Dr c&|jdy)NFrrxs r! load_falsez_Unpickler.load_falses Er c&|jdy)NTrrxs r! load_truez_Unpickler.load_truerr c|j}|tddk(rd}n|tddk(rd}n t|d}|j |y)NrFTr)rrGrFrr)r*rvals r!load_intz_Unpickler.load_intsJ}} 59 C T!"X CdA,C Cr c^|jtd|jddy)NrLrrrr rrxs r! load_binintz_Unpickler.load_binint*" F41.q12r cJ|j|jddyr)rrrxs r! load_binint1z_Unpickler.load_binint1.s DIIaLO$r c^|jtd|jddy)NrKrrrrxs r! load_binint2z_Unpickler.load_binint22rr c~|jdd}|r |ddk(r|dd}|jt|dy)NrLr)rrr)r*rs r! load_longz_Unpickler.load_long6s?mmocr" 3r7g%cr(C CQK r c|jdd}|j|}|jt|yr)rrrrs r! load_long1z_Unpickler.load_long1=s1 IIaLOyy| K%&r ctd|jd\}|dkr td|j|}|jt |y)NrLrrz#LONG pickle has negative byte count)r rrrrrs r! load_long4z_Unpickler.load_long4CsI D$))A, ' q5!"GH Hyy| K%&r cZ|jt|jddyNr)rrrrxs r! load_floatz_Unpickler.load_floatLs  E$--/#2./0r c^|jtd|jddy)NrWrrrrxs r! load_binfloatz_Unpickler.load_binfloatPrr cp|jdk(r|S|j|j|jS)Nrd)rrrr)s r!_decode_stringz_Unpickler._decode_stringTs. ==G #L<< t{{; ;r c|jdd}t|dk\r|d|dk(r |ddvr|dd}n td|j|j t j |dy)Nrrrs"'rz)the STRING opcode argument must be quoted)rrrrrre escape_decoders r! load_stringz_Unpickler.load_string]sw}}s# t9>d1gb1d1g6G":D!"MN N D''(<(|jdf|jd<yrrrxs r! load_tuple1z_Unpickler.load_tuple1s**R.* 2r c\|jd|jdfg|jddy)NrrrDrxs r! load_tuple2z_Unpickler.load_tuple2s) JJrNDJJrN;< 23r cx|jd|jd|jdfg|jddy)NrrrDrxs r! load_tuple3z_Unpickler.load_tuple3s3 JJrNDJJrNDJJrNKL 23r c&|jgyr'rrxs r!load_empty_listz_Unpickler.load_empty_listrBr c&|jiyr'rrxs r!load_empty_dictionaryz _Unpickler.load_empty_dictionaryrBr c6|jtyr')rrrxs r!load_empty_setz_Unpickler.load_empty_sets CEr cX|j}|jt|yr')rrrrs r!load_frozensetz_Unpickler.load_frozensets  Ie$%r cF|j}|j|yr')rrrs r! load_listz_Unpickler.load_lists  Er c|j}tdt|dDcic]}||||dz}}|j|ycc}w)Nrrr)rrangerr)r*rrds r! load_dictz_Unpickler.load_dicts[ As5z1- /-1XuQqSz !-  / A /sAc |st|tr t|dr ||}n|j|}|j|y#t$r4}td|jdt ||j d}~wwxYw)N__getinitargs__zin constructor for z: ) rrrrrr __traceback__r,r)r*klassr8r(errs r! _instantiatez_Unpickler._instantiates  5$/ E, - Ot  MM%(E E  O!&S!;s r!load_objz_Unpickler.load_obj s*}}hhqk #t$r c|jj}|jj}|j|g|}|j|yr'rrr,r)r*r8r>rs r! load_newobjz_Unpickler.load_newobjsCzz~~jjnnckk#%% Cr c|jj}|jj}|jj}|j|g|i|}|j|yr'rf)r*r?r8r>rs r!load_newobj_exz_Unpickler.load_newobj_exsX!zz~~jjnnckk#/// Cr c|jddjd}|jddjd}|j||}|j|y)Nrrz)rrr`rras r! load_globalz_Unpickler.load_global sX"%,,W5}}s#**73- Er c|jj}|jj}t|tust|tur t d|j |j ||y)NzSTACK_GLOBAL requires str)rrrrrrr`)r*rrs r!load_stack_globalz_Unpickler.load_stack_global's\zz~~! :S DL$;!"=> > DOOFD12r cN|jdd}|j|yr)r get_extensionr*rs r! load_ext1z_Unpickler.load_ext1/s!yy|A 4 r c`td|jd\}|j|y)NrKrr rrorps r! load_ext2z_Unpickler.load_ext24&tTYYq\* 4 r c`td|jd\}|j|y)NrLrrsrps r! load_ext4z_Unpickler.load_ext49rur c(tj|t}|tur|j|yt j|}|s|dkr t dt d|z|j|}|t|<|j|y)NrzEXT specifies code <= 0zunregistered extension code %d)rr rrrrrr`)r*rrrs r!roz_Unpickler.get_extension>s""42 h  KK   $$T*qy%&?@@=DE Edoos#!$ Cr ctjd|||jdkr^|jrR||ftj vrtj ||f\}}n%|tj vrtj |}t|d|jdk\r ttj||dSttj||S)Nzpickle.find_classrrrr) rauditrrr NAME_MAPPINGIMPORT_MAPPINGrrrr)r*rrs r!r`z_Unpickler.find_classMs %vt4 ::>d..~!J >888'66v>6# ::? V!4d;A> >3;;v.5 5r cV|j}|j}|d}|||d<yrrr)r*rr8r7s r! load_reducez_Unpickler.load_reduce[s, yy{Ry$Kb r cX|jr|jd=y|jyr)rrrxs r!load_popz_Unpickler.load_popbs :: 2 MMOr c$|jyr')rrxs r! load_pop_markz_Unpickler.load_pop_markis  r c@|j|jdyr)rrrxs r!load_dupz_Unpickler.load_dupms DJJrN#r ct|jdd} |j|j|y#t$rd|}t |dwxYw)NrMemo value not found at index )rrrrrr)r*rmsgs r!load_getz_Unpickler.load_getqsZ  $ % 1 KK ! % 121#6C!#&D 0 1s =Ac|jdd} |j|j|y#t$r}d|}t |dd}~wwxYw)Nrrr)rrrrrr*rexcrs r! load_bingetz_Unpickler.load_bingetzsU IIaLO 1 KK ! % 121#6C!#&D 0 1s5 AAActd|jd\} |j|j|y#t$r}d|}t |dd}~wwxYw)Nrrr)r rrrrrrs r!load_long_bingetz_Unpickler.load_long_bingetsZ D$))A, ' 1 KK ! % 121#6C!#&D 0 1s> AAAct|jdd}|dkr td|jd|j|<y)Nrrznegative PUT argument)rrrrrrs r!load_putz_Unpickler.load_putsA  $ % q545 5zz"~ ! r c|jdd}|dkr td|jd|j|<y)Nrrznegative BINPUT argumentr)rrrrrs r! load_binputz_Unpickler.load_binputs; IIaLO q578 8zz"~ ! r ctd|jd\}|tkDr td|jd|j |<y)Nrrznegative LONG_BINPUT argumentr)r rr rrrrs r!load_long_binputz_Unpickler.load_long_binputs@ D$))A, ' w;<= =zz"~ ! r cR|j}|jd|t|<yr)rrr)r*rs r! load_memoizez_Unpickler.load_memoizes yy**R.SYr ch|j}|j}|d}|j|yr)rrr)r*rr(rs r! load_appendz_Unpickler.load_appends+  Ry Er c|j}|jd} |j}||y#t$rYnwxYw|j}|D] }|| yr)rrextendrr)r*rlist_objrrrs r! load_appendsz_Unpickler.load_appendssd ::b> __F 5M     D 4Ls 6 AAcp|j}|j}|j}|d}|||<yrr~)r*rr(rrs r! load_setitemz_Unpickler.load_setitems3  iikRyS r c|j}|jd}tdt|dD]}||dz|||<y)Nrrrr)rrrVr)r*rrrs r! load_setitemsz_Unpickler.load_setitemssF zz"~q#e*a(A"1q5\DqN)r c|j}|jd}t|tr|j |y|j }|D] }|| yr)rrrrupdateadd)r*rset_objrrs r! load_additemsz_Unpickler.load_additemssJ **R. gs # NN5 !++CD r c|j}|j}|d}t|dd}| ||yd}t|trt |dk(r|\}}|rV|j }tj}|jD]'\}} t|tur | |||<#| ||<)|r&|jD]\}} t||| yy)Nr __setstate__r) rrrrrr__dict__rinternrrrsetattr) r*rr9instsetstate slotstate inst_dictrrrs r! load_buildz_Unpickler.load_builds  Ry46   UO  eU #E a$ E9  IZZF 17c>+,IfQi(#$IaL & !)1a#* r c|jj|jg|_|jj|_yr')rrrrxs r! load_markz_Unpickler.load_marks0 djj) jj'' r cL|jj}t|r')rrr%r)s r! load_stopz_Unpickler.load_stops  Elr )rrrr+rrrrrrrrrr%rr$rrArrErrDrrRrrOrrMr rNr rSrrPrrQrrYrrXrrSTRINGr BINSTRINGr!r_r$rr'rr*rr,r^r/rhr3rsr7rtr9SHORT_BINSTRINGr;r]r=rr?rrArrETUPLE1rGr6rJTUPLE3rLrrNrrPrrRrrTrrXrr^rbINSTrdOBJrgr1rir/rkrrmrrqrrtrrwrror`rr0rr2rrrDUPrrrrrrrrrrrrrrrrrrrrrrrrrr5rrrrrr r!rrs,0!(D.'`"> GH $HU1X. $HU1X/&HVAY/,HYq\!HT!W&HXa[$HWQZ HSV3%HVAY%'HWQZ3'HWQZ! "HT!W'$HU1X'$HU1X1#HU1X3)HXa[<H&HVAY/,HYq\$ *HXa[E'HWQZC .HZ]C 0H[^$ ,HYq\.HZ] 0H[^0 $8H_Q  /$8H_Q  $#6H^A C%:H a !"$HU1X/H[^+%HVAY=%HVAYM%HVAY-HZ]3HZ]+HYq\&,HYq\"HT!W "HT!W 2 "HT!W%  HSV &HVAY ,HYq\ &HVAY3 !2H\!_!"HT!W!"HT!W!"HT!W  6 &HVAY  HSV)HXa[$HSV1 HSV1&HVAY1 0H[^&  HSV& &HVAY& 0H[^)(HWQZ &HVAY (HWQZ (HWQZ* *HXa[*HXa[$,$HU1X("HT!W"HT!Wr rrc@t||||j|yNr)rr)rrrrrs r!_dumprs T8,..2d3ir ctj}t||||j||j }|Sr)rvrwrrgetvalue)rrrrrress r!_dumpsrs7 A Qk,..2d3i **,C Jr rrrc>t|||||jS)Nrrrr)rr)rrrrrs r!_loadr s! d W&v 77;tv>r ct|tr tdtj|}t |||||j S)Nz%Can't load pickle from unicode stringr)rrrrvrwrr)srrrrrs r!_loadsrsD!S?@@ ::a=D d W' 88<?r c*ddl}|jSr)doctesttestmod)rs r!_testr*s ?? r rz$display contents of the pickle files) description pickle_file*zthe pickle file)nargshelpz-tz--test store_truezrun self-test suite)actionrz-vz)run verbosely; only affects self-test run-rbr')typesrcopyregrrrr itertoolsr functoolsr rr structr r rervrer__all___picklerrrrrdrk bytes_typesformat_versioncompatible_formatsrr Exceptionr rrr%rrr2rrrYrRrOrMrSrNrAr%r$r0rrrrrrr5rrrrrrrrrrrrrrrrrrrXrFrGrr1rrrrr6rrDrErPrQrr_r]rrr^rrrr/rrrrhrsrtrdirmatchrqrrrrrobjectrrrrrrrrrrrrrrrargparseArgumentParserparser add_argument parse_argsr8testr print_helppprintfnstdinbufferropenr)rs0r!rsY2"MM   : $ NN>" i   )  K   k  I        7        35D5aBHH-?$C5DE<<~6D6Dv &<A* 8B B N_ "_ "H848dD $gh> !%wx?<     z $X $ $: