| 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 : |
�
p�{c�
� �( � d Z ddlZddlZddlZej j Zej j �eej j z
Z ej d� ej
e� � � � � � Z[d� Zd� Z
d� Z G d� de� � Zd � Zd
� Z G d� 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>.wrapper s �� ��D�D�$�)�&�)�)�*�*�*� � �r
r s ` r �to_listr s! �� �+� +� +� +� +��Nr
c � � � � fd�}|S )Nc �. �� t �| i |��� � S r )�tupler s �r r zto_tuple.<locals>.wrapper s �� ��T�T�4�*�6�*�*�+�+�+r
r r s ` r �to_tupler s! �� �,� ,� ,� ,� ,��Nr
c �4 � t d� | D � � � � S )z5Turns a two dimensional array into a one dimensional.c 3 �$ K � | ]}|D ]}|V � ��d S r r )�.0�types�typs r � <genexpr>zunite.<locals>.<genexpr> s/ � � � �:�:�u�E�:�:�S�s�:�:�:�:�:�:�:r
)�set)�iterables r �uniter s � ��:�:��:�:�:�:�:�:r
c � � e Zd ZdZdS )�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__r r
r r r s � � � � � �� � � r
r c �: � t t | � � � � S r )�property�reraise_uncaught)r
s r �
safe_propertyr'