/snap/core20/2866/usr/lib/python3.8/__pycache__
NameSizeModeActions
abc.cpython-38.pyc53340644editdlrm
aifc.cpython-38.pyc254740644editdlrm
antigravity.cpython-38.pyc7970644editdlrm
argparse.cpython-38.pyc625910644editdlrm
ast.cpython-38.pyc167630644editdlrm
asynchat.cpython-38.pyc68510644editdlrm
asyncore.cpython-38.pyc160280644editdlrm
base64.cpython-38.pyc170710644editdlrm
bdb.cpython-38.pyc249210644editdlrm
binhex.cpython-38.pyc121340644editdlrm
bisect.cpython-38.pyc23540644editdlrm
bz2.cpython-38.pyc114450644editdlrm
calendar.cpython-38.pyc270640644editdlrm
cgi.cpython-38.pyc265440644editdlrm
cgitb.cpython-38.pyc101500644editdlrm
chunk.cpython-38.pyc48390644editdlrm
cmd.cpython-38.pyc126260644editdlrm
code.cpython-38.pyc99130644editdlrm
codecs.cpython-38.pyc339560644editdlrm
codeop.cpython-38.pyc64170644editdlrm
colorsys.cpython-38.pyc32400644editdlrm
compileall.cpython-38.pyc94100644editdlrm
configparser.cpython-38.pyc457180644editdlrm
contextlib.cpython-38.pyc202290644editdlrm
contextvars.cpython-38.pyc2430644editdlrm
copy.cpython-38.pyc69870644editdlrm
copyreg.cpython-38.pyc43180644editdlrm
cProfile.cpython-38.pyc54800644editdlrm
crypt.cpython-38.pyc33870644editdlrm
csv.cpython-38.pyc119100644editdlrm
dataclasses.cpython-38.pyc236530644editdlrm
datetime.cpython-38.pyc571730644editdlrm
decimal.cpython-38.pyc3590644editdlrm
difflib.cpython-38.pyc594380644editdlrm
dis.cpython-38.pyc158080644editdlrm
doctest.cpython-38.pyc759740644editdlrm
dummy_threading.cpython-38.pyc11100644editdlrm
enum.cpython-38.pyc259620644editdlrm
filecmp.cpython-38.pyc84270644editdlrm
fileinput.cpython-38.pyc133730644editdlrm
fnmatch.cpython-38.pyc33550644editdlrm
formatter.cpython-38.pyc175450644editdlrm
fractions.cpython-38.pyc187390644editdlrm
ftplib.cpython-38.pyc280070644editdlrm
functools.cpython-38.pyc279010644editdlrm
genericpath.cpython-38.pyc40010644editdlrm
getopt.cpython-38.pyc62710644editdlrm
getpass.cpython-38.pyc41780644editdlrm
gettext.cpython-38.pyc180000644editdlrm
glob.cpython-38.pyc43430644editdlrm
gzip.cpython-38.pyc181840644editdlrm
hashlib.cpython-38.pyc67270644editdlrm
heapq.cpython-38.pyc140700644editdlrm
hmac.cpython-38.pyc63880644editdlrm
imaplib.cpython-38.pyc413420644editdlrm
imghdr.cpython-38.pyc41180644editdlrm
imp.cpython-38.pyc98090644editdlrm
inspect.cpython-38.pyc805930644editdlrm
io.cpython-38.pyc34540644editdlrm
ipaddress.cpython-38.pyc628290644editdlrm
keyword.cpython-38.pyc9980644editdlrm
linecache.cpython-38.pyc38670644editdlrm
locale.cpython-38.pyc346740644editdlrm
lzma.cpython-38.pyc120180644editdlrm
mailbox.cpython-38.pyc602640644editdlrm
mailcap.cpython-38.pyc72060644editdlrm
mimetypes.cpython-38.pyc160310644editdlrm
modulefinder.cpython-38.pyc161150644editdlrm
netrc.cpython-38.pyc37770644editdlrm
nntplib.cpython-38.pyc339740644editdlrm
ntpath.cpython-38.pyc140910644editdlrm
nturl2path.cpython-38.pyc17440644editdlrm
numbers.cpython-38.pyc122020644editdlrm
opcode.cpython-38.pyc54200644editdlrm
operator.cpython-38.pyc136910644editdlrm
optparse.cpython-38.pyc480570644editdlrm
os.cpython-38.pyc313970644editdlrm
pathlib.cpython-38.pyc442090644editdlrm
pdb.cpython-38.pyc472260644editdlrm
pickle.cpython-38.pyc469080644editdlrm
pickletools.cpython-38.pyc672040644editdlrm
pipes.cpython-38.pyc77950644editdlrm
pkgutil.cpython-38.pyc163090644editdlrm
platform.cpython-38.pyc243260644editdlrm
plistlib.cpython-38.pyc273740644editdlrm
poplib.cpython-38.pyc134590644editdlrm
posixpath.cpython-38.pyc104610644editdlrm
pprint.cpython-38.pyc162810644editdlrm
profile.cpython-38.pyc147580644editdlrm
pstats.cpython-38.pyc220660644editdlrm
pty.cpython-38.pyc39550644editdlrm
pyclbr.cpython-38.pyc104510644editdlrm
pydoc.cpython-38.pyc836460644editdlrm
py_compile.cpython-38.pyc73520644editdlrm
queue.cpython-38.pyc106260644editdlrm
quopri.cpython-38.pyc57480644editdlrm
random.cpython-38.pyc201080644editdlrm
re.cpython-38.pyc144220644editdlrm
reprlib.cpython-38.pyc53030644editdlrm
rlcompleter.cpython-38.pyc57550644editdlrm
runpy.cpython-38.pyc81810644editdlrm
sched.cpython-38.pyc65320644editdlrm
secrets.cpython-38.pyc21900644editdlrm
selectors.cpython-38.pyc169350644editdlrm
shelve.cpython-38.pyc94900644editdlrm
shlex.cpython-38.pyc75360644editdlrm
shutil.cpython-38.pyc372190644editdlrm
signal.cpython-38.pyc28430644editdlrm
site.cpython-38.pyc171680644editdlrm
sitecustomize.cpython-38.pyc2200644editdlrm
smtpd.cpython-38.pyc264630644editdlrm
smtplib.cpython-38.pyc355320644editdlrm
sndhdr.cpython-38.pyc69890644editdlrm
socket.cpython-38.pyc277870644editdlrm
socketserver.cpython-38.pyc253610644editdlrm
sre_compile.cpython-38.pyc151420644editdlrm
sre_constants.cpython-38.pyc63590644editdlrm
sre_parse.cpython-38.pyc216470644editdlrm
ssl.cpython-38.pyc450370644editdlrm
stat.cpython-38.pyc43720644editdlrm
statistics.cpython-38.pyc336530644editdlrm
string.cpython-38.pyc73000644editdlrm
stringprep.cpython-38.pyc110170644editdlrm
struct.cpython-38.pyc3300644editdlrm
subprocess.cpython-38.pyc419670644editdlrm
sunau.cpython-38.pyc170800644editdlrm
symbol.cpython-38.pyc24040644editdlrm
symtable.cpython-38.pyc113220644editdlrm
sysconfig.cpython-38.pyc158370644editdlrm
tabnanny.cpython-38.pyc70300644editdlrm
tarfile.cpython-38.pyc630430644editdlrm
telnetlib.cpython-38.pyc182370644editdlrm
tempfile.cpython-38.pyc266530644editdlrm
textwrap.cpython-38.pyc135190644editdlrm
this.cpython-38.pyc12610644editdlrm
threading.cpython-38.pyc399760644editdlrm
timeit.cpython-38.pyc117770644editdlrm
token.cpython-38.pyc24850644editdlrm
tokenize.cpython-38.pyc171600644editdlrm
trace.cpython-38.pyc200260644editdlrm
traceback.cpython-38.pyc199380644editdlrm
tracemalloc.cpython-38.pyc173630644editdlrm
tty.cpython-38.pyc10760644editdlrm
turtle.cpython-38.pyc1300220644editdlrm
types.cpython-38.pyc91770644editdlrm
typing.cpython-38.pyc624200644editdlrm
uu.cpython-38.pyc36050644editdlrm
uuid.cpython-38.pyc236830644editdlrm
warnings.cpython-38.pyc136520644editdlrm
wave.cpython-38.pyc181490644editdlrm
weakref.cpython-38.pyc195180644editdlrm
webbrowser.cpython-38.pyc171200644editdlrm
xdrlib.cpython-38.pyc82210644editdlrm
zipapp.cpython-38.pyc58540644editdlrm
zipfile.cpython-38.pyc593360644editdlrm
zipimport.cpython-38.pyc172750644editdlrm
_bootlocale.cpython-38.pyc12430644editdlrm
_collections_abc.cpython-38.pyc287410644editdlrm
_compat_pickle.cpython-38.pyc55010644editdlrm
_compression.cpython-38.pyc41460644editdlrm
_dummy_thread.cpython-38.pyc60370644editdlrm
_markupbase.cpython-38.pyc77900644editdlrm
_osx_support.cpython-38.pyc115930644editdlrm
_pydecimal.cpython-38.pyc1607350644editdlrm
_pyio.cpython-38.pyc740790644editdlrm
_py_abc.cpython-38.pyc46700644editdlrm
_sitebuiltins.cpython-38.pyc34810644editdlrm
_strptime.cpython-38.pyc160440644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-38.pyc211210644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-38.pyc211150644editdlrm
_threading_local.cpython-38.pyc64460644editdlrm
_weakrefset.cpython-38.pyc76000644editdlrm
__future__.cpython-38.pyc41580644editdlrm
__phello__.foo.cpython-38.pyc1270644editdlrm
Edit: /snap/core20/2866/usr/lib/python3.8/__pycache__/weakref.cpython-38.pyc (19518B)
U ʦiS @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)argselfcallbackZself_wr/usr/lib/python3.8/weakref.py_cb3s zWeakMethod.__new__.._cbT) __self____func__AttributeError TypeErrorformattyper__new__rrr)clsZmethrobjfuncrrrrrr#,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__rr.rrrr1Ps   zWeakMethod.__ne__)N) __name__ __module__ __qualname____doc__ __slots__r#r)r-r1r__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)wrselfrefZ_atomic_removalrrrrremovegs z,WeakValueDictionary.__init__..remove)rr _remover:setr9r=update)rr/kwr@rrr__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:rIr=KeyErrorrr<orrr __getitem__s   zWeakValueDictionary.__getitem__cCs|jr||j|=dSr')r:rIr=rr<rrr __delitem__szWeakValueDictionary.__delitem__cCs|jr|t|jSr')r:rIlenr=rrrr__len__szWeakValueDictionary.__len__cCs>|jr|z|j|}Wntk r4YdSX|dk SrrJrLrrr __contains__sz WeakValueDictionary.__contains__cCsd|jjt|fSNz <%s at %#x>r+r2idrRrrr__repr__szWeakValueDictionary.__repr__cCs&|jr|t||j||j|<dSr')r:rIKeyedRefrAr=rr<valuerrr __setitem__szWeakValueDictionary.__setitem__c CsV|jr|t}t|0|jD]\}}|}|dk r(|||<q(W5QRX|Sr')r:rIrr r=items)rnewr<r>rMrrrcopys zWeakValueDictionary.copyc Csjddlm}|jr||}t|6|jD]$\}}|}|dk r6|||||<q6W5QRX|SNr)deepcopy)r_rar:rIr+r r=r])rmemorar^r<r>rMrrr __deepcopy__s  z WeakValueDictionary.__deepcopy__NcCsP|jr|z|j|}Wntk r4|YSX|}|dkrH|S|SdSr'rJ)rr<defaultr>rMrrrgets zWeakValueDictionary.getc csR|jr|t|2|jD] \}}|}|dk r"||fVq"W5QRXdSr'r:rIr r=r])rkr>vrrrr]s zWeakValueDictionary.itemsc csJ|jr|t|*|jD]\}}|dk r"|Vq"W5QRXdSr'rf)rrgr>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:rIr r=valuesrRrrr itervaluerefss  z!WeakValueDictionary.itervaluerefsc csJ|jr|t|*|jD]}|}|dk r"|Vq"W5QRXdSr'rjrr>r%rrrrks zWeakValueDictionary.valuescCs8|jr||j\}}|}|dk r||fSqdSr')r:rIr=popitem)rr<r>rMrrrrns zWeakValueDictionary.popitemcGs`|jr|z|j|}Wntk r8d}YnX|dkrX|rN|dSt|n|SdS)Nr)r:rIr=rFrK)rr<argsrMrrrrFs  zWeakValueDictionary.popcCs`z|j|}Wntk r(d}YnX|dkrX|jr@|t||j||j|<|S|SdSr')r=rKr:rIrYrA)rr<rdrMrrr setdefaults zWeakValueDictionary.setdefaultcKsz|jr||j}|dk rRt|ds.t|}|D]\}}t||j|||<q6|D]\}}t||j|||<qZdSNr])r:rIr=hasattrdictr]rYrA)rr/kwargsrHr<rMrrrrCs 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:rIlistr=rkrRrrr valuerefs(s zWeakValueDictionary.valuerefs)r)N)N)N)r2r3r4r5rErIrNrPrSrTrXr\r___copy__rcrer]ri__iter__rlrkrnrFrprCrvrrrrrZs.          cs,eZdZdZdZddZfddZZS)rYa[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(rE)rrzrr<r*rrrEHszKeyedRef.__init__)r2r3r4r5r6r#rEr8rrr*rrY7s rYc@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')r9r:r;r=)rgr?rrrrr@Ys z*WeakKeyDictionary.__init__..removeF)r=rrAr:rBr9 _dirty_lenrC)rrsr@rrrrEWszWeakKeyDictionary.__init__cCs:|j}|j}|r6z||=Wq tk r2Yq Xq dSr')r:r=rFrK)rrGrHrrrrIhsz"WeakKeyDictionary._commit_removalscs&|jfdd|jD|_d|_dS)Ncsg|]}|kr|qSrr).0rgrHrr wsz5WeakKeyDictionary._scrub_removals..F)r=r:r{rRrr}r_scrub_removalsusz!WeakKeyDictionary._scrub_removalscCsd|_|jt|=dSr0)r{r=rrOrrrrPzszWeakKeyDictionary.__delitem__cCs|jt|Sr')r=rrOrrrrN~szWeakKeyDictionary.__getitem__cCs(|jr|jr|t|jt|jSr')r{r:rrQr=rRrrrrSs zWeakKeyDictionary.__len__cCsd|jjt|fSrUrVrRrrrrXszWeakKeyDictionary.__repr__cCs||jt||j<dSr')r=rrArZrrrr\szWeakKeyDictionary.__setitem__c CsHt}t|0|jD]\}}|}|dk r|||<qW5QRX|Sr')r r r=r])rr^r<r[rMrrrr_s zWeakKeyDictionary.copyc Cs\ddlm}|}t|6|jD]$\}}|}|dk r(|||||<q(W5QRX|Sr`)r_rar+r r=r])rrbrar^r<r[rMrrrrcs  zWeakKeyDictionary.__deepcopy__cCs|jt||Sr')r=rerrr<rdrrrreszWeakKeyDictionary.getcCs.z t|}Wntk r"YdSX||jkSr)rr r=)rr<r>rrrrTs  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=rmrrrris   zWeakKeyDictionary.keysc cs<t|*|jD]\}}|dk r|VqW5QRXdSr'r)rr>r[rrrrks  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. )rur=rRrrrkeyrefss zWeakKeyDictionary.keyrefscCs0d|_|j\}}|}|dk r||fSqdSr0)r{r=rn)rr<r[rMrrrrns zWeakKeyDictionary.popitemcGsd|_|jjt|f|Sr0)r{r=rFr)rr<rorrrrFszWeakKeyDictionary.popcCs|jt||j|Sr')r=rprrArrrrrpszWeakKeyDictionary.setdefaultcKs\|j}|dk rFt|ds$ti|}|D]\}}||t||j<q,t|rX||dSrq)r=rrr"r]rrArQrC)rrsrtrHr<r[rrrrCs  zWeakKeyDictionary.update)N)N)N)N)r2r3r4r5rErIrrPrNrSrXr\r_rwrcrerTr]rirxrkrrnrFrprCrrrrr 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&rortatexitindexN)r2r3r4r6rrrr_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>)rrerr"r2rWrrrrrXYs  zfinalize.__repr__cCs2dd|jD}|jddddd|DS)NcSsg|]\}}|jr||fqSr)rr|firrrr~esz-finalize._select_for_exit..cSs |djS)Nr)r)itemrrrfz+finalize._select_for_exit..rycSsg|] \}}|qSrrrrrrr~gs)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)rrZenablergcZ isenabledZdisablerrrF Exceptionsys excepthookexc_infoAssertionError)r$Z reenable_gcrZpendingrrrrris, zfinalize._exitfunc)N)r2r3r4r5r6rr itertoolscountrrrrrE__text_signature__r)rrpropertyrrsetterrX classmethodrrrrrrrs0*      )r5_weakrefrrrrrrrr Z _weakrefsetr r _collections_abcrrr __all__rMutableMappingrrYr rrrrrs0 ( 6^