ROOTPLOIT
Server: LiteSpeed
System: Linux server71.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User: niphet (1079)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: //lib64/python3.8/__pycache__/copyreg.cpython-38.opt-1.pyc
U

e5d@sdZdddddgZiZdddZddZzeWnek
rDYnXd	d
ZeeeeddZd
Z	ddZ
ddZddZddZ
iZiZiZddZddZddZdS)zHelper 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.
pickleconstructor
add_extensionremove_extensionclear_extension_cacheNcCs,t|std|t|<|dk	r(t|dS)Nz$reduction functions must be callable)callable	TypeErrordispatch_tabler)ob_typepickle_functionconstructor_obr/usr/lib64/python3.8/copyreg.pyrs
cCst|stddS)Nzconstructors must be callable)rr)objectrrr
rscCst|j|jffSN)complexrealimag)crrr
pickle_complex"srcCs<|tkrt|}n$|||}|jtjkr8||||Sr)r__new____init__)clsbasestateobjrrr
_reconstructor)sricCs|j}|jD]}t|dr|jt@sq.qt}|tkr<d}n"||krVtd|jd||}|||f}z
|j}Wn\t	k
rt
|ddrtd|jd|dz
|j}Wnt	k
rd}YnXYnX|}|rt||fSt|fSdS)N	__flags__zcannot pickle z object	__slots__zf object: a class that defines __slots__ without defining __getstate__ cannot be pickled with protocol )
	__class____mro__hasattrr	_HEAPTYPErr__name____getstate__AttributeErrorgetattr__dict__r)selfprotorrrargsgetstatedictrrr

_reduce_ex6s4




r,cGs|j|f|Srr)rr)rrr

__newobj__Zsr.cCs|j|f||S)zUsed by pickle protocol 4, instead of __newobj__ to allow classes with
    keyword-only arguments to be pickled correctly.
    r-)rr)kwargsrrr

__newobj_ex__]sr0cCs|jd}|dk	r|Sg}t|ds(n|jD]}d|jkr.|jd}t|trV|f}|D]^}|dkrjqZqZ|dr|ds|j	d}|r|
d||fq|
|qZ|
|qZq.z
||_WnYnX|S)aReturn 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__Nr)r&__weakref_____z_%s%s)r&getr r
isinstancestr
startswithendswithr"lstripappendr1)rnamesrslotsnamestrippedrrr

_slotnamescs2





r@cCst|}d|krdks&ntd||f}t||krNt||krNdS|tkrjtd|t|f|tkrtd|t|f|t|<|t|<dS)zRegister an extension code.izcode out of rangeNz)key %s is already registered with code %sz$code %s is already in use for key %s)int
ValueError_extension_registryr5_inverted_registrymoduler>codekeyrrr
rs$

cCsR||f}t||ks$t||kr4td||ft|=t|=|tkrNt|=dS)z0Unregister an extension code.  For testing only.z%key %s is not registered with code %sN)rDr5rErC_extension_cacherFrrr
rscCstdSr)rJclearrrrr
rs)N)__doc____all__rrrr	NameErrorrrr!r,r.r0r@rDrErJrrrrrrr
<module>s4

	$<