/snap/core22/2411/usr/lib/python3.10/__pycache__
NameSizeModeActions
abc.cpython-310.pyc67510644editdlrm
aifc.cpython-310.pyc246850644editdlrm
antigravity.cpython-310.pyc8220644editdlrm
argparse.cpython-310.pyc635390644editdlrm
ast.cpython-310.pyc557390644editdlrm
asynchat.cpython-310.pyc70250644editdlrm
asyncore.cpython-310.pyc160020644editdlrm
base64.cpython-310.pyc171620644editdlrm
bdb.cpython-310.pyc258320644editdlrm
binhex.cpython-310.pyc128700644editdlrm
bisect.cpython-310.pyc25880644editdlrm
bz2.cpython-310.pyc108700644editdlrm
calendar.cpython-310.pyc263030644editdlrm
cgi.cpython-310.pyc267230644editdlrm
cgitb.cpython-310.pyc99980644editdlrm
chunk.cpython-310.pyc48600644editdlrm
cmd.cpython-310.pyc127070644editdlrm
code.cpython-310.pyc99570644editdlrm
codecs.cpython-310.pyc332190644editdlrm
codeop.cpython-310.pyc55950644editdlrm
colorsys.cpython-310.pyc32650644editdlrm
compileall.cpython-310.pyc127330644editdlrm
configparser.cpython-310.pyc454580644editdlrm
contextlib.cpython-310.pyc208950644editdlrm
contextvars.cpython-310.pyc2460644editdlrm
copy.cpython-310.pyc69960644editdlrm
copyreg.cpython-310.pyc46830644editdlrm
cProfile.cpython-310.pyc51130644editdlrm
crypt.cpython-310.pyc35500644editdlrm
csv.cpython-310.pyc117980644editdlrm
dataclasses.cpython-310.pyc265780644editdlrm
datetime.cpython-310.pyc565330644editdlrm
decimal.cpython-310.pyc3620644editdlrm
difflib.cpython-310.pyc589050644editdlrm
dis.cpython-310.pyc156560644editdlrm
doctest.cpython-310.pyc761750644editdlrm
enum.cpython-310.pyc260630644editdlrm
filecmp.cpython-310.pyc87490644editdlrm
fileinput.cpython-310.pyc140720644editdlrm
fnmatch.cpython-310.pyc42440644editdlrm
fractions.cpython-310.pyc186000644editdlrm
ftplib.cpython-310.pyc289770644editdlrm
functools.cpython-310.pyc283350644editdlrm
genericpath.cpython-310.pyc39070644editdlrm
getopt.cpython-310.pyc63390644editdlrm
getpass.cpython-310.pyc42100644editdlrm
gettext.cpython-310.pyc182210644editdlrm
glob.cpython-310.pyc58520644editdlrm
graphlib.cpython-310.pyc76160644editdlrm
gzip.cpython-310.pyc185460644editdlrm
hashlib.cpython-310.pyc68450644editdlrm
heapq.cpython-310.pyc138650644editdlrm
hmac.cpython-310.pyc69730644editdlrm
imaplib.cpython-310.pyc424320644editdlrm
imghdr.cpython-310.pyc39050644editdlrm
imp.cpython-310.pyc97860644editdlrm
inspect.cpython-310.pyc851530644editdlrm
io.cpython-310.pyc36630644editdlrm
ipaddress.cpython-310.pyc626700644editdlrm
keyword.cpython-310.pyc9270644editdlrm
linecache.cpython-310.pyc41420644editdlrm
locale.cpython-310.pyc461540644editdlrm
lzma.cpython-310.pyc121000644editdlrm
mailbox.cpython-310.pyc600910644editdlrm
mailcap.cpython-310.pyc73200644editdlrm
mimetypes.cpython-310.pyc176190644editdlrm
modulefinder.cpython-310.pyc161660644editdlrm
netrc.cpython-310.pyc39330644editdlrm
nntplib.cpython-310.pyc316230644editdlrm
ntpath.cpython-310.pyc147040644editdlrm
nturl2path.cpython-310.pyc17470644editdlrm
numbers.cpython-310.pyc118660644editdlrm
opcode.cpython-310.pyc54470644editdlrm
operator.cpython-310.pyc135080644editdlrm
optparse.cpython-310.pyc477540644editdlrm
os.cpython-310.pyc315990644editdlrm
pathlib.cpython-310.pyc420520644editdlrm
pdb.cpython-310.pyc474400644editdlrm
pickle.cpython-310.pyc468820644editdlrm
pickletools.cpython-310.pyc677600644editdlrm
pipes.cpython-310.pyc77690644editdlrm
pkgutil.cpython-310.pyc183610644editdlrm
platform.cpython-310.pyc274290644editdlrm
plistlib.cpython-310.pyc237650644editdlrm
poplib.cpython-310.pyc136700644editdlrm
posixpath.cpython-310.pyc105600644editdlrm
pprint.cpython-310.pyc178750644editdlrm
profile.cpython-310.pyc143910644editdlrm
pstats.cpython-310.pyc236210644editdlrm
pty.cpython-310.pyc41430644editdlrm
pyclbr.cpython-310.pyc97750644editdlrm
pydoc.cpython-310.pyc856450644editdlrm
py_compile.cpython-310.pyc73390644editdlrm
queue.cpython-310.pyc107920644editdlrm
quopri.cpython-310.pyc57940644editdlrm
random.cpython-310.pyc227480644editdlrm
re.cpython-310.pyc142270644editdlrm
reprlib.cpython-310.pyc52500644editdlrm
rlcompleter.cpython-310.pyc59540644editdlrm
runpy.cpython-310.pyc94110644editdlrm
sched.cpython-310.pyc61150644editdlrm
secrets.cpython-310.pyc21750644editdlrm
selectors.cpython-310.pyc171050644editdlrm
shelve.cpython-310.pyc94920644editdlrm
shlex.cpython-310.pyc77820644editdlrm
shutil.cpython-310.pyc385360644editdlrm
signal.cpython-310.pyc29350644editdlrm
site.cpython-310.pyc179220644editdlrm
sitecustomize.cpython-310.pyc2250644editdlrm
smtpd.cpython-310.pyc261470644editdlrm
smtplib.cpython-310.pyc357660644editdlrm
sndhdr.cpython-310.pyc69620644editdlrm
socket.cpython-310.pyc289630644editdlrm
socketserver.cpython-310.pyc253470644editdlrm
sre_compile.cpython-310.pyc151940644editdlrm
sre_constants.cpython-310.pyc63570644editdlrm
sre_parse.cpython-310.pyc217550644editdlrm
ssl.cpython-310.pyc452710644editdlrm
stat.cpython-310.pyc42730644editdlrm
statistics.cpython-310.pyc370510644editdlrm
string.cpython-310.pyc71020644editdlrm
stringprep.cpython-310.pyc170750644editdlrm
struct.cpython-310.pyc3070644editdlrm
subprocess.cpython-310.pyc447410644editdlrm
sunau.cpython-310.pyc164820644editdlrm
symtable.cpython-310.pyc128350644editdlrm
sysconfig.cpython-310.pyc181510644editdlrm
tabnanny.cpython-310.pyc69500644editdlrm
tarfile.cpython-310.pyc706740644editdlrm
telnetlib.cpython-310.pyc185060644editdlrm
tempfile.cpython-310.pyc273390644editdlrm
textwrap.cpython-310.pyc138120644editdlrm
this.cpython-310.pyc12640644editdlrm
threading.cpython-310.pyc449690644editdlrm
timeit.cpython-310.pyc117690644editdlrm
token.cpython-310.pyc27380644editdlrm
tokenize.cpython-310.pyc171940644editdlrm
trace.cpython-310.pyc198700644editdlrm
traceback.cpython-310.pyc217120644editdlrm
tracemalloc.cpython-310.pyc175250644editdlrm
tty.cpython-310.pyc10790644editdlrm
turtle.cpython-310.pyc1288570644editdlrm
types.cpython-310.pyc95250644editdlrm
typing.cpython-310.pyc852770644editdlrm
uu.cpython-310.pyc38670644editdlrm
uuid.cpython-310.pyc224980644editdlrm
warnings.cpython-310.pyc136460644editdlrm
wave.cpython-310.pyc175940644editdlrm
weakref.cpython-310.pyc203430644editdlrm
webbrowser.cpython-310.pyc170000644editdlrm
xdrlib.cpython-310.pyc78800644editdlrm
zipapp.cpython-310.pyc60130644editdlrm
zipfile.cpython-310.pyc618450644editdlrm
zipimport.cpython-310.pyc170330644editdlrm
_aix_support.cpython-310.pyc28790644editdlrm
_bootsubprocess.cpython-310.pyc22940644editdlrm
_collections_abc.cpython-310.pyc329250644editdlrm
_compat_pickle.cpython-310.pyc58720644editdlrm
_compression.cpython-310.pyc45120644editdlrm
_distutils_system_mod.cpython-310.pyc54220644editdlrm
_markupbase.cpython-310.pyc75720644editdlrm
_osx_support.cpython-310.pyc115350644editdlrm
_pydecimal.cpython-310.pyc1577360644editdlrm
_pyio.cpython-310.pyc736540644editdlrm
_py_abc.cpython-310.pyc46830644editdlrm
_sitebuiltins.cpython-310.pyc35470644editdlrm
_strptime.cpython-310.pyc159450644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-310.pyc353850644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-310.pyc353790644editdlrm
_threading_local.cpython-310.pyc65390644editdlrm
_weakrefset.cpython-310.pyc76080644editdlrm
__future__.cpython-310.pyc41310644editdlrm
__phello__.foo.cpython-310.pyc1300644editdlrm
Edit: /snap/core22/2411/usr/lib/python3.10/__pycache__/warnings.cpython-310.pyc (13646B)
o `wiL@sdZddlZgdZd=ddZd>ddZdd Zd d ZeZd d ZeZ ddZ de dddfddZ e ddfddZ ddZddZGdddeZddZddZd d!Zd"d#Zd$d%Zd&d'Zd?d)d*Z  d@d+d,ZGd-d.d.eZGd/d0d0eZd1d2Zzdd3lmZm Z m!Z!mZmZm"Z"e Z#e!Z$d4Z%Wne&ygZd5Z#iZ$d(a'd6d7Z"dZ%Ynweej(e%se)ed8se d5e*d9d(d:e d;e*d(d<e d;e+d(d<e d;e,d(d<e d;e-d(d<[%dS)Az&Python part of the warnings subsystem.N)warn warn_explicit showwarning formatwarningfilterwarnings simplefilter resetwarningscatch_warningscCst||||||}t|dS)7Hook to write a warning to a file; replace if you like.N)WarningMessage_showwarnmsg_impl)messagecategoryfilenamelinenofilelinemsgr/usr/lib/python3.10/warnings.pyr s rcCst||||d|}t|S).Function to format a warning the standard way.N)r _formatwarnmsg_impl)r rrrrrrrrrsrcCsN|j}|durtj}|durdSt|}z||WdSty&YdSwN)rsysstderr_formatwarnmsgwriteOSError)rrtextrrrr s r c Cs|jj}|jd|jd|d|jd}|jdur6zddl}||j|j}Wnty5d}d}Ynw|j}|rE| }|d|7}|j durzddl }Wn ty]d}d}Ynw| }z| |j }Wn tyud}Ynw|dur|d7}|D]5}|d|j|jf7}z|dur||j|j}nd}Wn tyd}Ynw|r| }|d |7}q|S|s||d 7}|S) N:z:  rz %s Tz-Object allocated at (most recent call last): z File "%s", lineno %s z %s z<: Enable tracemalloc to get the object allocation traceback )r__name__rrr r linecachegetline Exceptionstripsource tracemalloc is_tracingget_object_traceback) rrsr"rr'tracingtbframerrrr#sb"          rcCsbzt}Wn ty Ynw|tur+t|std||j|j|j|j|j |j dSt |dS)r z:warnings.showwarning() must be set to a function or methodN) r NameError_showwarning_origcallable TypeErrorr rrrrrr )rswrrr _showwarnmsg`s  r3cCsLzt}Wn tyYt|Sw|tur"||j|j|j|j|jSt|S)r) rr._formatwarning_origr rrrrr)rfwrrrrus   rFcCs|dvs Jd|ft|tsJdt|tsJdt|ts&Jdt|ts/Jdt|tr8|dks= 0Nappend) isinstancestrtype issubclassWarningintrecompileI _add_filter)actionr rr<rrArHrrrrs&  rcCsH|dvs Jd|ft|tr|dksJdt|d|d||ddS)aInsert a simple entry into the list of warnings filters (at the front). A simple filter matches all modules and messages. 'action' -- one of "error", "ignore", "always", "default", "module", or "once" 'category' -- a class that the warning must be a subclass of 'lineno' -- an integer line number, 0 matches all warnings 'append' -- if true, append to the list of filters r7r>rr?Nr@)rBrGrK)rLrrrArrrrs rcGsP|szt|Wn tyYnwtd|n |tvr#t|tdS)Nr)filtersremove ValueErrorinsertrA_filters_mutated)rAitemrrrrKs   rKcCsgtdd<tdS)zAClear the list of warning filters, so that no filters are active.N)rMrQrrrrrs  rc@seZdZdZdS) _OptionErrorz,Exception used by option processing helpers.N)r! __module__ __qualname____doc__rrrrrSsrSc CsN|D]"}zt|Wqty$}ztd|tjdWYd}~qd}~wwdS)NzInvalid -W option ignored:)r) _setoptionrSprintrr)argsargrrrr_processoptionss r[c Cs|d}t|dkrtd|ft|dkr#|dt|dksdd|D\}}}}}t|}t|}|s;|r?ddl}|rF||}|rO||d}|roz t|}|dkr\t Wnt t fyntd |fdwd}t |||||dS) Nrztoo many fields (max 5): %rr6cSsg|]}|qSr)r%).0r*rrr s z_setoption..rz\Zzinvalid lineno %r) splitlenrSrA _getaction _getcategoryrHescaperGrO OverflowErrorr)rZpartsrLr rr<rrHrrrrWs8      rWcCs>|sdS|dkr dSdD] }||r|Sq td|f)Nr;allr:)r;r:r9r<r=r8r>) startswithrS)rLarrrras  racCs|stSd|vrddl}|}n"|d\}}}z t|dd|g}Wnty0td|fdwzt||}WntyGtd|fdwt|tsTtd|f|S)N.rzinvalid module name: %rzunknown warning category: %rzinvalid warning category: %r) rFbuiltins rpartition __import__ ImportErrorrSgetattrAttributeErrorrE)rmklassr<_catrrrrbs&   rbcCs|jj}d|vo d|vS)zFSignal whether the frame is an internal CPython implementation detail. importlib _bootstrap)f_code co_filename)r-rrrr_is_internal_framesrxcCs0|j}|durt|r|j}|durt|s |S)z;Find the next frame that doesn't involve CPython internals.N)f_backrx)r-rrr_next_external_frames rzc Cs t|tr|j}|durt}t|trt|ts"tdt|jz+|dks.t t dr4t |}nt d}t |dD] }t |}|durKtq?Wnty]t j}d}d}Yn w|j}|jj}|j}d|vrq|d} nd} |di} t||||| | ||dS)z:Issue a warning, or maybe ignore it or raise an exception.Nz/category must be a Warning subclass, not '{:s}'r{rr!z__warningregistry__)rBrF __class__ UserWarningrDrEr1formatr!rxr _getframerangerzrO__dict__ f_globalsrvrwf_lineno setdefaultr) r r stacklevelr&r-xglobalsrrr<registryrrrrsB       rcCst|}|dur|p d}|dddkr|dd}|dur"i}|ddtkr2|t|d<t|tr?t|}|j}n|}||}|||f} || rQdSt D]*} | \} } } }}| duse| |r}t || r}|duss| |r}|dks{||kr}nqSt } | dkrdSddl }|||| dkr|| dkrd || <||f}t|rdSd t|<n/| d krn*| d krd || <||df}||rdSd ||<n| d krd || <ntd | | ft|||||} t| dS)Nz z.pyversionrr9r8r=r{r:r<r;z1Unrecognized action (%r) in warnings.filters: %s)rGlowerget_filters_versionclearrBrFrCr}rMmatchrE defaultactionr"getlines onceregistry RuntimeErrorr r3)r rrrr<rmodule_globalsr&rkeyrRrLrrsmodlnr"oncekeyaltkeyrrrrGsr            rc@s&eZdZdZ  dddZddZdS)r )r rrrrrr&NcCsD||_||_||_||_||_||_||_|r|j|_dSd|_dSr) r rrrrrr&r!_category_name)selfr rrrrrr&rrr__init__szWarningMessage.__init__cCsd|j|j|j|j|jfS)NzD{message : %r, category : %r, filename : %r, lineno : %s, line : %r})r rrrr)rrrr__str__s  zWarningMessage.__str__)NNN)r!rTrU_WARNING_DETAILSrrrrrrr s  r c@s8eZdZdZdddddZddZd d Zd d ZdS) r aA context manager that copies and restores the warnings filter upon exiting the context. The 'record' argument specifies whether warnings should be captured by a custom implementation of warnings.showwarning() and be appended to a list returned by the context manager. Otherwise None is returned by the context manager. The objects appended to the list are arguments whose attributes mirror the arguments to showwarning(). The 'module' argument is to specify an alternative module to the module named 'warnings' and imported under that name. This argument is only useful when testing the warnings module itself. FN)recordr<cCs(||_|dur tjdn||_d|_dS)zSpecify whether to record warnings and if an alternative module should be used other than sys.modules['warnings']. For compatibility with Python 3.0, please consider all arguments to be keyword-only. NwarningsF)_recordrmodules_module_entered)rrr<rrrrs zcatch_warnings.__init__cCsPg}|jr |d|jtjdur|d|jt|j}d|d|fS)Nz record=Truerz module=%rz%s(%s)z, )rrArrrrDr!join)rrYnamerrr__repr__s  zcatch_warnings.__repr__cCsz|jr td|d|_|jj|_|jdd|j_|j|jj|_|jj|_|j r;g}|j |j_|jj |j_|SdS)NzCannot enter %r twiceT) rrrrM_filtersrQr _showwarningr rrAr/)rlogrrr __enter__s       zcatch_warnings.__enter__cGs>|js td||j|j_|j|j|j_|j|j_dS)Nz%Cannot exit %r without entering first) rrrrrMrQrrr )rexc_inforrr__exit__s     zcatch_warnings.__exit__)r!rTrUrVrrrrrrrrr s   r cszdjdg}jdur+ddlddl}fdd}|d||t|7}d|d}t |t d d dS) Nz coroutine 'z' was never awaited rc3s6tjD]\}}}||}||||fVqdSr)reversed cr_originr#)rrfuncnamercoror"rrextracts  z*_warn_unawaited_coroutine..extractz-Coroutine created at (most recent call last) r6r )rrr&) rUrr" tracebackrA format_listlistrrstriprRuntimeWarning)r msg_linesrrrrrr_warn_unawaited_coroutines   r)rM_defaultaction _onceregistryrrrQTr;cCs td7adS)Nr{)rrrrrrQs rQgettotalrefcount__main__)rr<rAr9)rrA)NNr)Nr{N)NNNN).rVr__all__rrr rr/r3r4rrFrrrKrr$rSr[rWrarbrxrzrrobjectr r r _warningsrMrrrQrr_warnings_defaultsrmr warnoptionshasattrDeprecationWarningPendingDeprecationWarning ImportWarningResourceWarningrrrrsn  ;  #  ) GC