Files
952-11/env/python/dll/Python312/Lib/__pycache__/copyreg.cpython-312.pyc
T

35 lines
7.3 KiB
Plaintext
Raw Normal View History

2024-08-19 17:05:14 +08:00
Ë
*åf—ãóÊ—dZgd¢ZiZdd„Zd„Zd„Zeeee«d„Zeee e
z«e«d„Z dZ ee j«Zd „Zd
„Zd „Zd „ZiZiZiZd
„Zd„Zd„Zy)z¤Helper to provide extensibility for pickle.
This is only useful to add pickle support for extension types defined in
C, not for instances of user-defined classes.
)ÚpickleÚ constructorÚ
add_extensionÚremove_extensionÚclear_extension_cacheNcó^—t|«s td«‚|t|<|� t|«yy)Nz$reduction functions must be callable)ÚcallableÚ TypeErrorÚdispatch_tabler)Úob_typeÚpickle_functionÚconstructor_obs úCC:\Users\RCi\AppData\Local\Programs\Python\Python312\Lib\copyreg.pyrr s5€Ü �OÔ $ÜÐ>Ó?Ð?Ø-„N�7ÑðÐ!Ü�NÕ#ð"ócó0—t|«s td«‚y)Nzconstructors must be callable)rr )Úobjects rrrs€Ü �FÔ ÜÐ7Ó8Ð8ð rcó>—t|j|jffS©N)ÚcomplexÚrealÚimag)Úcs rÚpickle_complexrs€Ü �Q—V‘V˜QŸV™VÐ$Ð $Ð$rcóZ—ddl}ddl}|j|j|jffS)Né)Ú functoolsÚoperatorÚreduceÚor_Ú__args__)Úobjrrs rÚ pickle_unionr!!s#€ßØ × Ñ ˜hŸl™l¨C¯L©LÐ9Ð 9Ð9rcóÆ—|turtj|«}|S|j||«}|jtjk7r|j||«|Sr)rÚ__new__Ú__init__)ÚclsÚbaseÚstater s rÚ_reconstructorr()sS€Ø Œv�~Ü�n‰n˜SÓ!ˆð
€Jð�l‰l˜3 Ó&ˆØ �=‰=œFŸO™OÒ +Ø �M‰M˜#˜uÔ %Ø €JricóÒ—|dksJ‚|j}|jD]P}t|d«r|jtzsn5|j
}t
|t«sŒA|j|usŒPnt}|turd}n%||urtd|j›d�«‚||«}|||f} |j}t|«jtjurt|dd«r td«‚|«}|r t"||fSt"|fS#t$rKt|dd«rtd|j›d|›�«d‚ |j }n#t$rd}YnwxYwYŒfwxYw)NéÚ __flags__zcannot pickle z objectÚ __slots__zNa class that defines __slots__ without defining __getstate__ cannot be pickledzf object: a class that defines __slots__ without defining __getstate__ cannot be pickled with protocol )Ú __class__Ú__mro__Úhasattrr+Ú _HEAPTYPEr#Ú
isinstanceÚ _new_typeÚ__self__rr Ú__name__Ú __getstate__ÚtypeÚgetattrÚAttributeErrorÚ__dict__r() ÚselfÚprotor%r&Únewr'ÚargsÚgetstateÚdicts rÚ
_reduce_exr@7s‡€Ø �1Š9Ј9Ø
�.‰.€CØ— ‘ òˆÜ �4˜Ô %¨d¯n©n¼yÒ.HÙ Ø�l‰lˆÜ �cœ9Õ %¨#¯,©,¸$Ò*>Ù ð ôˆØ Œv�~؉à �3‰;ܘn¨S¯\©\Ð,<¸GÐDÓEÐ EÙ�T“
ˆØ ��uÐ €DðØ×$Ñ$ˆô
�‹J× #Ñ #¤v×':Ñ':Ñ :Ü �D˜+ tÔ ,ÜðFóGð
Gá‹zˆÙ ܘt TÐ)Ð)ä˜tÐ#Ð#øô' ò Ü �4˜ dÔ +ܘn¨S¯\©\Ð,<ð=-ð.3¨Gð5ó6ð<@ð
@ð Ø—=‘=‰DøÜò ØŠDð üð ús6Â/ DÄ2E&Å EÅE&Å E ÅE&ÅE Å E&Å%E&có(—|j|g|¢­ŽSr©r#)r%r=s rÚ
__newobj__rCbs€Ø ˆ3�;‰;�sÐ "˜TÒ "Ð"rcó.—|j|g|¢­i|¤ŽS)zUsed by pickle protocol 4, instead of __newobj__ to allow classes with
keyword-only arguments to be pickled correctly.
rB)r%r=Úkwargss rÚ
__newobj_ex__rFes€ð ˆ3�;‰;�sÐ ,˜TÒ , VÑ ,Ð,rcó—|jjd«}|�|Sg}t|d«snÇ|jD]¸}d|jvsŒ|jd}t |t
«r|f}|D]€}|dvrŒ|j
d«rW|jd«sF|jjd«}|r|jd|›|›�«Œ^|j|«Œp|j|«Œ‚Œº ||_ |S#Y|SxYw)a›Return a list of slot names for a given class.
This needs to find slots defined by the class and its bases, so we
can't simply return the __slots__ attribute. We must walk down
the Method Resolution Order and concatenate the __slots__ of each
class found there. (This assumes classes don't modify their
__slots__ attribute to misrepresent their slots after the class is
defined.)
Ú
__slotnames__r,)r9Ú __weakref__Ú__Ú_) r9Úgetr/r.r1ÚstrÚ