관리-도구
편집 파일: util.cpython-312.opt-2.pyc
� �Q�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 lZdd lZdd lZd� Zd� Zdd�Zdd�Z G d� d� Z G d� dej, � Z G d� de� Zy )� )�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� Nc �8 � t j t | � S �N)�_imp�source_hashr )�source_bytess �5/opt/alt/python312/lib64/python3.12/importlib/util.pyr r s � �H����-�|�<�<� c � � | j d� s| S |st dt | � � d�� �d}| D ] }|dk7 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 sz � �<��?�?�3���� ��5�d�4�j�\� BA� A� B� B� �E�� ����� �� �� � ��e�f��w��6�6r c �� � | t j vrt | |� S t j | }|�y |j }|�t | � d�� �|S # t $ r t | � d�� d �w xY w)N�.__spec__ is None�.__spec__ is not set)�sys�modulesr �__spec__� ValueError�AttributeError)r �path�module�specs r �_find_spec_from_pathr+ '