관리-도구
편집 파일: pkgutil.cpython-310.opt-2.pyc
o 6��f ` � @ sj d dl mZ d dlmZ d dlZd dlZd dlZd dlZd dl Zd dl Z d dlmZ d dl Z g d�Zedd�Zde_d d � Zdd� Zd-dd�Zd.dd�Zed/dd��Zd/dd�Ze�ejje� dd� ZG dd� d�ZG dd� d�Zzd dlZd dlmZ d/dd�Ze�ee� W n e y� Y nw dd � Z!d/d!d"�Z"d#d$� Z#d%d&� Z$d'd(� Z%d)d*� Z&da'd+d,� Z(dS )0� )� namedtuple)�singledispatchN)� ModuleType)�get_importer�iter_importers� get_loader�find_loader� walk_packages�iter_modules�get_data�ImpImporter� ImpLoader� read_code�extend_path� ModuleInfor zmodule_finder name ispkgz.A namedtuple with minimal info about a module.c C sL z| j }W ||�S ty% | �|�}|d u rY d S tj�||� Y S w �N)� find_spec�AttributeError�find_module� importlib�util�spec_from_loader)�finder�namer �loader� r �./opt/alt/python310/lib64/python3.10/pkgutil.py� _get_spec s � �r c C s6 dd l }| �d�}|tjjkrd S | �d� |�| �S )Nr � � )�marshal�readr r �MAGIC_NUMBER�load)�streamr �magicr r r r ( s r � c # s� � i fdd�� t | |�D ]V}|V |jrczt|j� W n% ty. |d ur,||j� Y q tyA |d ur>||j� n� Y q w ttj|j dd �pMg } � fdd�| D �} t | |jd |�E d H q d S )Nc S s | |v rdS d|| <