Your IP : 3.135.195.180
a
R�f�^ � @ s� d dl mZ d dlmZ d dlZd dlZd dlZd dlZd dl Zd dl
Z
d dlZd dlm
Z
d dlZg d�Zedd�Zde_d d
� Zdd� Zd1dd�Zd2dd�Zed3dd��Zd4dd�Ze�ejje� dd� ZG dd� d�ZG dd� d�Zz.d dlZd dlmZ d5dd�Z e�ee � W n e!�y. Y n0 dd � Z"d6d!d"�Z#d#d$� Z$d%d&� Z%d'd(� Z&d)d*� Z'd+Z(e
�)d,e(� d-e(� d.�e
j*�Z+[(d/d0� Z,dS )7� )�
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 sP z
| j }W n8 tyB | �|�}|d u r0Y d S tj�||� Y S 0 ||�S d S �N)� find_spec�AttributeError�find_module� importlib�util�spec_from_loader)�finder�namer �loader� r �,/opt/alt/python39/lib64/python3.9/pkgutil.py� _get_spec s
r c C s6 dd l }| �d�}|tjjkr"d S | �d� |�| �S )Nr � � )�marshal�readr r �MAGIC_NUMBER�load)�streamr �magicr r r r ) s
r � c # s� i fdd�� t | |�D ]�}|V |jrzt|j� W nJ tyX |d urT||j� Y q ty~ |d urx||j� n� Y q0 ttj|j dd �p�g } � fdd�| D �} t | |jd |�E d H qd S )Nc S s | |v rdS d|| <