관리-도구
편집 파일: manager.cpython-311.pyc
� �܋f(F � �, � d Z ddlmZ ddlZddlZddlZddlZddlmZm Z m Z ddlmZm Z ddlmZmZ ddlmZ ddlmZ dd lmZ dd lmZmZ ddlmZmZ ddlmZmZ dd l m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z) ddl*m+Z+ ddl,m-Z-m.Z. dZ/dd�Z0 G d� d� � Z1dS )z�astroid manager: avoid multiple astroid build of a same module when possible by providing a class responsible to get astroid representation from various source and using a cache of built modules) � )�annotationsN)�Callable�Iterator�Sequence)� find_spec�module_from_spec)�Any�ClassVar)�nodes)� CACHE_MANAGER)�BRAIN_MODULES_DIRECTORY)�InferenceContext�_invalidate_cache)�AstroidBuildingError�AstroidImportError)�spec�util) �NoSourceFile�_cache_normalize_path_�file_info_from_modpath�get_source_file�2is_module_name_part_of_extension_package_whitelist�is_python_source�is_stdlib_module�load_module_from_name�modpath_from_file)�TransformVisitor)�AstroidManagerBrain�InferenceResult)z.zipz.eggz.whlz.pyzz.pyzw�objr �return�strc �D � t | � � S # t $ r Y dS w xY w)Nz???)�repr� Exception)r s �`/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/astroid/manager.py� safe_reprr'