Server : Apache System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64 User : nobody ( 99) PHP Version : 8.1.23 Disable Function : NONE Directory : /opt/alt/python311/lib64/python3.11/importlib/__pycache__/ |
� �,d�, � �F � d dl mZ d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ d dlm Z d dlm Z d d lmZ d d lmZ d dlm Z dd lmZ ddlZddlZddlZddlZddlZd� Zd� Zdd�Zdd�Zed� � � Zd� Zd� Zd� Z G d� dej � � Z G d� de� � ZdS )� )�Loader)�module_from_spec)� _resolve_name)�spec_from_loader)� _find_spec)�MAGIC_NUMBER)�_RAW_MAGIC_NUMBER)�cache_from_source)� decode_source)�source_from_cache)�spec_from_file_location� )�contextmanagerNc �8 � t j t | � � S �N)�_imp�source_hashr )�source_bytess �5/opt/alt/python311/lib64/python3.11/importlib/util.pyr r s � �H���-�|�<�<�<� c �� � | � d� � s| S |s t dt | � � � d�� � �d}| D ]}|dk r n|dz }�t | |d � ||� � S )N�.zno package specified for z% (required for relative module names)r r )� startswith�ImportError�reprr )�name�package�level� characters r �resolve_namer s� � �<��?�?�3��� B��� � B�� A�d�4�j�j� A� A� A� B� B� B� �E�� � � ������E� �� �����e�f�f��w��6�6�6r c �* � | t j vrt | |� � S t j | }|�d S |j }|�"t d� | � � � � �|S # t $ r$ t d� | � � � � d �w xY w)N�{}.__spec__ is None�{}.__spec__ is not set)�sys�modulesr �__spec__� ValueError�format�AttributeError)r �path�module�specs r �_find_spec_from_pathr- * s� � � � �3�;����$��%�%�%���T�"���>��4� ��?�D� �|� �!6�!=�!=�d�!C�!C�D�D�D��K�� � N� N� N��5�<�<�T�B�B�C�C��M� N���s �A$ �$.Bc �@ � | � d� � rt | |� � n| }|t j vrt|� d� � d }|rEt |dg�� � } |j }n,# t $ r}t d|�d|��|�� � |�d }~ww xY wd }t ||� � S t j | }|�d S |j }|�"t d� | � � � � �|S # t $ r$ t d � | � � � � d �w xY w) Nr r �__path__)�fromlistz __path__ attribute not found on z while trying to find )r r"