File: //lib/python3.10/__pycache__/imp.cpython-310.pyc
o
    E�h_)  �                   @   s�  d Z ddlmZmZmZmZmZmZmZm	Z	m
Z
 zddlmZ W n ey+   dZY nw ddl
mZmZmZmZ ddlmZ ddlmZ ddlmZ ddlZddlZddlZddlZddlZddlZejd	ed
d� dZdZd
Z d
Z!dZ"dZ#dZ$dZ%dZ&dZ'dd� Z(dd� Z)dd� Z*d8dd�Z+dd� Z,dd� Z-G d d!� d!�Z.G d"d#� d#�Z/G d$d%� d%e/ej0�Z1d8d&d'�Z2G d(d)� d)e/e�Z3d8d*d+�Z4d,d-� Z5d.d/� Z6d8d0d1�Z7d2d3� Z8d4d5� Z9er�d8d6d7�Z:dS dZ:dS )9z�This module provides the components needed to build your own __import__
function.  Undocumented functions are obsolete.
In most cases it is preferred you consider using the importlib module's
functionality over this module.
�    )	�	lock_held�acquire_lock�release_lock�get_frozen_object�is_frozen_package�init_frozen�
is_builtin�	is_frozen�_fix_co_filename)�create_dynamicN)�_ERR_MSG�_exec�_load�_builtin_from_name)�SourcelessFileLoader)�	machinery)�utilz�the imp module is deprecated in favour of importlib and slated for removal in Python 3.12; see the module's documentation for alternative uses�   )�
stacklevel�   �   �   �   �   �   �   �	   c                 C   �
   t �| �S )z_**DEPRECATED**
    Create a new module.
    The module is not entered into sys.modules.
    )�types�
ModuleType��name� r"