| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/jedi/inference/__pycache__/ |
Upload File : |
�
e*Z � �� � d Z ddlZddlmZ ddlmZ ddlmZ ddlm Z ddlm
Z
ddlmZ dd l
mZ dd
lmZ ddlmZ ddlmZ dd
lmZ ddlmZ ddlmZ ddlmZmZ ddlmZmZ ddlmZm Z m!Z! ddl"m#Z# ddl$m%Z% G d� d� Z& ee�� d� � Z' eg �� d� � Z(d� Z)d� Z*d� Z+ G d� d� Z, d(d �Z- e%j\ � ed!� � � Z/ d)d"�Z0d*d#�Z1d*d$�Z2d%� Z3d&� Z4edfd'�Z5y)+a�
:mod:`jedi.inference.imports` is here to resolve import statements and return
the modules/classes/functions/whatever, which they stand for. However there's
not any actual importing done. This module is about finding modules in the
filesystem. This can be quite tricky sometimes, because Python imports are not
always that simple.
This module also supports import autocompletion, which means to complete
statements like ``from datetim`` (cursor at the end would return ``datetime``).
� N)�Path)�tree)�search_ancestor)�debug)�settings)�FolderIO)�get_cached_code_lines)�sys_path)�helpers)�compiled)�analysis)�unite)�inference_state_method_cache)�
ImportName�
SubModuleName)�ValueSet� NO_VALUES)�import_module_decorator�create_stub_module�parse_stub_module)�ImplicitNSInfo)�plugin_managerc � � e Zd Zd� Zd� Zd� Zy)�ModuleCachec � � i | _ y �N��_name_cache��selfs �8/usr/lib/python3/dist-packages/jedi/inference/imports.py�__init__zModuleCache.__init__$ s
� ���� c �( � |�|| j |<