QfU6 ddlZgdZd/dZd0dZdZdZeZdZeZdZ d e d dd fd Z e dd fd Z d Z dZGddeZdZdZdZdZdZdZdZdZd1dddZ d2dZGddeZGd d!eZd"Zefej>d#d$Z d%Z! dd&l"m#Z#m$Z$m%Z%mZmZm&Z&e$Z'e%Z(d'Z)eejXe)sAe-ed*s8e d(e.d+d,e d-e.d.e d-e/d.e d-e0d.e d-e1d.[)y#e*$rgZ#d(Z'iZ(da+d)Z&d Z)YkwxYw)3N)warn warn_explicit showwarning formatwarningfilterwarnings simplefilter resetwarningscatch_warningsc< t||||||}t|yN)WarningMessage_showwarnmsg_impl)messagecategoryfilenamelinenofilelinemsgs //opt/alt/python312/lib64/python3.12/warnings.pyrr s!A (HfdD ICcc: t||||d|}t|Sr )r _formatwarnmsg_impl)rrrrrrs rrrs$8 (HfdD IC s ##rc|j}|tj}|yt|} |j |y#t $rYywxYwr )rsysstderr_formatwarnmsgwriteOSError)rrtexts rrrsP 88D |zz <  # D  4    sA A  A cv|jj}|jd|jd|d|jd}|j ;|jdk7r, ddl}|j|j|j}n |j }|r|j}|d|zz }|j ddl } |j }|j|j}|u|dz }|D]i}|d |jd |jdz } '|j|j|j}nd}|sR|j}|d |zz }k|S|r||d z }|S#t$rd}d}YwxYw#t$rd}d}YwxYw#t$rd}d}YwxYw#t$rd}YqwxYw) N:z:  rrz %s Fz-Object allocated at (most recent call last): z File "z ", lineno z %s z<: Enable tracemalloc to get the object allocation traceback )r__name__rrrr linecachegetline Exceptionstripsource tracemalloc is_tracingget_object_traceback) rrsr%rr*suggest_tracemalloctbframes rrr#s||$$H LL>3::,b "S[[M DA xxCLLE1  $$S\\3::>Dxx zz| X_ zz   *5*@*@*B&B# 55cjjA > A AA78  ,(00N#::||j|j|j|j |j St|S#t$r Yt|SwxYwr ) r_formatwarning_origrrrrrr5r)rfws rrrxsr8:  ( (ckk3<<llCJJ: : s ##   s ## sA A0/A0Fc |s|rddl}|rj||j}nd}|rj|}nd}t||||||y)Nrappend)recompileI _add_filter)actionrrmodulerr>r?s rrrsU &&**Wbdd+ F#66&Irc( t|d|d||y)Nr=)rB)rCrrr>s rrrshfVDrc|s7 tj|tjd|t y|tvrtj|t y#t$rYTwxYw)Nr)filtersremove ValueErrorinsertr>_filters_mutated)r>items rrBrBs`   NN4  q$ w  NN4     sA"" A.-A.c, gtddtyr )rGrKrrr r sKGAJrceZdZ y) _OptionErrorN)r$ __module__ __qualname__rNrrrPrPs6rrPc|D]} t|y#t$r&}td|tjYd}~r( _getaction _getcategoryr?escapeintrI OverflowErrorr) rWpartsr-rCrrrDrr?s rrTrTs+ IIcNE 5zA~CABB e*q. R e*q.;@1A:?Q23:?1A-FGXvv  FH%H&))G$ 6"U*  J[Fz   67Hff='1AM* Jf>?T I Js C3 C88Dch|sy|dk(rydD]}|j|s|cStd|)Ndefaultallalways)rdrfignorerDonceerrorzinvalid action: ) startswithrP)rCas rr]r]s=  x G << HH v7 88rc<|stSd|vrddl}|}n%|jd\}}} t|dd|g} t ||}t|tst d||S#t$rt d|dwxYw#t$rt d|dwxYw)N.rzinvalid module name: zunknown warning category: zinvalid warning category: ) Warningbuiltins rpartition __import__ ImportErrorrPgetattrAttributeError issubclass)rmklassrD_cats rr^r^s  (#..s35 P64w7ASa c7 #XGHH J PFDE4 O P SXGHdRSsA& B&A?Bcd|vxrd|vS)N importlib _bootstraprN)rs r_is_internal_filenamer}s ( " ?|x'??rc,tfd|DS)Nc3@K|]}j|ywr )rj).0prefixrs r z'_is_filename_to_skip..sL9Kvx""6*9Ks)any)rskip_file_prefixess` r_is_filename_to_skiprs L9KL LLrcB t|jjSr )r}f_code co_filename)r0s r_is_internal_framersP !9!9 ::rc |j}|jt|jjx}s t ||r=|j}|/t|jjx}r0t ||r=|Sr )f_backr}rrr)r0rrs r_next_external_framer snL LLE   !ell.F.F"F( G += >    !ell.F.F"F( G += > LrrN)rc ( t|tr |j}|t}t|trt |ts-t djt |jt|ts t d|r td|} |dksttjdrtj|}n__warningregistry__) isinstancern __class__ UserWarningtyperur4formatr$tuplemaxrr _getframerangerrI f_globalsrrf_lineno__dict__ setdefaultr) rr stacklevelr)rr0xglobalsrrrDregistrys rrr+svD'7#$$ x &:h+H%%+VDN,C,C%DF F (% 0EFFJ'  ?0q1ABMM*-EMM!$E:a<(,U4FG=$$)//<<++W$!!"7z.pyversionrrgrirhrrfrDrdzUnrecognized action (z) in warnings.filters: )r`lowerget_filters_versionclearrrnstrrrGmatchru defaultactionr%getlines onceregistry RuntimeErrorr r7)rrrrrDrmodule_globalsr)r keyrLrCrrymodlnr%oncekeyaltkeys rrrYs[F ~([ "#;   % 'CR[F||Iq!%55.'7#7|$$7# 6 "C||C$(!S#r [CIIdO x % [CIIf- 1W"    x0    "   G $  ! W 8  8  !$ <<   9  t  (Hff ECrc"eZdZdZ ddZdZy)r )rrrrrrr)Nc||_||_||_||_||_||_||_|r|j|_yd|_yr ) rrrrrrr)r$_category_name)selfrrrrrrr)s r__init__zWarningMessage.__init__sJ         3;h//rc d|jd|jd|jd|jd|jd S)Nz {message : z , category : z , filename : z , lineno : z , line : })rrrrr)rs r__str__zWarningMessage.__str__s0$(LL$2E2E$(MM4;; K Lr)NNN)r$rQrR_WARNING_DETAILSrrrNrrr r s *BF#' FLrr c6eZdZ dddeddddZdZdZdZy) r FNr)recordrDrCrrr>c ||_|tjdn||_d|_|d|_y||||f|_y)NwarningsF)_recordrmodules_module_entered_filter)rrrDrCrrr>s rrzcatch_warnings.__init__sI  28.s{{:.f  >DL"Hff=DLrcg}|jr|jd|jtjdur|jd|jzt |j }|ddj|dS)Nz record=Truerz module=%r(z, ))rr>rrrrr$join)rrVnames r__repr__zcatch_warnings.__repr__sf << KK & <r2)rlogs r __enter__zcatch_warnings.__enter__s ==6=> >  ,, #}}Q/  %%' LL44!%!?!? << # $,, ' <<C-0ZZDLL *(,||'E'EDLL $Jrc|jstd|z|j|j_|jj |j |j_|j|j_y)Nz%Cannot exit %r without entering first) rrrrrGrKrrr)rexc_infos r__exit__zcatch_warnings.__exit__s^}}FMN N#}}  %%'#'#4#4  )-)?)? &r)r$rQrRrnrrrrrNrrr r s,$"'twq>"2*@rr z@{name!r} is deprecated and slated for removal in Python {remove})_versionc |dd|d}|dd|kDs|dd|k(r|ddk7r|d|d}t||j|| }t|td y) Nrrmrralphaz% was slated for removal after Python z alpha)rrH)r)rrrDeprecationWarning)rrrHrremove_formattedrs r _deprecatedrs!)AfQi[1! v8BQ<6#9hqkW>T=>N=OvV3nn$/?n@ S$3rc*djdg}jAddlddl}fd}|j d||j t |z }dj|jd}t|td y) Nz coroutine 'z' was never awaited rc3~KtjD] \}}}j||}||||f"ywr )reversed cr_originr&)rrfuncnamercoror%s rextractz*_warn_unawaited_coroutine..extractsC.6t~~.F*&( ((6:488/Gs:=z-Coroutine created at (most recent call last) r;r#r)rrr)) rRrr% tracebackr> format_listlistrrstriprRuntimeWarning)r msg_linesrrrr%s` @r_warn_unawaited_coroutiners d''((=>I ~~!# 9 IJY**4 ?;; '')  # #D )C ~!DAr)rG_defaultaction _onceregistryrrrKTrdctdz ay)Nr)rrNrrrKrKCs Argettotalrefcount__main__)rrDr>rg)rr>)NNr )NrN)NNNN)2r__all__rrrrr2r7r9rrnrrrBr r'rPrXrTr]r^r}rrrrrobjectr r _DEPRECATED_MSG version_inforr _warningsrGrrrKrr_warnings_defaultsrrr warnoptionshasattrrPendingDeprecationWarning ImportWarningResourceWarningrNrrrs,  . $  ; | &$ $$&1!JF#*!EE   9 F>89*@M; ,#!,#^>BDNLVL,I@VI@XU-43CSCS4(B<BB"M L   3* +y+=( 4X(:1EX(A!LX a@XB5 GML sDDD