관리-도구
편집 파일: __init__.cpython-311.pyc
� �܋f� � �� � d dl mZmZmZmZ n�# ddlZddlZej � ej � ej � e � � � � � � Zej � e� � ddl mZmZmZmZ eej � ed� � � � Zdez Z eej � ed� � � � Z[[[[[Y nxY wd dlmZmZmZmZmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z' d d l(m)Z)m*Z*m+Z+m,Z,m-Z- d d l.m/Z/m0Z0m(Z(m1Z1m2Z2 d dl3m3Z3 e0j4 d� � i Z5d d l.m6Z7 dd�Z8dd�Z9 e9� � d� Z:d� Z;dS )� )�__version__� __author__�__doc__�__license__� N)r r �get_license_text�get_readme_as_rst�LICENSEz %sz README.md)�dump�dumps�load�loads�copy�Pickler� Unpickler�register�pickle�pickles�check�DEFAULT_PROTOCOL�HIGHEST_PROTOCOL�HANDLE_FMODE�CONTENTS_FMODE� FILE_FMODE�PickleError� PickleWarning� PicklingError�PicklingWarning�UnpicklingError�UnpicklingWarning)�dump_module�load_module�load_module_asdict�dump_session�load_session)�detect�logger�session�source�temp)�settingsF)�objtypesTc � � ddl m} ddlm} | r t � |j � � nd� |j D � � |r t � |j � � nd� |j D � � t � |j � � ~d� t t j � � � � � D � � |t � � dS ) a load pickleable and/or unpickleable types to ``dill.types`` ``dill.types`` is meant to mimic the ``types`` module, providing a registry of object types. By default, the module is empty (for import speed purposes). Use the ``load_types`` function to load selected object types to the ``dill.types`` module. Args: pickleable (bool, default=True): if True, load pickleable types. unpickleable (bool, default=True): if True, load unpickleable types. Returns: None r )�reloadr )�_objectsc �D � g | ]}t � |d � � ��S �N��objects�pop��.0�objs �^/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/dill/__init__.py� <listcomp>zload_types.<locals>.<listcomp>K �&