Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): Failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 107

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 234

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 235

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 236

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 237

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 238

Warning: Cannot modify header information - headers already sent by (output started at /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php:1) in /home/zoomride2022/public_html/myzoomride.com/wp-includes/certificates/system.php on line 239
U i_S @sdZddlmZmZmZmZmZmZmZm Z ddl m Z m Z ddl Z ddlZddlZeefZddddd d d d d ddddg ZGdddeZGddde jZGdddeZGdd d e jZGdddZdS)z{Weak reference support for Python. This module is an implementation of PEP 205: http://www.python.org/dev/peps/pep-0205/ )getweakrefcount getweakrefsrefproxyCallableProxyType ProxyType ReferenceType_remove_dead_weakref)WeakSet_IterationGuardNrrrrWeakKeyDictionaryrrr ProxyTypesWeakValueDictionaryr WeakMethodfinalizecsDeZdZdZdZd ddZfddZdd Zd d Ze j Z Z S) rz A custom `weakref.ref` subclass which simulates a weak reference to a bound method, working around the lifetime problem of bound methods. ) _func_ref _meth_type_alive __weakref__Ncs~z|j}|j}Wn(tk r8tdt|dYnXfdd}t|||}t|||_t||_ d|_ t||S)Nz)argument should be a bound method, not {}cs&}|jr"d|_dk r"|dSNF)r)argselfcallbackself_wr&/opt/python38/lib/python3.8/weakref.py_cb3s zWeakMethod.__new__.._cbT) __self____func__AttributeError TypeErrorformattyper__new__rrr)clsmethrobjfuncrrrrrr$,s    zWeakMethod.__new__cs2t}|}|dks"|dkr&dS|||SN)super__call__rr)rr'r( __class__rrr+Bs  zWeakMethod.__call__cCs:t|tr6|jr|js||kSt||o4|j|jkSdSr) isinstancerrr__eq__rrotherrrrr/Is   zWeakMethod.__eq__cCs:t|tr6|jr|js||k St||p4|j|jkSdSNT)r.rrr__ne__rr0rrrr3Ps   zWeakMethod.__ne__)N) __name__ __module__ __qualname____doc__ __slots__r$r+r/r3r__hash__ __classcell__rrr,rr$s  c@seZdZdZd,ddZddZddZd d Zd d Zd dZ ddZ ddZ ddZ e Z ddZd-ddZddZddZeZddZd d!Zd"d#Zd$d%Zd.d&d'Zd/d(d)Zd*d+ZdS)0rzMapping class that references values weakly. Entries in the dictionary will be discarded when no strong reference to the value exists anymore rcKs>t|tfdd}||_g|_t|_i|_|j|f|dS)NcSs6|}|dk r2|jr$|j|jn||j|jdSr)) _iterating_pending_removalsappendkeydata)wrselfref_atomic_removalrrrrremovegs z,WeakValueDictionary.__init__..remove)rr _remover<setr;r?update)rr1kwrCrrr__init__fs  zWeakValueDictionary.__init__cCs(|j}|j}|r$|}t||q dSr))r<r?popr )rldr>rrr_commit_removalsws z$WeakValueDictionary._commit_removalscCs4|jr||j|}|dkr,t|n|SdSr)r<rLr?KeyErrorrr>orrr __getitem__s   zWeakValueDictionary.__getitem__cCs|jr||j|=dSr))r<rLr?rr>rrr __delitem__szWeakValueDictionary.__delitem__cCs|jr|t|jSr))r<rLlenr?rrrr__len__szWeakValueDictionary.__len__cCs>|jr|z|j|}Wntk r4YdSX|dk SrrMrOrrr __contains__sz WeakValueDictionary.__contains__cCsd|jjt|fSNz <%s at %#x>r-r4idrUrrr__repr__szWeakValueDictionary.__repr__cCs&|jr|t||j||j|<dSr))r<rLKeyedRefrDr?rr>valuerrr __setitem__szWeakValueDictionary.__setitem__c CsV|jr|t}t|0|jD]\}}|}|dk r(|||<q(W5QRX|Sr))r<rLrr r?items)rnewr>r@rPrrrcopys zWeakValueDictionary.copyc Csjddlm}|jr||}t|6|jD]$\}}|}|dk r6|||||<q6W5QRX|SNr)deepcopy)rbrdr<rLr-r r?r`)rmemordrar>r@rPrrr __deepcopy__s  z WeakValueDictionary.__deepcopy__NcCsP|jr|z|j|}Wntk r4|YSX|}|dkrH|S|SdSr)rM)rr>defaultr@rPrrrgets zWeakValueDictionary.getc csR|jr|t|2|jD] \}}|}|dk r"||fVq"W5QRXdSr)r<rLr r?r`)rkr@vrrrr`s zWeakValueDictionary.itemsc csJ|jr|t|*|jD]\}}|dk r"|Vq"W5QRXdSr)ri)rrjr@rrrkeyss   zWeakValueDictionary.keysc cs6|jr|t||jEdHW5QRXdS)aReturn an iterator that yields the weak references to the values. The references are not guaranteed to be 'live' at the time they are used, so the result of calling the references needs to be checked before being used. This can be used to avoid creating references that will cause the garbage collector to keep the values around longer than needed. Nr<rLr r?valuesrUrrr itervaluerefss  z!WeakValueDictionary.itervaluerefsc csJ|jr|t|*|jD]}|}|dk r"|Vq"W5QRXdSr)rmrr@r'rrrrns zWeakValueDictionary.valuescCs8|jr||j\}}|}|dk r||fSqdSr))r<rLr?popitem)rr>r@rPrrrrqs zWeakValueDictionary.popitemcGs`|jr|z|j|}Wntk r8d}YnX|dkrX|rN|dSt|n|SdS)Nr)r<rLr?rIrN)rr>argsrPrrrrIs  zWeakValueDictionary.popcCs`z|j|}Wntk r(d}YnX|dkrX|jr@|t||j||j|<|S|SdSr))r?rNr<rLr\rD)rr>rgrPrrr setdefaults zWeakValueDictionary.setdefaultcKsz|jr||j}|dk rRt|ds.t|}|D]\}}t||j|||<q6|D]\}}t||j|||<qZdSNr`)r<rLr?hasattrdictr`r\rD)rr1kwargsrKr>rPrrrrFs zWeakValueDictionary.updatecCs|jr|t|jS)a~Return a list of weak references to the values. The references are not guaranteed to be 'live' at the time they are used, so the result of calling the references needs to be checked before being used. This can be used to avoid creating references that will cause the garbage collector to keep the values around longer than needed. )r<rLlistr?rnrUrrr valuerefs(s zWeakValueDictionary.valuerefs)r)N)N)N)r4r5r6r7rHrLrQrSrVrWr[r_rb__copy__rfrhr`rl__iter__rornrqrIrsrFryrrrrrZs.          cs,eZdZdZdZddZfddZZS)r\a[Specialized reference that includes a key corresponding to the value. This is used in the WeakValueDictionary to avoid having to create a function object for each key stored in the mapping. A shared callback object can use the 'key' attribute of a KeyedRef instead of getting a reference to the key from an enclosing scope. r>cCst|||}||_|Sr))rr$r>)r#obrr>rrrrr$CszKeyedRef.__new__cst||dSr))r*rH)rr}rr>r,rrrHHszKeyedRef.__init__)r4r5r6r7r8r$rHr:rrr,rr\7s r\c@seZdZdZd+ddZddZddZd d Zd d Zd dZ ddZ ddZ ddZ e Z ddZd,ddZddZddZddZeZdd Zd!d"Zd#d$Zd%d&Zd-d'd(Zd.d)d*ZdS)/r a Mapping class that references keys weakly. Entries in the dictionary will be discarded when there is no longer a strong reference to the key. This can be used to associate additional data with an object owned by other parts of an application without adding attributes to those objects. This can be especially useful with objects that override attribute accesses. NcCsFi|_t|fdd}||_g|_t|_d|_|dk rB||dS)NcSs.|}|dk r*|jr"|j|n|j|=dSr))r;r<r=r?)rjrArrrrrCYs z*WeakKeyDictionary.__init__..removeF)r?rrDr<rEr; _dirty_lenrF)rrvrCrrrrHWszWeakKeyDictionary.__init__cCs:|j}|j}|r6z||=Wq tk r2Yq Xq dSr))r<r?rIrN)rrJrKrrrrLhsz"WeakKeyDictionary._commit_removalscs&|jfdd|jD|_d|_dS)Ncsg|]}|kr|qSrr).0rjrKrr wsz5WeakKeyDictionary._scrub_removals..F)r?r<r~rUrrr_scrub_removalsusz!WeakKeyDictionary._scrub_removalscCsd|_|jt|=dSr2)r~r?rrRrrrrSzszWeakKeyDictionary.__delitem__cCs|jt|Sr))r?rrRrrrrQ~szWeakKeyDictionary.__getitem__cCs(|jr|jr|t|jt|jSr))r~r<rrTr?rUrrrrVs zWeakKeyDictionary.__len__cCsd|jjt|fSrXrYrUrrrr[szWeakKeyDictionary.__repr__cCs||jt||j<dSr))r?rrDr]rrrr_szWeakKeyDictionary.__setitem__c CsHt}t|0|jD]\}}|}|dk r|||<qW5QRX|Sr))r r r?r`)rrar>r^rPrrrrbs zWeakKeyDictionary.copyc Cs\ddlm}|}t|6|jD]$\}}|}|dk r(|||||<q(W5QRX|Src)rbrdr-r r?r`)rrerdrar>r^rPrrrrfs  zWeakKeyDictionary.__deepcopy__cCs|jt||Sr))r?rhrrr>rgrrrrhszWeakKeyDictionary.getcCs.z t|}Wntk r"YdSX||jkSr)rr!r?)rr>r@rrrrWs  zWeakKeyDictionary.__contains__c csDt|2|jD] \}}|}|dk r||fVqW5QRXdSr)r r?r`)rr@r^r>rrrr`s  zWeakKeyDictionary.itemsc cs8t|&|jD]}|}|dk r|VqW5QRXdSr))r r?rprrrrls   zWeakKeyDictionary.keysc cs<t|*|jD]\}}|dk r|VqW5QRXdSr)r)rr@r^rrrrns  zWeakKeyDictionary.valuescCs t|jS)azReturn a list of weak references to the keys. The references are not guaranteed to be 'live' at the time they are used, so the result of calling the references needs to be checked before being used. This can be used to avoid creating references that will cause the garbage collector to keep the keys around longer than needed. )rxr?rUrrrkeyrefss zWeakKeyDictionary.keyrefscCs0d|_|j\}}|}|dk r||fSqdSr2)r~r?rq)rr>r^rPrrrrqs zWeakKeyDictionary.popitemcGsd|_|jjt|f|Sr2)r~r?rIr)rr>rrrrrrIszWeakKeyDictionary.popcCs|jt||j|Sr))r?rsrrDrrrrrsszWeakKeyDictionary.setdefaultcKs\|j}|dk rFt|ds$ti|}|D]\}}||t||j<q,t|rX||dSrt)r?rur#r`rrDrTrF)rrvrwrKr>r^rrrrFs  zWeakKeyDictionary.update)N)N)N)N)r4r5r6r7rHrLrrSrQrVr[r_rbrzrfrhrWr`rlr{rnrrqrIrsrFrrrrr Ls.      c@seZdZdZdZiZdZeZ dZ dZ GdddZ ddZ de _dd d Zd d ZddZeddZeddZejddZddZeddZeddZd S)raClass for finalization of weakrefable objects finalize(obj, func, *args, **kwargs) returns a callable finalizer object which will be called when obj is garbage collected. The first time the finalizer is called it evaluates func(*arg, **kwargs) and returns the result. After this the finalizer is dead, and calling it just returns None. When the program exits any remaining finalizers for which the atexit attribute is true will be run in reverse order of creation. By default atexit is true. rFc@seZdZdZdS)zfinalize._Info)weakrefr(rrrwatexitindexN)r4r5r6r8rrrr_InfosrcOs>t|dkr|^}}}}n|s(tdnd|krDtdt|d|d}t|dkr~|^}}}ddl}|jdtdd nFd |krtdt|d|d }|^}}ddl}|jd tdd t|}|jsddl}| |j d t _| }t |||_||_||_|pd|_d |_t|j|_||j|<d t _dS) Nzz!<%s object at %#x; for %r at %#x>)rrhrr#r4rZrrrrr[Ys  zfinalize.__repr__cCs2dd|jD}|jddddd|DS)NcSsg|]\}}|jr||fqSr)rrfirrrresz-finalize._select_for_exit..cSs |djS)Nr)r)itemrrrfz+finalize._select_for_exit..r|cSsg|] \}}|qSrrrrrrrgs)rr`sort)r%Lrrr_select_for_exitbszfinalize._select_for_exitcCsd}z|jrddl}|r(d}|d}|dks:tjrH|}dt_|sNq| }z |Wn"t k rt j t YnX||jks,tq,W5dt_|r|XdS)NFTr)rrenablergc isenableddisablerrrI Exceptionsys excepthookexc_infoAssertionError)r% reenable_gcrpendingrrrrris, zfinalize._exitfunc)N)r4r5r6r7r8rr itertoolscountrrrrrH__text_signature__r+rrpropertyrrsetterr[ classmethodrrrrrrrs0*      )r7_weakrefrrrrrrrr _weakrefsetr r _collections_abcrrr __all__rMutableMappingrr\r rrrrrs0 ( 6^