Your IP : 216.73.216.137
�
u�hDi��V�SrSSKr/SQrS2SjrS3SjrSrSr\rSr\r S r
S
\S
SS4Sjr\SS4S
jr
SrSr"SS\5rSrSrSrSrSrSrSrSrS4SS.SjjrS5Sjr"SS \5r"S!S"\5r"S#S$5rS%r \ 4\RBS&.S'jjr"S(r#SS)K$J%r%J&r&J'r'JrJrJ(r( \&r)\'r*S*r+\"\R\5 \+(d7\/"\S-5(d)\"S+\0S.SS/9 \
"S0\0SS19 \
"S0\1SS19 \
"S0\2SS19 \
"S0\3SS19 C+g!\,a /r%S+r)0r*Sq-S,r(Sr+Ngf=f)6z&Python part of the warnings subsystem.�N) �warn�
warn_explicit�showwarning�
formatwarning�filterwarnings�simplefilter�
resetwarnings�catch_warnings�
deprecatedc�4�[XX#XE5n[U5 g)�7Hook to write a warning to a file; replace if you like.N)�WarningMessage�_showwarnmsg_impl)�message�category�filename�lineno�file�line�msgs �//opt/alt/python313/lib64/python3.13/warnings.pyrr
s��
��H�d�
I�C��c��c�4�[XX#SU5n[U5$)�.Function to format a warning the standard way.N)r�_formatwarnmsg_impl)rrrrrrs rrrs��
��H�d�D�
I�C��s�#�#rc��URnUc[RnUcg[U5nUR U5 g![
a gf=f�N)r�sys�stderr�_formatwarnmsg�write�OSError)rr�texts rrrsP���8�8�D��|��z�z���<�
��#��D�
��
�
�4����
��
�s�A�
A�Ac��URRnURSURSUSURS3nUR
c,SSKnURURUR5nOUR
nU(aUR5nUSU--
nURb�SSKnUR5(+nURUR5nUb�US-
nUHtnUSUR<S UR<S3-
nWb'URURUR5nOSnU(dM\UR5nUS
U--
nMv U$U(aX!S3-
nU$![a SnSnGNf=f![a SnSnN�f=f![a SnSnN�f=f![a SnN�f=f)N�:z: �
rz %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� linecache�getline� Exception�strip�source�tracemalloc�
is_tracing�get_object_traceback) rr�sr(rr-�suggest_tracemalloc�tb�frames rrr#s����|�|�$�$�H��L�L�>��3�:�:�,�b��
�"�S�[�[�M�� D�A�
�x�x�� ���$�$�S�\�\�3�:�:�>�D��x�x����z�z�|�� �X��_���
�z�z�� ��
�*5�*@�*@�*B�&B�#� �5�5�c�j�j�A���>�
�A�A�A����������7�8�� � �,�(�0�0�������N��#���4��:�:�<�D���d�*�*�A��"
�H�!�
�J�+�,�
-�A��H��c� ��D��I� ��0�
�',�#���
��� �"'���B� ��2!� ��D� �sN�*E>�5F'�:0F�)F;�F;�>F�F�F$�#F$�'F8�7F8�;G
� G
c�&�[nU[Lae[U5(d[S5eU"URUR
URURURUR5 g[U5 g![a Nf=f)r
z:warnings.showwarning() must be set to a function or methodN)r�_showwarning_orig�callable� TypeErrorrrrrrr� NameErrorr)r�sws r�_showwarnmsgr:as���
�
���&�&��B�<�<��!5�6�6�
�s�{�{�C�L�L�#�,�,��
�
��x�x����
#��'��c����
��
�s�B�
B�Bc���[nU[La>U"URURURUR
UR5$[U5$![a Nf=f)r) r�_formatwarning_origrrrrrr8r)r�fws rr r vsi��:�
���(�(��c�k�k�3�<�<��l�l�C�J�J����:�
:�)��s�#�#���
��
�s�A�
A(�'A(�Fc �4�US;a[SU<35e[U[5(d[S5e[U[5(a[U[5(d[S5e[U[5(d[S5e[U[5(d[S5eUS:a[S5eU(dU(aSS KnU(aWRXR5nOS nU(aWRU5nOS n[XX#XES
9 g )a�Insert an entry into the list of warnings filters (at the front).
'action' -- one of "error", "ignore", "always", "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
>�once�error�always�ignore�module�default�invalid action: zmessage must be a stringz#category must be a Warning subclasszmodule must be a string�lineno must be an intr�lineno must be an int >= 0N��append)�
ValueError�
isinstance�strr7�type�
issubclass�Warning�int�re�compile�I�_add_filter)�actionrrrDrrJrRs rrr�s����O�O��+�F�:�6�7�7��g�s�#�#��2�3�3��h��%�%�Z��'�-J�-J��=�>�>��f�c�"�"��1�2�2��f�c�"�"��/�0�0�
��z��5�6�6��&����*�*�W�d�d�+����
����F�#�������6�Irc ��US;a[SU<35e[U[5(d[S5eUS:a[S5e[ USUSX#S9 g)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", "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
>r@rArBrCrDrErFrGrrHNrI)rKrLrQr7rU)rVrrrJs rrr�s\���O�O��+�F�:�6�7�7��f�c�"�"��/�0�0�
��z��5�6�6����h��f�Drc���U(d/[R"U5 [R"SU5 O U[;a[R"U5 [5 g![a NOf=f)Nr)�filters�removerK�insertrJ�_filters_mutated)rJ�items rrUrU�sV��� ��N�N�4� � ���q�$���w���N�N�4� ����
� �� �s�A"�"
A/�.A/c�*�/[SS&[5 g)zAClear the list of warning filters, so that no filters are active.N)rYr\�rrr r �s���G�A�J��rc��\rSrSrSrSrg)�_OptionError��z,Exception used by option processing helpers.r_N)r'�
__module__�__qualname__�__firstlineno__�__doc__�__static_attributes__r_rrrara�s��6�rrac��UHn[U5 M g![a$n[SU[RS9 SnAM=SnAff=f)NzInvalid -W option ignored:)r)�
_setoptionra�printrr)�args�argrs r�_processoptionsrm�sA���� F��s�O���� F��.��#�*�*�E�E�� F�s��
A�A�Ac�t�URS5n[U5S:�a[SU<35e[U5S:a"URS5 [U5S:aM"UVs/sHnUR 5PM snup4pVn[U5n[
U5nU(dU(aSSKnU(aWRU5nU(aWRU5S-nU(a[U5nUS:a[eOSn[X4XVU5 gs snf![[4a [SU<35Sef=f)Nr%�ztoo many fields (max 5): r>rz\Zzinvalid lineno )
�split�lenrarJr+�
_getaction�_getcategoryrR�escaperQrK�
OverflowErrorr) rl�partsr0rVrrrDrrRs rriri�s#���I�I�c�N�E�
�5�z�A�~��C�A�B�B�
�e�*�q�.�
���R���e�*�q�.�;@�1A�:?�Q�23����:?�1A�-�F�X�v�
��
�F��H�%�H��&����)�)�G�$��
����6�"�U�*��
� J���[�F���z� � ��
���6�H�f�=��'1A���M�*� J��f�>�?�T�I� J�s�%D�)D�!D7c��U(dgUS:XagSHnURU5(dMUs $ [SU<35e)NrE�allrB)rErBrCrDr@rArF)�
startswithra)rV�as rrrrr�s@����
���x�
G���<�<�����H�H��v�7�
8�8rc�Z�U(d[$SU;aSSKnUnO$URS5up4n[USSU/5n[
X5n[U[5(d[SU<35eU$![a [SU<35Sef=f![a [SU<35Sef=f)N�.rzinvalid module name: zunknown warning category: zinvalid warning category: ) rP�builtins�
rpartition�
__import__�ImportErrorra�getattr�AttributeErrorrO)r�m�klassrD�_�cats rrsrss������
�(�����#�.�.�s�3���5� P��6�4���w�7�A�S��a����c�7�#�#��X�G�H�H��J��� P��F�D�E�4�O� P���S��X�G�H�d�R�S�s�A1�B�1B�B*c�$�SU;=(a SU;$)N� importlib�
_bootstrapr_)rs r�_is_internal_filenamer�s���(�"�?�|�x�'?�?rc�.^�[U4SjU55$)Nc3�F># �UHnTRU5v� M g7fr)ry)�.0�prefixrs �r� <genexpr>�'_is_filename_to_skip.<locals>.<genexpr>s!����L�9K�v�x�"�"�6�*�*�9K�s�!)�any)r�skip_file_prefixess` r�_is_filename_to_skipr�s����L�9K�L�L�Lrc�@�[URR5$)zFSignal whether the frame is an internal CPython implementation detail.)r��f_code�co_filename)r3s r�_is_internal_framer�s�� ����!9�!9�:�:rc�"�URnUb[URR=n5(d[ X!5(aIURnUb:[URR=n5(aM7[ X!5(aMIU$)zBFind the next frame that doesn't involve Python or user internals.)�f_backr�r�r�r�)r3r�rs r�_next_external_framer�$sq���L�L�E�
�
�!�e�l�l�.F�.F�"F�(�G�G� ��>�>������
�!�e�l�l�.F�.F�"F�(�G�G� ��>�>��Lr�r_)r�c
�n�[U[5(aURnUc[n[U[5(a[U[5(d-[
SR[ U5R55e[U[5(d[
S5eU(a[SU5nUS::d$[[R"S55(a[R"U5nO?[R"S5n[US-
5Hn[XT5nUbM[ e UR"nUR$R&nUR(n SU;aUSn
OS n
UR-S
05n[/XX�X�Xs5 g![ a [R*nSnSn NOf=f)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.�r�z<sys>rr'z<string>�__warningregistry__)rLrP� __class__�UserWarningrNrOr7�formatr'�tuple�maxr�r� _getframe�ranger�rK� f_globalsr�r��f_lineno�__dict__�
setdefaultr)rr�
stacklevelr,r�r3�x�globalsrrrD�registrys rrr/sy���'�7�#�#��$�$�������x��&�&�:�h��+H�+H��%�%+�V�D��N�,C�,C�%D�F� F��(�%�0�0��E�F�F����J�'�
� ���?�0����q�1A�B�B��M�M�*�-�E��M�M�!�$�E��:�a�<�(��,�U�G���=�$�$�)��/�/���<�<�+�+�������W����$�����!�!�"7��<�H��'�X�v��#�����,�,�������s�6A4F�.F�F4�3F4c���[U5nUc'U=(d SnUSSR5S:XaUSSnUc0nURSS5[:waUR 5 [US'[U[5(a[U5nURnO
UnU"U5nX�U4n URU 5(ag[H^n
U
up�p�nUbURU5(dM$[X5(dM6UbURU5(dMQUS:XdX?:XdM^ O [nUS:XagSSK
nURX&5 US:XaUeUS:Xa,S XY'X�4n[RU5(agS [U'OPUS
:XaOIUS:Xa%S XY'X�S4nURU5(agS UU'OUS:XaS XY'O[!S
U<SW
<35e[#XX#US9n[%U5 g)Nz <unknown>���z.py�versionrrCrAr@r�rBrDrEzUnrecognized action (z) in warnings.filters:
)r,)rQ�lower�get�_filters_version�clearrLrPrMr�rY�matchrO�
defaultactionr(�getlines�onceregistry�RuntimeErrorrr:)rrrrrDr��module_globalsr,r#�keyr]rVrr��mod�lnr(�oncekey�altkeys rrr]s�����[�F�
�~��(�[���"�#�;����%�'��C�R�[�F������|�|�I�q�!�%5�5�����.�����'�7�#�#��7�|���$�$�����7�#���6�
"�C��|�|�C������$(�!��S�r�
�[�C�I�I�d�O�O��x�%�%�
�[�C�I�I�f�-�-�
�1�W����
���
�����
���x�0�
����
�
�����
��"�����G�$�$�� !��W�� �8� �� �8� ���
��!�$���<�<��������� �9� ���
���t��� ���H�V�
L�C���rc�,�\rSrSrSrSSjrSrSrg)ri�)rrrrrrr,Nc��XlX lX0lX@lXPlX`lXplU(aURUlgSUlgr) rrrrrrr,r'�_category_name)�selfrrrrrrr,s r�__init__�WarningMessage.__init__�s<���� �
� �
���� �� ���3;�h�/�/�����rc��SUR<SUR<SUR<SUR<SUR<S3$)Nz{message : z
, category : z
, filename : z, lineno : z , line : �})rr�rrr)r�s r�__str__�WarningMessage.__str__�s0��$(�L�L�$�2E�2E�$(�M�M�4�;�;�� � �K� Lr)r�rrrrrrr,)NNN)r'rcrdre�_WARNING_DETAILSr�r�rgr_rrrr�s ��*��BF�#'� F�Lrrc�B�\rSrSrSrSSS\SSS.SjrSrS rS
r Sr
g)r
i�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.
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.
FNr)�recordrDrVrrrJc��XlUc[RSOUUlSUlUcSUlgX4XV4Ulg)z�Specify 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.
N�warningsF)�_recordr�modules�_module�_entered�_filter)r�r�rDrVrrrJs rr��catch_warnings.__init__�s>����28�.�s�{�{�:�.�f�����
��>��D�L�"�f�=�D�Lrc�"�/nUR(aURS5 UR[RSLaURSUR-5 [U5RnU<SSRU5<S3$)Nzrecord=Truer�z module=%r�(z, �))r�rJr�rr�rNr'�join)r�rk�names r�__repr__�catch_warnings.__repr__�sf�����<�<��K�K�
�&��<�<�s�{�{�:�6�6��K�K��d�l�l�2�3��D�z�"�"������4��1�1rc�J�UR(a[SU-5eSUlURRUlURSSURlURR5 URRUlURRUlURb[UR6 UR(aD/nURURlURRURlU$g)NzCannot enter %r twiceT)r�r�r�rY�_filtersr\r�_showwarningrr�rr�rJr5)r��logs r� __enter__�catch_warnings.__enter__�s����=�=��6��=�>�>���
����,�,��
�#�}�}�Q�/��������%�%�'� �L�L�4�4���!%���!?�!?����<�<�#��$�,�,�'��<�<��C�-0�Z�Z�D�L�L�*�(,�|�|�'E�'E�D�L�L�$��J�rc��UR(d[SU-5eURURlURR5 URURlURURlg)Nz%Cannot exit %r without entering first) r�r�r�r�rYr\r�rr)r��exc_infos r�__exit__�catch_warnings.__exit__�s^���}�}��F��M�N�N�#�}�}��������%�%�'�#'�#4�#4���� �)-�)?�)?����&r)r�r�r�r�r�r�r)r'rcrdrerfrPr�r�r�r�rgr_rrr
r
�s,���$"'�t��w�q��>�"2��*@rr
c �N�\rSrSrSr\SS.S\S\\S-S\ S S4S
jjr
SrSrg)
ria"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.
r��rr�rrNr��returnc��[U[5(d"[S[U5R<35eXlX lX0lg)Nz2Expected an object of type str for 'message', not )rLrMr7rNr'rrr�)r�rrr�s rr��deprecated.__init__0sD���'�3�'�'��D�T�'�]�E[�E[�D^�_��
��� �
�$�rc�:^^^ ^
^^�URm URmURmTc T TlT$[ T[
5(a�SSKnSSKJn TRmURT5UUU UU4Sj5n[U5Tl TRm
[ T
U5(a:T
Rm
URT
5UU U
U4Sj5n[U5TlO$URT
5UU U
U4Sj5nUTlT =TlUlT UlT$[T5(a\SSKnSSKnURT5UUU U4Sj5nUR#T5(aUR%U5nT =TlUlU$['ST<35e)Nr)�
MethodTypec�>�UTLa[TTTS-S9 T[RLaT"U/UQ70UD6$UR[RLa&U(dU(a[ UR
S35eT"U5$)Nr�r�z() takes no arguments)r�object�__new__r�r7r')�clsrk�kwargsrlrr�original_newr�s �����rr��$deprecated.__call__.<locals>.__new__Osq����#�:���x�J��N�K��v�~�~�5�'��=�d�=�f�=�=��\�\�V�_�_�4�$�&�#�s�|�|�n�4I�$J�K�K�'��,�,rc�0>�[TTTS-S9 T"U0UD6$�Nr�r��r�rkr�rr�original_init_subclassr�s ����r�__init_subclass__�.deprecated.__call__.<locals>.__init_subclass__c�#�����x�J��N�K�1�4�B�6�B�Brc�0>�[TTTS-S9 T"U0UD6$r�r�r�s ����rr�r�lr�rc�0>�[TTTS-S9 T"U0UD6$r�r�)rkr�rlrrr�s ����r�wrapper�$deprecated.__call__.<locals>.wrapperzs#����S�8�
�Q��G��D�+�F�+�+rzY@deprecated decorator with non-None category must be applied to a class or callable, not )rrr��__deprecated__rLrN� functools�typesr�r��wraps�staticmethodr��__func__�classmethodr6�inspect�iscoroutinefunction�markcoroutinefunctionr7)
r�rlrr�r�r�rr�rrr�r�r�s
` @@@@@r�__call__�deprecated.__call__@s�����l�l���=�=���_�_�
���!$�C���J�
��T�
"�
"��(��;�;�L�
�_�_�\�
*�
-�
-�+�
-�'�w�/�C�K�%(�%:�%:�"��0�*�=�=�)?�)H�)H�&����!7�8�C�9�C�)4�4E�(F��%����!7�8�C�9�C�):��%�:=�=�C���!7�/2��,��J�
�c�]�]���
�_�_�S�
!�
,�"�
,��*�*�3�/�/�!�7�7��@��:=�=�C���!7��N��,�,/�7�4��
r)rrr�)
r'rcrdrerf�DeprecationWarningrMrNrPrQr�r
rgr_rrrrsJ��(�\*<��
%��%�
�w�-�$�&�%��
%�
�%� Hrrz@{name!r} is deprecated and slated for removal in Python {remove})�_versionc��USSUS3nUSSU:�dUSSU:XaUSS:waU<SUS 3n[U5eURXS
9n[U[SS9 g)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)).
rr|r�Nr���alphaz% was slated for removal after Python z alpha)r�rZ)r�)r�r�rr)r�rrZr
�remove_formattedrs r�_deprecatedr�s���!��)��A�f�Q�i�[�1����!��v��8�B�Q�<�6�#9�h�q�k�W�>T���=�>N�=O�v�V���3����n�n�$�n�@���S�$��3rc�&^^�STRS3/nTRbASSKmSSKnUU4SjnUR S5 XR[
U"555-
nSRU5RS5n[U[STS 9 g)
Nzcoroutine 'z' was never awaited
rc3�z># �[TR5HupnTRX5nXX#4v� M g7fr)�reversed� cr_originr))rr�funcnamer�coror(s ��r�extract�*_warn_unawaited_coroutine.<locals>.extract�s:����.6�t�~�~�.F�*��(� �(�(��:����8�8�/G�s�8;z-Coroutine created at (most recent call last)
r>r&r�)rr�r,)rdrr(� tracebackrJ�format_list�listr��rstripr�RuntimeWarning)r� msg_linesrrrr(s` @r�_warn_unawaited_coroutiner!�s����
�d�'�'�(�(=�>��I��~�~�!�#� 9� ���I�J��*�*�4�� �?�;�;� �
�'�'�)�
�
#�
#�D�
)�C� ��~�!�D�Ar)rY�_defaultaction�
_onceregistryrrr\TrEc��[S-
qg)Nr�)r�r_rrr\r\�s
���A��r�gettotalrefcount�__main__)rrDrJrC)rrJ)NNr)Nr�N)NNNN)4rfr�__all__rrrrr5r:r<r rPrrrUr r*rarmrirrrsr�r�r�r�rrr�rr
r�_DEPRECATED_MSG�version_inforr!� _warningsrYr"r#r\r�r��_warnings_defaultsr�r��warnoptions�hasattrr�PendingDeprecationWarning�
ImportWarning�ResourceWarningr_rr�<module>r1s���,�
�<���
$�
�9
�x ���&$��$�$&���1��%J�N#*�!�E�E�$��
�9� �
F�>�89��*@�M�;�
�,#�!�,#�^>B��D�NL�V�L�,I@�V�I@�XB�B�JU��-�4�3�CS�CS�4�(B�<�B�B�"�M� �L��� ���� ���3�*�+�+��y�+=�(�� 4��X�(:�1�E��X�(A�!�L��X�
�a�@��X���B���5���G��M��L�������s�*D�D(�'D(
?>