/snap/core24/1643/usr/lib/python3.12/__pycache__
NameSizeModeActions
abc.cpython-312.pyc80550644editdlrm
aifc.cpython-312.pyc428630644editdlrm
antigravity.cpython-312.pyc10030644editdlrm
argparse.cpython-312.pyc1016820644editdlrm
ast.cpython-312.pyc1002790644editdlrm
base64.cpython-312.pyc244080644editdlrm
bdb.cpython-312.pyc373590644editdlrm
bisect.cpython-312.pyc36410644editdlrm
bz2.cpython-312.pyc151330644editdlrm
calendar.cpython-312.pyc396210644editdlrm
cgi.cpython-312.pyc402280644editdlrm
cgitb.cpython-312.pyc173320644editdlrm
chunk.cpython-312.pyc73100644editdlrm
cmd.cpython-312.pyc186190644editdlrm
code.cpython-312.pyc130510644editdlrm
codecs.cpython-312.pyc422740644editdlrm
codeop.cpython-312.pyc69160644editdlrm
colorsys.cpython-312.pyc46420644editdlrm
compileall.cpython-312.pyc204970644editdlrm
configparser.cpython-312.pyc635820644editdlrm
contextlib.cpython-312.pyc303760644editdlrm
contextvars.cpython-312.pyc2610644editdlrm
copy.cpython-312.pyc98000644editdlrm
copyreg.cpython-312.pyc74140644editdlrm
cProfile.cpython-312.pyc85930644editdlrm
crypt.cpython-312.pyc53610644editdlrm
csv.cpython-312.pyc177880644editdlrm
dataclasses.cpython-312.pyc446780644editdlrm
datetime.cpython-312.pyc4090644editdlrm
decimal.cpython-312.pyc4060644editdlrm
difflib.cpython-312.pyc754990644editdlrm
dis.cpython-312.pyc345600644editdlrm
doctest.cpython-312.pyc1056860644editdlrm
enum.cpython-312.pyc807080644editdlrm
filecmp.cpython-312.pyc146610644editdlrm
fileinput.cpython-312.pyc202800644editdlrm
fnmatch.cpython-312.pyc64950644editdlrm
fractions.cpython-312.pyc366670644editdlrm
ftplib.cpython-312.pyc426360644editdlrm
functools.cpython-312.pyc405060644editdlrm
genericpath.cpython-312.pyc68220644editdlrm
getopt.cpython-312.pyc83630644editdlrm
getpass.cpython-312.pyc68500644editdlrm
gettext.cpython-312.pyc221510644editdlrm
glob.cpython-312.pyc98410644editdlrm
graphlib.cpython-312.pyc103270644editdlrm
gzip.cpython-312.pyc320150644editdlrm
hashlib.cpython-312.pyc80870644editdlrm
heapq.cpython-312.pyc179560644editdlrm
hmac.cpython-312.pyc106980644editdlrm
imaplib.cpython-312.pyc628890644editdlrm
imghdr.cpython-312.pyc69440644editdlrm
inspect.cpython-312.pyc1334460644editdlrm
io.cpython-312.pyc41390644editdlrm
ipaddress.cpython-312.pyc907620644editdlrm
keyword.cpython-312.pyc10410644editdlrm
linecache.cpython-312.pyc64010644editdlrm
locale.cpython-312.pyc595360644editdlrm
lzma.cpython-312.pyc158550644editdlrm
mailbox.cpython-312.pyc1116180644editdlrm
mailcap.cpython-312.pyc111550644editdlrm
mimetypes.cpython-312.pyc241850644editdlrm
modulefinder.cpython-312.pyc279440644editdlrm
netrc.cpython-312.pyc89030644editdlrm
nntplib.cpython-312.pyc449390644editdlrm
ntpath.cpython-312.pyc260330644editdlrm
nturl2path.cpython-312.pyc30340644editdlrm
numbers.cpython-312.pyc139670644editdlrm
opcode.cpython-312.pyc147160644editdlrm
operator.cpython-312.pyc173640644editdlrm
optparse.cpython-312.pyc675460644editdlrm
os.cpython-312.pyc434740644editdlrm
pathlib.cpython-312.pyc620980644editdlrm
pdb.cpython-312.pyc849190644editdlrm
pickle.cpython-312.pyc761760644editdlrm
pickletools.cpython-312.pyc811280644editdlrm
pipes.cpython-312.pyc109140644editdlrm
pkgutil.cpython-312.pyc199590644editdlrm
platform.cpython-312.pyc416000644editdlrm
plistlib.cpython-312.pyc412860644editdlrm
poplib.cpython-312.pyc184460644editdlrm
posixpath.cpython-312.pyc182360644editdlrm
pprint.cpython-312.pyc294740644editdlrm
profile.cpython-312.pyc225400644editdlrm
pstats.cpython-312.pyc379220644editdlrm
pty.cpython-312.pyc73630644editdlrm
pyclbr.cpython-312.pyc148870644editdlrm
pydoc.cpython-312.pyc1429550644editdlrm
py_compile.cpython-312.pyc100780644editdlrm
queue.cpython-312.pyc147320644editdlrm
quopri.cpython-312.pyc93230644editdlrm
random.cpython-312.pyc331530644editdlrm
reprlib.cpython-312.pyc99090644editdlrm
rlcompleter.cpython-312.pyc82820644editdlrm
runpy.cpython-312.pyc143850644editdlrm
sched.cpython-312.pyc77350644editdlrm
secrets.cpython-312.pyc25560644editdlrm
selectors.cpython-312.pyc261280644editdlrm
shelve.cpython-312.pyc129130644editdlrm
shlex.cpython-312.pyc141620644editdlrm
shutil.cpython-312.pyc681130644editdlrm
signal.cpython-312.pyc44480644editdlrm
site.cpython-312.pyc290630644editdlrm
sitecustomize.cpython-312.pyc3000644editdlrm
smtplib.cpython-312.pyc482210644editdlrm
sndhdr.cpython-312.pyc107120644editdlrm
socket.cpython-312.pyc418170644editdlrm
socketserver.cpython-312.pyc342580644editdlrm
sre_compile.cpython-312.pyc6250644editdlrm
sre_constants.cpython-312.pyc6280644editdlrm
sre_parse.cpython-312.pyc6210644editdlrm
ssl.cpython-312.pyc630110644editdlrm
stat.cpython-312.pyc52310644editdlrm
statistics.cpython-312.pyc554230644editdlrm
string.cpython-312.pyc114820644editdlrm
stringprep.cpython-312.pyc251600644editdlrm
struct.cpython-312.pyc3250644editdlrm
subprocess.cpython-312.pyc791870644editdlrm
sunau.cpython-312.pyc254230644editdlrm
symtable.cpython-312.pyc187810644editdlrm
sysconfig.cpython-312.pyc300010644editdlrm
tabnanny.cpython-312.pyc121560644editdlrm
tarfile.cpython-312.pyc1233880644editdlrm
telnetlib.cpython-312.pyc284230644editdlrm
tempfile.cpython-312.pyc473390644editdlrm
textwrap.cpython-312.pyc182930644editdlrm
this.cpython-312.pyc14080644editdlrm
threading.cpython-312.pyc653460644editdlrm
timeit.cpython-312.pyc148640644editdlrm
token.cpython-312.pyc35570644editdlrm
tokenize.cpython-312.pyc247750644editdlrm
trace.cpython-312.pyc330240644editdlrm
traceback.cpython-312.pyc515230644editdlrm
tracemalloc.cpython-312.pyc269070644editdlrm
tty.cpython-312.pyc26680644editdlrm
turtle.cpython-312.pyc1846320644editdlrm
types.cpython-312.pyc149390644editdlrm
typing.cpython-312.pyc1418600644editdlrm
uu.cpython-312.pyc78160644editdlrm
uuid.cpython-312.pyc330070644editdlrm
warnings.cpython-312.pyc237920644editdlrm
wave.cpython-312.pyc320840644editdlrm
weakref.cpython-312.pyc313480644editdlrm
webbrowser.cpython-312.pyc263530644editdlrm
xdrlib.cpython-312.pyc118410644editdlrm
zipapp.cpython-312.pyc99770644editdlrm
zipimport.cpython-312.pyc244750644editdlrm
_aix_support.cpython-312.pyc47590644editdlrm
_collections_abc.cpython-312.pyc459120644editdlrm
_compat_pickle.cpython-312.pyc72210644editdlrm
_compression.cpython-312.pyc74970644editdlrm
_distutils_system_mod.cpython-312.pyc78180644editdlrm
_markupbase.cpython-312.pyc122790644editdlrm
_osx_support.cpython-312.pyc177310644editdlrm
_pydatetime.cpython-312.pyc941930644editdlrm
_pydecimal.cpython-312.pyc2278070644editdlrm
_pyio.cpython-312.pyc1102690644editdlrm
_pylong.cpython-312.pyc99830644editdlrm
_py_abc.cpython-312.pyc70540644editdlrm
_sitebuiltins.cpython-312.pyc47600644editdlrm
_strptime.cpython-312.pyc241160644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-312.pyc586510644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-312.pyc586450644editdlrm
_threading_local.cpython-312.pyc82950644editdlrm
_weakrefset.cpython-312.pyc117510644editdlrm
__future__.cpython-312.pyc47040644editdlrm
__hello__.cpython-312.pyc8700644editdlrm
Edit: /snap/core24/1643/usr/lib/python3.12/__pycache__/weakref.cpython-312.pyc (31348B)
Цi T2dZddlmZmZmZmZmZmZmZm Z ddl m Z m Z ddl Z ddlZddlZeefZgdZe j$j'e GddeZGdd e j*ZGd d eZGd d e j*ZGddZy)ztWeak reference support for Python. This module is an implementation of PEP 205: https://peps.python.org/pep-0205/ )getweakrefcount getweakrefsrefproxyCallableProxyType ProxyType ReferenceType_remove_dead_weakref)WeakSet_IterationGuardN) rrrrWeakKeyDictionaryr rr ProxyTypesWeakValueDictionaryr WeakMethodfinalizecReZdZdZdZddZfdZdZdZe jZ xZ 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__c> |j}|j}fd}t j|||}t |||_t ||_ d|_ t ||S#t$r%tdj t |dwxYw)Nz)argument should be a bound method, not {}cR}|jrd|_ |yyyNF)r)argselfcallbackself_wrs /usr/lib/python3.12/weakref.py_cbzWeakMethod.__new__.._cb5s19D{{# 'TN(T) __self____func__AttributeError TypeErrorformattyper__new__rrr)clsmethrobjfuncrrrs ` @rr'zWeakMethod.__new__.s ;--C==D #{{3S)T3t* d) ! ;G#VDJ/16: ; ;s A...Bcnt|}|j}||y|j||SN)super__call__rr)rr*r+ __class__s rr/zWeakMethod.__call__Ds9g ~~ ;$,tS))r ct|trM|jr |js||uStj||xr|j |j k(St Sr-) isinstancerrr__eq__rNotImplementedrothers rr3zWeakMethod.__eq__KsL eZ (;;ellu}$::dE*Pt~~/P Pr ct|trM|jr |js||uStj||xs|j |j k7St Sr-)r2rrr__ne__rr4r5s rr8zWeakMethod.__ne__RsM eZ (;;ell5((::dE*Odnn.O Or r-) __name__ __module__ __qualname____doc__ __slots__r'r/r3r8r__hash__ __classcell__r0s@rrr&s/ CI,*||Hr rceZdZdZddZefdZdZdZdZ dZ dZ d Z d Z e Zd Zdd ZdZdZeZdZdZdZdZddZddZdZdZdZdZy )rzMapping class that references values weakly. Entries in the dictionary will be discarded when no strong reference to the value exists anymore c t|tfd}||_g|_t |_i|_|j|fi|y)Nc|}|P|jr&|jj|jy||j|jyyr-) _iterating_pending_removalsappendkeydata)wrselfref_atomic_removalrs rremovez,WeakValueDictionary.__init__..removeisG9D??**11"&&9$DIIrvv6  r )rr _removerEsetrDrHupdate)rr6kwrLs r__init__zWeakValueDictionary.__init__hsE"4y:N 7 !#%  E R r c|jj}|j} |}|||#t$rYywxYwr-)rEpoprH IndexError)rrKrSdrGs r_commit_removalsz$WeakValueDictionary._commit_removalsysR$$(( II e As #   s6 AAc|jr|j|j|}| t||Sr-rErVrHKeyErrorrrGos r __getitem__zWeakValueDictionary.__getitem__s=  ! !  ! ! # DIIcN  93- Hr cV|jr|j|j|=yr-)rErVrHrrGs r __delitem__zWeakValueDictionary.__delitem__s"  ! !  ! ! # IIcNr cd|jr|jt|jSr-)rErVlenrHrs r__len__zWeakValueDictionary.__len__s%  ! !  ! ! #499~r c|jr|j |j|}|duS#t$rYywxYwrrXrZs r __contains__z WeakValueDictionary.__contains__sN  ! !  ! ! #  # A}  s6 AAcJd|jjt|fzSNz <%s at %#x>r0r9idrbs r__repr__zWeakValueDictionary.__repr__  7 7DBBBr c|jr|jt||j||j|<yr-)rErVKeyedRefrMrHrrGvalues r __setitem__zWeakValueDictionary.__setitem__s1  ! !  ! ! #!%s; #r c|jr|jt}t|5|jj D]\}}|}||||< ddd|S#1swY|SxYwr-)rErVrr rHitems)rnewrGrIr[s rcopyzWeakValueDictionary.copysx  ! !  ! ! #!# T " !99??, !RD= CH ! !   !  s*A/A//A9cddlm}|jr|j|j }t |5|j jD]\}}|}||||||< ddd|S#1swY|SxYwNr)deepcopy)rtrwrErVr0r rHrr)rmemorwrsrGrIr[s r __deepcopy__z WeakValueDictionary.__deepcopy__s!  ! !  ! ! #nn T " 199??, 1RD=/0Cd+, 1 1   1  s*B)BB Nc|jr|j |j|}|}||S|S#t$r|cYSwxYwr-rX)rrGdefaultrIr[s rgetzWeakValueDictionary.getsW  ! !  ! ! # 3BAy N s: AAc#K|jr|jt|5|jj D]\}}|}|||f dddy#1swYyxYwwr-rErVr rHrr)rkrIvs rrrzWeakValueDictionary.itemssj  ! !  ! ! # T " * 2D=Q$J    s"(A3*A'A' A3'A0,A3c#K|jr|jt|5|jj D]\}}|| dddy#1swYyxYwwr-r~)rrrIs rkeyszWeakValueDictionary.keyssb  ! !  ! ! # T " * 24#G    s"(A/(A#A# A/#A,(A/c#K|jr|jt|5|jj Ed{dddy7 #1swYyxYww)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. NrErVr rHvaluesrbs r itervaluerefsz!WeakValueDictionary.itervaluerefssX  ! !  ! ! # T " *yy'') ) ) * * ) * *s.(A$AA A A$AA!A$c#K|jr|jt|5|jj D]}|}| | dddy#1swYyxYwwr-rrrIr*s rrzWeakValueDictionary.valuessd  ! !  ! ! # T " ii&&( d?I    s"(A.'A"A" A."A+'A.c|jr|j |jj\}}|}|||fS+r-)rErVrHpopitem)rrGrIr[s rrzWeakValueDictionary.popitemsJ  ! !  ! ! #ii'')GCA}Av r c|jr|j |jj|}||r|dSt ||S#t$rd}Y#wxYw)Nr)rErVrHrSrY)rrGargsr[s rrSzWeakValueDictionary.popsk  ! !  ! ! # " c"$A 9Awsm#H A s A A"!A"c |j|}|B|jr|jt ||j ||j|<|S|S#t$rd}YSwxYwr-)rHrYrErVrmrM)rrGr{r[s r setdefaultzWeakValueDictionary.setdefaultso  # A 9%%%%'%gt||SADIIcNNH A sA A*)A*c N|jr|j|j}|It|ds t |}|j D]\}}t ||j|||<!|j D]\}}t ||j|||<!yNrr)rErVrHhasattrdictrrrmrM)rr6kwargsrUrGr[s rrOzWeakValueDictionary.update!s  ! !  ! ! # II  5'*U ++- 8Q!!T\\37# 8lln 4FCas3AcF 4r c|jr|jt|jj S)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. )rErVlistrHrrbs r valuerefszWeakValueDictionary.valuerefs-s1  ! !  ! ! #DII$$&''r c(|j||Sr-rOr5s r__ior__zWeakValueDictionary.__ior__; E r ct|tjr#|j}|j ||St Sr-r2_collections_abcMappingrtrOr4rr6cs r__or__zWeakValueDictionary.__or__?4 e-55 6 A HHUOHr ct|tjr4|j}|j ||j ||St Sr-r2rrr0rOr4rs r__ror__zWeakValueDictionary.__ror__F@ e-55 6 A HHUO HHTNHr )r-)r9r:r;r<rQr rVr\r_rcrerjrprt__copy__ryr|rrr__iter__rrrrSrrOrrrrrr rrr\s!"0D $  C< H  H *   4 (r rc,eZdZdZdZdZfdZxZS)rma[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. rGcBtj|||}||_|Sr-)rr'rG)r&obrrGrs rr'zKeyedRef.__new__[s {{4X. r c&t|||yr-)r.rQ)rrrrGr0s rrQzKeyedRef.__init__`s X&r )r9r:r;r<r=r'rQr?r@s@rrmrmOsI ''r rmceZdZdZddZdZdZdZdZdZ d Z d Z d Z e Z d Zdd ZdZdZdZeZdZdZdZdZddZddZdZdZdZy)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. Nci|_t|fd}||_g|_t |_d|_||j|yy)Nc|}|7|jr|jj|y |j|=yy#t$rYywxYwr-)rDrErFrHrY)rrJrs rrLz*WeakKeyDictionary.__init__..removeqsS9D??**11!4 IIaL  $s A A AF)rHrrMrErNrD _dirty_lenrO)rrrLs rrQzWeakKeyDictionary.__init__osM !$i  !#%   KK  r c|jj}|j} |} ||= #t$rYywxYw#t$rYwxYwr-)rErSrHrTrY)rrSrUrGs rrVz"WeakKeyDictionary._commit_removalsse $$(( II e cF     s1A == A  A c||j}|jDcgc] }||vs| c}|_d|_ycc}wr)rHrEr)rrUrs r_scrub_removalsz!WeakKeyDictionary._scrub_removalss7 II-1-C-C!NqAv!!N"Os 99c>d|_|jt|=yNT)rrHrr^s rr_zWeakKeyDictionary.__delitem__s IIc#h r c2|jt|Sr-)rHrr^s rr\zWeakKeyDictionary.__getitem__syyS""r c|jr|jr|jt|jt|jz Sr-)rrErrarHrbs rrczWeakKeyDictionary.__len__s= ??t55  "499~D$:$: ;;;r cJd|jjt|fzSrgrhrbs rrjzWeakKeyDictionary.__repr__rkr cJ||jt||j<yr-)rHrrMrns rrpzWeakKeyDictionary.__setitem__s,1 #c4<<()r ct}t|5|jjD]\}}|}||||< ddd|S#1swY|SxYwr-)r r rHrr)rrsrGror[s rrtzWeakKeyDictionary.copysc! T " #"iioo/ # UE="CF # #   #  s*AAAcddlm}|j}t|5|jj D]\}}|}||||||< ddd|S#1swY|SxYwrv)rtrwr0r rHrr)rrxrwrsrGror[s rryzWeakKeyDictionary.__deepcopy__sq!nn T " 3"iioo/ 3 UE=%eT2CF 3 3   3  s*A& A&&A0cL|jjt||Sr-)rHr|rrrGr{s rr|zWeakKeyDictionary.getsyy}}SXg..r cT t|}||jvS#t$rYywxYwr)rr$rH)rrGrIs rrezWeakKeyDictionary.__contains__s4 SBTYY  s  ''c#Kt|5|jjD]\}}|}|||f dddy#1swYyxYwwr-r rHrr)rrIrorGs rrrzWeakKeyDictionary.itemssV T " %!YY__. % Ed?u*$ % % % %s! A*A A  A AAc#Kt|5|jD]}|}| | dddy#1swYyxYwwr-)r rHrs rrzWeakKeyDictionary.keyssF T " ii d?I    s A88 AAAc#Kt|5|jjD]\}}|| dddy#1swYyxYwwr-r)rrIros rrzWeakKeyDictionary.valuessM T " !YY__. E4#K    s A(AA AA Ac,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. )rrHrbs rkeyrefszWeakKeyDictionary.keyrefssDIIr chd|_ |jj\}}|}|||fS+r)rrHr)rrGror[s rrzWeakKeyDictionary.popitems<**,JCA}%x r c\d|_|jjt|g|Sr)rrHrSr)rrGrs rrSzWeakKeyDictionary.pops'tyy}}SX---r cb|jjt||j|Sr-)rHrrrMrs rrzWeakKeyDictionary.setdefaults$yy##CT\\$:7CCr c |j}|Nt|dsti|}|jD]\}}||t ||j < t |r|j|yyr)rHrr&rrrrMrarO)rrrrUrGros rrOzWeakKeyDictionary.updatesp II  4)tBx~"jjl 2 U,1#c4<<() 2 v; KK  r c(|j||Sr-rr5s rrzWeakKeyDictionary.__ior__rr ct|tjr#|j}|j ||St Sr-rrs rrzWeakKeyDictionary.__or__ rr ct|tjr4|j}|j ||j ||St Sr-rrs rrzWeakKeyDictionary.__ror__rr r-)r9r:r;r<rQrVrr_r\rcrjrprtrryr|rerrrrrrrrSrrOrrrrr rr r ds($  #<C2H/%H  .D r r ceZdZdZdZiZdZejZ dZ dZ GddZ dZ ddZd Zd Zed Zed Zej(d ZdZedZedZy)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. rFceZdZdZy)finalize._Info)weakrefr+rratexitindexN)r9r:r;r=rr r_Infor5sL r rcZ|js*ddl}|j|jdt_|j }t |||_||_||_ |xsd|_ d|_t|j|_ ||j|<dt_y)NrT)_registered_with_atexitrregister _exitfuncrrrrr+rrnext _index_iterr _registry_dirty)rr*r+rrrinfos rrQzfinalize.__init__8s++  OODNN +/3H ,zz|3~   n  $**+ #tr Nc|jj|d}|r7|js*|j|ji|j xsiSyy)zZIf alive then mark as dead and return func(*args, **kwargs); otherwise return NoneN)rrS _shutdownr+rr)r_rs rr/zfinalize.__call__IsM~~!!$- 499dii?DKK,=2? ?'4r c|jj|}|xr|j}|E|jj|dr(||j|j |j xsifSyy)z^If alive then mark as dead and return (obj, func, args, kwargs); otherwise return NoneN)rr|rrSr+rrrrr*s rdetachzfinalize.detachPsg~~!!$'%t||~ ?t~~11$=DIIt{{/@bA A >?r c|jj|}|xr|j}|(||j|j|j xsifSy)zMIf alive then return (obj, func, args, kwargs); otherwise return NoneN)rr|rr+rrrs rpeekz finalize.peekXsR~~!!$'%t||~ ?DIIt{{/@bA A r c||jvS)zWhether finalizer is alive)rrbs ralivezfinalize.alive`st~~%%r cj|jj|}t|xr |jS)z*Whether finalizer should be called at exitrr|boolr)rrs rrzfinalize.atexites+~~!!$'Dz)dkk)r c`|jj|}|rt||_yyr-r)rrors rrzfinalize.atexitks)~~!!$' u+DK r c,|jj|}|xr|j}|#dt|jt |fzSdt|jt |t|jt |fzS)Nz<%s object at %#x; dead>z!<%s object at %#x; for %r at %#x>)rr|rr&r9rirs rrjzfinalize.__repr__qs~~!!$'%t||~ ;-d1D1Dbh0OO O6d$$bhS 0B0BBsGLM Mr c|jjDcgc]\}}|js||f}}}|jd|Dcgc]\}}| c}}Scc}}wcc}}w)Nc |djS)N)r)items rz+finalize._select_for_exit..~stAw}}r r)rrrrsort)r(fiLs r_select_for_exitzfinalize._select_for_exitzs_!$ 3 3 5 Bu!aU B B ,- !eq!! C!sA$A$ A*cd} |jrddl}|jrd}|jd} |tj r|j }dt_|sn)|j} |||jvsJYdt_ |rjyy#t$r'tjtjY_wxYw#dt_ |rjwwxYw)NFrT)rgc isenableddisablerrrrS Exceptionsys excepthookexc_inforenable)r( reenable_gcrpendingrs rrzfinalize._exitfuncs   }}<<>"&KJJL(//"%"6"6"8*/" A8 CMM111$"&H   %8 78 "&H  s0A5C$:B1C$1-C!C$ C!!C$$ Dr-)r9r:r;r<r=rr itertoolscountrrrrrQr/rrpropertyrrsetterrj classmethodrrrr rrrs "III!)//#K F#MM"@BB&&**  ]]&& M""   r r)r<_weakrefrrrrrrr r _weakrefsetr r rrrr__all__ MutableSetrrMutableMappingrrmr rrr rr s1 * +  0 $$W-33lp*99pf's'*u(77upFFr