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/jedi/inference/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/jedi/inference/__pycache__/utils.cpython-311.pyc
�

p�{c�
��(�dZddlZddlZddlZejjZejj�eejjz
Zejd�	ej
e������Z[d�Zd�Z
d�ZGd�de��Zd	�Zd
�ZGd�d��ZdS)
zC A universal module with functions / classes without dependencies. �Nz (?:\.[^{0}]+|[{0}]__init__\.py)$c����fd�}|S)Nc�.��t�|i|����S�N)�list��args�kwargs�funcs  ��6/usr/lib/python3/dist-packages/jedi/inference/utils.py�wrapperzto_list.<locals>.wrappers ����D�D�$�)�&�)�)�*�*�*���r
rs` r�to_listrs!���+�+�+�+�+��Nr
c����fd�}|S)Nc�.��t�|i|����Sr)�tuplers  �rrzto_tuple.<locals>.wrappers ����T�T�4�*�6�*�*�+�+�+r
rrs` r�to_tuplers!���,�,�,�,�,��Nr
c�4�td�|D����S)z5Turns a two dimensional array into a one dimensional.c3�$K�|]}|D]}|V���dSrr)�.0�types�typs   r�	<genexpr>zunite.<locals>.<genexpr>s/����:�:�u�E�:�:�S�s�:�:�:�:�:�:�:r
)�set)�iterables r�uniters���:�:��:�:�:�:�:�:r
c��eZdZdZdS)�UncaughtAttributeErrora�
    Important, because `__getattr__` and `hasattr` catch AttributeErrors
    implicitly. This is really evil (mainly because of `__getattr__`).
    Therefore this class originally had to be derived from `BaseException`
    instead of `Exception`.  But because I removed relevant `hasattr` from
    the code base, we can now switch back to `Exception`.

    :param base: return values of sys.exc_info().
    N)�__name__�
__module__�__qualname__�__doc__rr
rrrs���������r
rc�:�tt|����Sr)�property�reraise_uncaught)r
s r�
safe_propertyr'+s���$�T�*�*�+�+�+r
c�F��tj����fd���}|S)a*
    Re-throw uncaught `AttributeError`.

    Usage:  Put ``@rethrow_uncaught`` in front of the function
    which does **not** suppose to raise `AttributeError`.

    AttributeError is easily get caught by `hasattr` and another
    ``except AttributeError`` clause.  This becomes problem when you use
    a lot of "dynamic" attributes (e.g., using ``@property``) because you
    can't distinguish if the property does not exist for real or some code
    inside of the "dynamic" attribute through that error.  In a well
    written code, such error should not exist but getting there is very
    difficult.  This decorator is to help us getting there by changing
    `AttributeError` to `UncaughtAttributeError` to avoid unexpected catch.
    This helps us noticing bugs earlier and facilitates debugging.
    c�Z��	�|i|��S#t$r}t|��|�d}~wwxYwr)�AttributeErrorr)r�kwds�er
s   �rrz!reraise_uncaught.<locals>.wrapper@sL���	3��4��&��&�&�&���	3�	3�	3�(��+�+��2�����	3���s��
*�%�*)�	functools�wrapsrs` rr&r&/s:���"�_�T���3�3�3�3���3�
�Nr
c�&�eZdZd�Zd�Zd�Zd�ZdS)�PushBackIteratorc�0�g|_||_d|_dSr)�pushes�iterator�current)�selfr3s  r�__init__zPushBackIterator.__init__Js����� ��
�����r
c�:�|j�|��dSr)r2�append)r5�values  r�	push_backzPushBackIterator.push_backOs������5�!�!�!�!�!r
c��|Srr�r5s r�__iter__zPushBackIterator.__iter__Rs���r
c��|jr|j���|_nt|j��|_|jSr)r2�popr4�nextr3r<s r�__next__zPushBackIterator.__next__Us:���;�	/��;�?�?�,�,�D�L�L���
�.�.�D�L��|�r
N)r r!r"r6r:r=rArr
rr0r0IsP���������
"�"�"��������r
r0)r#r-�re�os�path�sep�_sep�altsep�compile�format�escape�_path_rerrr�	Exceptionrr'r&r0rr
r�<module>rMs ��I�I�����	�	�	�	�	�	�	�	�
�w�{���7�>���B�G�N��D��2�:�9�@�@����4���Q�Q�R�R���������;�;�;�
	�	�	�	�	�Y�	�	�	�,�,�,����4���������r

Youez - 2016 - github.com/yon3zu
LinuXploit