+
    iw  c                   sP   R t ^ RIt^ RIt^ RIt. R3OtRsR t. tRt/ t	]P                  ! 4       t^t]P                  P                  t ! R R4      t ! R R	]4      t]! 4       t]P&                  ! R
4      tR tR tR tR tR tR4R ltR5R ltR tR t]tR t]t R t!R]"R^ R3R lt#]"^ R3R lt$R t%R t&R t' ! R R](4      t)R t*R  t+R! t,R" t-R# t.R$ t/R% t0R& t1R6R'R7/R( llt2R8R) lt3 ! R* R+]44      t5 ! R, R]44      t6 ! R- R4      t7R.t8]83R/]Pr                  /R0 llt:R1 t;R2 t<R# )9z&Python part of the warnings subsystem.Ncatch_warnings
deprecatedc                 s
    V s R # N)_wm)module   &%/usr/lib64/python3.14/_py_warnings.py_set_moduler      s    
C    defaultc                   s2   a  ] tR t^4t o R tR tR tRtV tR# )_Contextc                s     Wn         R V n        R # r   _filterslog)selffilters   &&r   __init__Z_Context.__init__5   s    r   c                s|    \        V P                  R ,          4      pV P                  e   V P                  Vn        V# )NNN)r
   r   r   )r   context   & r   copyZ_Context.copy9   s/    4==+,88((GKr   c                s<    V P                   P                  V4       R # r   )r   append)r   msgr   r   _record_warningZ_Context._record_warning?   s    r   r   N)	__name__
__module____qualname____firstlineno__r   r   r   __static_attributes____classdictcell____classdict__   @r   r
   r
   4   s      r   r
   c                   s6   a  ] tR t^Ct o R t]R 4       tRtV tR# )_GlobalContextc                s    R V n         R # r   r   r   r   r   r   Z_GlobalContext.__init__D   s	    r   c                sJ     \         P                  #   \         d    . u # i ; ir   )r   r   AttributeErrorr$   r   r   r   Z_GlobalContext._filtersG   s%    
	;; 	I	s    ""r#   N)	r   r   r   r   r   Zpropertyr   r   r   r   r!   r   r"   r"   C   s       r   r"   Zwarnings_contextc                  s    \         '       g   \        #  \        P                  P	                  4       #   \
         d
    \        u # i ; ir   )_use_context_global_contextr   _warnings_contextgetZLookupError r   r   _get_contextr+   Y   s<    <$$((** s   2 AAc                 sD    \         P                  P                  V 4       R # r   )r   r(   set)r   r   r   _set_contextr-   b   s    g&r   c                  sz    \         P                  4       p V P                  4       p\         P                  V4       W3# r   )r   r+   r   r-   )Zold_contextZnew_contexts     r   _new_contextr.   g   s5    ""$K""$K[!##r   c                 s>    \         P                  4       P                  # )zmReturn the current list of filters.  This is a non-public API used by
module functions and by the unit tests.)r   r+   r   r*   r   r   _get_filtersr/   o   s     &&&r   c                  s@    \         ;P                  ^,          un        R# )   N)r   _filters_versionr*   r   r   _filters_mutated_lock_heldr2   u   s    Ar   c                s^    \         P                  WW#WE4      p\         P                  V4       R# )7Hook to write a warning to a file; replace if you like.N)r   WarningMessage_showwarnmsg_impl)messagecategoryfilenamelinenofileliner      &&&&&& r   showwarningr=   y   s$    


W$
MC#r   c                s\    \         P                  WW#RV4      p\         P                  V4      # ).Function to format a warning the standard way.N)r   r4   _formatwarnmsg_impl)r6   r7   r8   r9   r;   r   s   &&&&& r   formatwarningr@      s)    


W$
MC""3''r   c                 s.   \         P                  4       pVP                  e   VP                  V 4       R # V P                  pVf   \
        P                  pVf   R # \         P                  V 4      p VP                  V4       R #   \         d     R # i ; ir   )
r   r+   r   r   r:   sysstderr_formatwarnmsgZwriteZOSError)r   r   r:   texts   &   r   r5   r5      s     G{{$88D|zz< c"D

4 s   2B BBc                 s   V P                   P                  pV P                   R V P                   RV RV P                   R2pV P
                  f-    ^ RIpVP                  V P                  V P                  4      pMV P
                  pV'       d!   VP                  4       pVRV,          ,          pV P                  e    ^ RIp VP                  4       '       * pVP                  V P                  4      pTe   TR,          pT F  pTRTP                  : RTP                  : R2,          p Xe(   TP                  TP                  TP                  4      pMRp T'       g   Kb  TP                  4       pTR	T,          ,          pK  	  T# T'       d   Y! R
2,          pV#   \         d	    RpRp EL*i ; i  \         d    RpRp Li ; i  \         d    RpRp Li ; i  \         d    Rp Li ; i):z: 
Nz  %s
Fz-Object allocated at (most recent call last):
z  File "z
", lineno z    %s
z<: Enable tracemalloc to get the object allocation traceback
)r7   r   r8   r9   r6   r;   	linecachegetline	ExceptionstripsourcetracemallocZ
is_tracingZget_object_traceback)	r   r7   srG   r;   rL   Zsuggest_tracemallocZtbframe	   &        r   r?   r?      s   ||$$HLL>3::,b
"S[[M	DA
xx	$$S\\3::>D xxzz|	X_
zz	*5*@*@*B&B# 55cjjA >AAA7 8  ,(00N# 4::<Dd**A " H !J + , -AHc  	 DI		0   ',#	  	"'B	2 !  D sN   *F!  G 0F7 .*G!G!!F43F47G	G	GG!G10G1c                sX    \         P                  pV\        Jdh   \        V4      '       g   \	        R4      hV! V P
                  V P                  V P                  V P                  V P                  V P                  4       R#  \         P                  V 4       R#   \         d     L$i ; i)r3   z:warnings.showwarning() must be set to a function or methodN)r   r=   _showwarning_origcallable	TypeErrorr6   r7   r8   r9   r:   r;   r%   r5   )r   Zswr   r   _showwarnmsgrS      s    __ &&B<< !5 6 6 s{{CLL#,,

xx# ' #  s   B B)(B)c                s    \         P                  pV\        Jd?   V! V P                  V P                  V P
                  V P                  V P                  4      #  \         P                  V 4      #   \         d     L"i ; i)r>   )
r   r@   _formatwarning_origr6   r7   r8   r9   r;   r%   r?   )r   Zfwr   r   rC   rC      su    : ((ckk3<<llCJJ: : ) ""3''  s   A0 0A>=A> Fc           	     sf   V R	9  d   \        RV : 24      h\        V\        4      '       g   \        R4      h\        V\        4      '       d   \        V\        4      '       g   \        R4      h\        V\        4      '       g   \        R4      h\        V\        4      '       g   \        R4      hV^ 8  d   \        R4      hV'       g	   V'       d   ^ RIpV'       d   XP                  WP                  4      pMRpV'       d   XP                  V4      pMRp\        P                  WW#WER7       R# )
a  Insert an entry into the list of warnings filters (at the front).

'action' -- one of "error", "ignore", "always", "all", "default", "module",
            or "once"
'message' -- a regex that the warning message must match
'category' -- a class that the warning must be a subclass of
'module' -- a regex that the module name must match
'lineno' -- an integer line number, 0 matches all warnings
'append' -- if true, append to the list of filters
invalid action: zmessage must be a stringz#category must be a Warning subclasszmodule must be a stringlineno must be an intlineno must be an int >= 0Nr      allonceerroralwaysignorer   r	   )
ValueError
isinstancestrrR   type
issubclassWarningintreZcompileZIr   _add_filter)actionr6   r7   r   r9   r   rg   r<   r   filterwarningsrj      s     VV+F:677gs##233h%%Z'-J-J=>>fc""122fc""/00z566&**Wdd+F#OOFXvOMr   c           	     s    V R9  d   \        RV : 24      h\        V\        4      '       g   \        R4      hV^ 8  d   \        R4      h\        P                  V RVRW#R7       R# )a  Insert 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", "all", "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
rV   rW   rX   NrY   rZ   )r`   ra   rf   rR   r   rh   )ri   r7   r9   r   s   &&&&r   simplefilterrk   &  sb     VV+F:677fc""/00z566OOFD(D&OHr   c                  s    \         P                  ;_uu_ 4        \         P                  4        R R R 4       R #   + '       g   i     R # ; ir   )r   _lockr2   r*   r   r   _filters_mutatedrm   9  s%     
&&( 
s	   8A		c                 sj   \         P                  ;_uu_ 4        \         P                  4       pV '       g&    VP                  V4       VP                  ^ V4       MW9  d   VP                  V4       \         P                  4        RRR4       R#   \         d     LUi ; i  + '       g   i     R# ; i)i    N)r   rl   r/   remover`   Zinsertr   r2   )r   itemr   s   $* r   rh   rh   @  s    	""$t$ NN1d#"t$&&( 
   
s.   B!B>B!BB!BB!!B2	c                 s    \         P                  ;_uu_ 4        \         P                  4       R \         P                  4        RRR4       R#   + '       g   i     R# ; i)zAClear the list of warning filters, so that no filters are active.r   N)r   rl   r/   r2   r*   r   r   resetwarningsrp   Q  s4    	q!&&( 
s   *AA	c                   s    ] tR tRtRtRtR# )_OptionErroriX  z,Exception used by option processing helpers.r*   N)r   r   r   r   __doc__r   r*   r   r   rq   rq   X  s    6r   rq   c                 s    V  F  p \         P                  V4       K  	  R#   \         P                   d(   p\        R T\        P
                  R7        Rp?KV  Rp?ii ; i)zInvalid -W option ignored:)r:   N)r   
_setoptionrq   ZprintrA   rB   )argsargr      &  r   _processoptionsrw   ^  sL    	FNN3   	F.#**EE	Fs   "AAAc                 s   V P                  R 4      p\        V4      ^8  d   \        P                  RV : 24      h\        V4      ^8  d   VP	                  R4       K#  V Uu. uF  pVP                  4       NK  	  upw  r4rVp\        P                  V4      p\        P                  V4      pV'       g	   V'       d   ^ RIpV'       d   XP                  V4      pV'       d   XP                  V4      R,           pV'       d    \        V4      pV^ 8  d   \        hM^ p\        P                  W4WVV4       R# u upi   \        \        3 d    \        P                  RT: 24      Rhi ; i)rE   ztoo many fields (max 5): rU   Nz\zzinvalid lineno )ZsplitZlenr   rq   r   rJ   
_getaction_getcategoryrg   Zescaperf   r`   ZOverflowErrorrj   )	ru   ZpartsrM   ri   r6   r7   r   r9   rg   rO   r   rs   rs   g  s/   IIcNE
5zA~EFF
e*q.R:?1A:?Q 23:?1A-FXv^^F#F)H&))G$6"U*	N[Fz   
 v&A'1A M* 	N""&#BCM	Ns   "D6D; ;,E'c                 s    V '       g   R # R F  pVP                  V 4      '       g   K  Vu # 	  \        P                  RV : 24      h)r	   rV   )r	   r^   r[   r_   r   r\   r]   )
startswithr   rq   )ri   Zar   r   rx   rx     s=    N<<H O 

6;
<<r   c                 s   V '       g   \         # R V 9  d   ^ RIpT pM$V P                  R 4      w  r4p \        VRRV.4      p \        W4      p\        T\         4      '       g   \
        P                  RT : 24      hT#   \         d    \
        P                  RT: 24      Rhi ; i  \         d    \
        P                  RT : 24      Rhi ; i).Nzinvalid module name: zunknown warning category: zinvalid warning category: )
re   ZbuiltinsZ
rpartitionZ
__import__ZImportErrorr   rq   Zgetattrr%   rd   )r7   ZmZklassr   Z_cats   &     r   ry   ry     s    
(#..s35	T64w7AWa c7##KLLJ  	T""#HItS	T  WKLRVVWs   A> B' >&B$'&Cc                 s&    R V 9   ;'       d    RV 9   # )Z	importlibZ
_bootstrapr*   )r8   r   r   _is_internal_filenamer}     s    ("??|x'??r   c                 sx   a  \         ;QJ d    V 3R  lV 4       F  '       g   K   R# 	  R# ! V 3R  lV 4       4      # )c              3   sF   <"   T F  pSP                  V4      x  K  	  R # 5ir   )rz   )Z.0Zprefixr8   s   & r   Z	<genexpr>Z'_is_filename_to_skip.<locals>.<genexpr>  s!     L9Kvx""6**9Ks   !TF)Zany)r8   skip_file_prefixess   f&r   _is_filename_to_skipr     s.    3L9KL33L3L3L9KLLLr   c                s@    \        V P                  P                  4      # )zFSignal whether the frame is an internal CPython implementation detail.)r}   f_codeco_filename)rN   r   r   _is_internal_framer     s     !9!9::r   c                s    V P                   p V eG   \        V P                  P                  ;p4      '       g   \	        W!4      '       d   V P                   p KJ  V # )zBFind the next frame that doesn't involve Python or user internals.)Zf_backr}   r   r   r   )rN   r~   r8   s   && r   _next_external_framer     sD    LLE

!ell.F.F"F(GG >>Lr   r~   c               s   \        V \        4      '       d   V P                  pVf   \        p\        V\        4      '       d   \        V\        4      '       g.   \        RP                  \	        V4      P                  4      4      h\        V\        4      '       g   \        R4      hV'       d   \        ^V4      p V^8:  g&   \        \        P                  ! ^4      4      '       d   \        P                  ! V4      pMD\        P                  ! ^4      p\        V^,
          4       F  p\        WT4      pVe   K  \         h	  VP"                  pVP$                  P&                  pVP(                  p	RV9   d   VR,          p
MRp
VP-                  R/ 4      p\.        P1                  V VVV	V
VVVR7       R#   \          d    \        P*                  pRp^ p	 Lei ; i)	z:Issue a warning, or maybe ignore it or raise an exception.Nz/category must be a Warning subclass, not '{:s}'z+skip_file_prefixes must be a tuple of strs.z<sys>r   z<string>Z__warningregistry__rK   )ra   re   	__class__ZUserWarningrc   rd   rR   formatr   ZtupleZmaxr   rA   Z	_getframeZranger   r`   Z	f_globalsr   r   Zf_lineno__dict__Z
setdefaultr   warn_explicit)r6   r7   
stacklevelrK   r~   rN   ZxZglobalsr8   r9   r   registrys   &&&&$       r   warnr     s    '7##$$x&&:h+H+H %%+VDN,C,C%DF 	F(%00EFFJ'
 ?0q1ABB MM*-EMM!$E:a<(,UG=$$ ) //<<++W$!!"7<H  	  ,,s   <A:F5 ;F5 5GGc                 sj   \        V4      pVf*   T;'       g    RpVRR  P                  4       R8X  d   VR R p\        V \        4      '       d   \	        V 4      pV P
                  pM
T pV! V 4      p WV3p	\        P                  ;_uu_ 4        Vf   / pVP                  R^ 4      \        P                  8w  d$   VP                  4        \        P                  VR&   VP                  V	4      '       d    R R R 4       R # \        P                  4        Fe  p
V
w  rrpVe   VP                  V4      '       g   K&  \        W4      '       g   K9  Ve   VP                  V4      '       g   KV  V^ 8X  g	   W?8X  g   Ke   M	  \        P                  pVR8X  d    R R R 4       R # VR8X  d   V hVR8X  dL   ^WY&   W3p\        P                  P                  V4      '       d    R R R 4       R # ^\        P                  V&   M^VR9   d   MVVR8X  d1   ^WY&   W^ 3pVP                  V4      '       d    R R R 4       R # ^VV&   MVR8X  d   ^WY&   M\!        R	V: R
X
: 24      hR R R 4       ^ R IpVP%                  W&4       \        P'                  WW#VR7      p\        P)                  V4       R #   + '       g   i     LT; i)Nz	<unknown>z.pyZversionr_   r]   r\   r   r	   zUnrecognized action (z) in warnings.filters:
 r   i>   r[   r^   )rf   Zlowerra   re   rb   r   r   rl   r)   r1   Zclearr/   Zmatchrd   defaultactiononceregistryRuntimeErrorrG   Zgetlinesr4   rS   )r6   r7   r8   r9   r   r   Zmodule_globalsrK   rD   Zkeyro   ri   r   r|   ZmodZlnZoncekeyZaltkeyrG   s   &&&&&&&&           r   r   r     so    [F~((["#;%'CR[F'7##7|$$7#6
"C	H<<	1%)=)==NN"%"6"6HY<< 
 $$&D(,%F2		$8))		& 1 1qFL ' &&FX+ 
. WMVHM&G##G,,= 
> )*CW%((xHMa(F||F##M 
N  !HVy HM 4!" "Y 
d x0 

W

PCSo 
sD   A%J"3J">5J"8J"J"(
J"7J"=J"$AJ"1%J""J2	c                   s:   a  ] tR tRt o RtRR ltR tR tRtV t	R# )	r4   i;  Nc                s    Wn         W n        W0n        W@n        WPn        W`n        Wpn        V'       d   VP                  V n        R # R V n        R # r   )	r6   r7   r8   r9   r:   r;   rK   r   _category_name)r   r6   r7   r8   r9   r:   r;   rK   s   &&&&&&&&r   r   ZWarningMessage.__init__@  s<      		3;h//r   c                s    R V P                   : RV P                  : RV P                  : RV P                  : RV P                  : R2# )z{message : z, category : z, filename : z, lineno : z	, line : Z})r6   r   r8   r9   r;   r$   r   r   __str__ZWarningMessage.__str__K  s0    $(LL$2E2E$(MM4;;		K 	Lr   c                s:    R \        V 4      P                   RV  R2# )Z<Z Z>)rc   r   r$   r   r   __repr__ZWarningMessage.__repr__P  s"    4:**+1TF!44r   )r   r7   r:   r8   r;   r9   r6   rK   )r6   r7   r8   r9   r:   r;   rK   )NNN)
r   r   r   r   Z_WARNING_DETAILSr   r   r   r   r   r   r!   r   r4   r4   ;  s#     *	FL
5 5r   r4   c                   sX   a  ] tR tRt o RtRRRRRRR]R	^ R
R/R ltR tR tR t	Rt
V tR# )r    iT  a  A 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.

If the 'action' argument is not None, the remaining arguments are passed
to warnings.simplefilter() as if it were called immediately on entering the
context.
recordFr   Nri   r7   r9   r   c               s    Wn         Vf   \        P                  R,          MTV n        RV n        Vf
   RV n        R# W4WV3V n        R# )ztSpecify whether to record warnings and if an alternative module
should be used other than sys.modules['warnings'].

NwarningsF)_recordrA   modules_module_entered_filter)r   r   r   ri   r7   r9   r   s   &$$$$$$r   r   Zcatch_warnings.__init__h  s>     28.s{{:.f>DL"f=DLr   c                s6   . pV P                   '       d   VP                  R 4       V P                  \        P                  R,          Jd#   VP                  RV P                  ,          4       \        V 4      P                  pV: RRP                  V4      : R2# )zrecord=Truer   z	module=%rZ(z, Z))r   r   r   rA   r   rc   r   join)r   rt   namerv   r   r   Zcatch_warnings.__repr__v  sh    <<<KK&<<s{{:66KKdll23Dz""411r   c                s~   V P                   '       d   \        R V ,          4      hRV n         \        P                  ;_uu_ 4        \        '       d$   V P
                  P                  4       w  V n        pMuRpV P
                  P                  V n	        V P                  R,          V P
                  n        V P
                  P                  V n        V P
                  P                  V n        V P
                  P                  4        V P                  '       dZ   \        '       d   . ;Vn        pME. pVP                   V P
                  n        V P
                  P"                  V P
                  n
        MRpRRR4       V P$                  e%   V P
                  P&                  ! V P$                  !   X#   + '       g   i     LD; i)zCannot enter %r twiceTNr   )r   r   r   rl   r&   r   r.   _saved_contextr   r   r=   _showwarningr5   r2   r   r   r   rP   r   rk   )r   r   r   rv   r   	__enter__Zcatch_warnings.__enter__  s*   ===6=>>YYY|/3||/H/H/J,#W $ 4 4'+}}Q'7$$(LL$<$<!)-)G)G&LL335|||<(**GK#C58ZZDLL2 04||/M/MDLL,) * <<#LL%%t||4
/ Ys   CF,F,!AF,,F<	c                s   V P                   '       g   \        R V ,          4      h\        P                  ;_uu_ 4        \        '       d1   V P
                  P                  P                  V P                  4       MQV P                  V P
                  n
        V P                  V P
                  n        V P                  V P
                  n        V P
                  P                  4        RRR4       R#   + '       g   i     R# ; i)z%Cannot exit %r without entering firstN)r   r   r   rl   r&   r   r(   r,   r   r   r   r   r=   r5   r2   )r   Zexc_infos   &*r   __exit__Zcatch_warnings.__exit__  s    }}}FMNNYYY|..2243F3FG'+}}$+/+<+<(151G1G.LL335 YYYs   B(C//D 	)r   r   r   r   r   r   r   r5   )r   r   r   r   rr   re   r   r   r   r   r   r   r   r!   r   r    r    T  sQ     $> >t >>'.>78>AF>2:
6 
6r   c                   sT   a a ] tR tRt oRtR]R^/V3R lR lltV 3R ltRtVt	V ;t
# )	r   i  a"  Indicate that a class, function or overload is deprecated.

When this decorator is applied to an object, the type checker
will generate a diagnostic on usage of the deprecated object.

Usage:

    @deprecated("Use B instead")
    class A:
        pass

    @deprecated("Use g instead")
    def f():
        pass

    @overload
    @deprecated("int support is deprecated")
    def g(x: int) -> int: ...
    @overload
    def g(x: str) -> int: ...

The warning specified by *category* will be emitted at runtime
on use of deprecated objects. For functions, that happens on calls;
for classes, on instantiation and on creation of subclasses.
If the *category* is ``None``, no warning is emitted at runtime.
The *stacklevel* determines where the
warning is emitted. If it is ``1`` (the default), the warning
is emitted at the direct caller of the deprecated object; if it
is higher, it is emitted further up the stack.
Static type checker behavior is not affected by the *category*
and *stacklevel* arguments.

The deprecation message passed to the decorator is saved in the
``__deprecated__`` attribute on the decorated object.
If applied to an overload, the decorator
must be after the ``@overload`` decorator for the attribute to
exist on the overload as returned by ``get_overloads()``.

See PEP 702 for details.

r7   r   c                sN   < V ^8  d   QhRS[ RS[S[,          R,          RS[RR/# )   r6   r7   Nr   Zreturn)rb   rc   re   rf   )r   r    s   "r   Z__annotate__Zdeprecated.__annotate__  s<     % %%
 w-$&% % 
%r   c              s    \        V\        4      '       g#   \        R \        V4      P                  : 24      hWn        W n        W0n        R# )z2Expected an object of type str for 'message', not N)ra   rb   rR   rc   r   r6   r7   r   )r   r6   r7   r   s   ""$$r   r   Zdeprecated.__init__  sD     '3''DT']E[E[D^_   $r   c               s4  <aaa	a
aa V P                   o	V P                  oV P                  oSf
   S	Sn        S# \	        S\
        4      '       d   ^ R Ip^ RIHp SP                  oVP                  S4      VVV	VV3R l4       p\        V4      Sn	        RSP                  9   dI   SP                  o
\	        S
V4      '       d   S
P                  o
VP                  S
4      VV	V
V3R l4       pM
VVVV	V3R lp\        V4      Sn        S	;Sn        Vn        S	Vn        S# \!        S4      '       d^   ^ R Ip^ R IpVP                  S4      VVV	V3R l4       pVP%                  S4      '       d   VP'                  V4      pS	;Sn        Vn        V# \)        RS: 24      h)N)
MethodTypec                s*  < V SJ d    \         P                  SSS^,           R7       S\        P                  Jd   S! V .VO5/ VB # V P                  \        P                  J d)   V'       g	   V'       d   \        V P                   R24      hS! V 4      # )r0   r7   r   z() takes no arguments)r   r   object__new__r   rR   r   )clsrt   kwargsru   r7   r   original_newr   s   "*,r   r   Z$deprecated.__call__.<locals>.__new__  sw    #:HHS8
QHOv~~5'=d=f==\\V__4$&#s||n4I$JKK',,r   __init_subclass__c                  sR   < \         P                  SSS^,           R7       S! V / VB # r0   r   r   r   )rt   r   r7   r   original_init_subclassr      *,r   r   .deprecated.__call__.<locals>.__init_subclass__  s)    HHS8
QHO14B6BBr   c                 sb   < \         P                  SSS^,           R7       \        SV `  ! V/ VB # r   )r   r   Zsuperr   )r   rt   r   r   ru   r7   r   r   s   &*,r   r   r     s0    HHS8
QHO c<dMfMMr   c                  sR   < \         P                  SSS^,           R7       S! V / VB # r   r   )rt   r   ru   r7   r   r   r   r   wrapperZ$deprecated.__call__.<locals>.wrapper  s)    xJNKD+F++r   zY@deprecated decorator with non-None category must be applied to a class or callable, not )r6   r7   r   Z__deprecated__ra   rc   	functoolsZtypesr   r   ZwrapsZstaticmethodr   r   Z__func__ZclassmethodrQ   inspectZiscoroutinefunctionZmarkcoroutinefunctionrR   )r   ru   r   r   r   r   r   r   r7   r   r   r   r   r   s   "b      @@@@@r   __call__Zdeprecated.__call__  s    ll==__
!$CJT""(;;L__\*	- 	- +	- 'w/CK"cll2 *-)>)>&
 4jAA-C-L-L*!78C 9CN N %00A$BC!:==C!7/2,Jc]]__S!, ", **3//!77@:==C!7N,,/74 r   )r7   r6   r   )r   r   r   r   rr   DeprecationWarningr   r   r   r   Z__classcell__)r   r    s   @@r   r   r     s5     (R%
 *<% % % H Hr   z@{name!r} is deprecated and slated for removal in Python {remove}_versionc               s   V^ ,           RV^,           2pVR,          V8  g   VR,          V8X  d#   V^,          R8w  d   V : RV R2p\        V4      hVP                  WR7      p\        P                  V\        ^R7       R# )	a.  Warn that *name* is deprecated or should be removed.

RuntimeError is raised if *remove* specifies a major/minor tuple older than
the current Python version or the same version but past the alpha.

The *message* argument is formatted with *name* and *remove* as a Python
version tuple (e.g. (3, 11)).

r{   :Nr   NZalphaz% was slated for removal after Python z alpha)r   rn   )r   N)r   r   r   r   r   )r   r6   rn   r   Zremove_formattedr   s   &&$$  r   _deprecatedr   1  s     !)AfQi[1v8B<6#9hqkW>T=>N=OvV3nn$n@(Q7r   c                 sL  a a R S P                    R2.pS P                  eF   ^ RIo^ RIpV V3R lpVP	                  R4       WP                  \        V! 4       4      4      ,          pRP                  V4      P                  R4      p\        P                  V\        ^S R7       R# )zcoroutine 'z' was never awaited
Nc               3   s|   <"   \        SP                  4       F  w  rpSP                  W4      pWW#3x  K  	  R # 5ir   )Zreversed	cr_originrH   )r8   r9   Zfuncnamer;   cororG   s       r   extractZ*_warn_unawaited_coroutine.<locals>.extractK  s:     .6t~~.F*( ((:88 /Gs   9<z-Coroutine created at (most recent call last)
rU   rF   )r7   r   rK   )r   r   rG   	tracebackr   Zformat_listZlistr   Zrstripr   r   ZRuntimeWarning)r   Z	msg_linesr   r   r   rG   s   f    @r   _warn_unawaited_coroutiner   E  s    
d''((=>I ~~!#	9 	IJ**4	?;;	
'')

#
#D
)C HHn4  r   c                  sP   \        \        R 4      '       d   R# \        P                  R\        R^R7       \        P                  R\        ^R7       \        P                  R\        ^R7       \        P                  R\        ^R7       \        P                  R\        ^R7       R# )ZgettotalrefcountNr	   Z__main__)r7   r   r   r_   )r7   r   )	ZhasattrrA   r   rj   r   rk   ZPendingDeprecationWarningZImportWarningZResourceWarningr*   r   r   _setup_defaultsr   ]  s    s&''y+=jYZ[X(:1EX(A!LXa@XBr   )	r   r   r=   r@   rj   rk   rp   r    r   )NNr   )Nr0   Nr*   )NNNN)=rr   rA   Z_contextvarsZ_threadZ__all__r   r   r   r   r   ZRLockrl   r1   ZflagsZcontext_aware_warningsr&   r
   r"   r'   Z
ContextVarr(   r+   r-   r.   r/   r2   r=   r@   r5   r?   rP   rS   rT   rC   re   rj   rk   rm   rh   rp   rI   rq   rw   rs   rx   ry   r}   r   r   r   r   r   r   r4   r    r   Z_DEPRECATED_MSGZversion_infor   r   r   r*   r   r   <module>r      s   , 
  <     yy// X   !" !++,>? '
$'((9z   ( $ ( $&1%NP #*!E I&))")	9 	FB:=*@M;
4!4nFR5V 52R6V R6jB BJ U . 83CSCS 8(0Cr   