| 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/compiled/__pycache__/ |
Upload File : |
�
p�{cX, � �� � d Z ddlZddlmZ ddlmZ ddlmZ ddlm Z ddl
mZ ddlm
Z
dd lmZ dd
lmZmZmZ ddlmZ ddlmZmZ dd
lmZmZ ddlmZ ddlmZm Z m!Z! e"� � Z# G d� de� � Z$ G d� dee!� � Z% G d� de e%� � Z& G d� de� � Z' G d� dej( � � Z) e� � d� � � Z*d� Z+d� Z, e� � d� � � Z-dS )z
Used only for REPL Completion.
� N)�Path)�get_cached_code_lines)�settings)�memoize_method)�compiled)�FileIO)�NameWrapper)�ValueSet�ValueWrapper� NO_VALUES)�ModuleValue)�inference_state_function_cache�inference_state_method_cache)�ALLOWED_GETITEM_TYPES�get_api_type)�to_stub)�CompiledContext�CompiledModuleContext�TreeContextMixinc � � � e Zd ZdZ� fd�Zd� Zd� Z ee�� � d� � � Z e
fd�Zed� � � Z
d � Zd
� Zd� Zd� Zd
� Z� xZS )�MixedObjecta�
A ``MixedObject`` is used in two ways:
1. It uses the default logic of ``parser.python.tree`` objects,
2. except for getattr calls and signatures. The names dicts are generated
in a fashion like ``CompiledValue``.
This combined logic makes it possible to provide more powerful REPL
completion. It allows side effects that are not noticable with the default
parser structure to still be completable.
The biggest difference from CompiledValue to MixedObject is that we are
generally dealing with Python code and not with C code. This will generate
fewer special cases, because we in Python you don't have the same freedoms
to modify the runtime.
c �p �� t � � � |� � || _ |j | _ d S �N)�super�__init__�compiled_value�
access_handle)�selfr �
tree_value� __class__s ��?/usr/lib/python3/dist-packages/jedi/inference/compiled/mixed.pyr zMixedObject.__init__, s4 �� �
������$�$�$�,���+�9����� c / �N K � t | j | j | j � � V � d S r )�MixedObjectFilter�inference_stater �_wrapped_value)r �args�kwargss r! �get_filterszMixedObject.get_filters1 sC � � � ��� �$�"5�t�7J�L� L� L� L� L� L� Lr"