관리-도구
편집 파일: __init__.cpython-38.pyc
U ʗRel � @ s� d dl T d dlmZmZ ddlZddlZdZdZej� d�sJej d dkr`d d lmZm Z mZ nBzd d lmZm Z mZ W n( ek r� d d lmZm Z mZ Y nX d d� Zdd � Zdd� ZeZe ZeZeZdS )� )�*)�ExtType� Timestamp� N)r r � z1.0.4ZMSGPACK_PUREPYTHON� )�Packer�unpackb�Unpackerc K s t f |�}|�|�| �� dS )zX Pack object `o` and write it to `stream` See :class:`Packer` for options. N)r �write�pack)�o�stream�kwargs�packer� r ��/builddir/build/BUILDROOT/alt-python38-pip-22.2.1-2.el8.x86_64/opt/alt/python38/lib/python3.8/site-packages/pip/_vendor/msgpack/__init__.pyr s r c K s t f |��| �S )zW Pack object `o` and return packed bytes See :class:`Packer` for options. )r r )r r r r r �packb s r c K s | � � }t|f|�S )z� Unpack an object from `stream`. Raises `ExtraData` when `stream` contains extra bytes. See :class:`Unpacker` for options. )�readr )r r �datar r r �unpack) s r )� exceptions�extr r �os�sys�version�__version__�environ�get�version_info�fallbackr r r Z _cmsgpack�ImportErrorr r r �load�loads�dump�dumpsr r r r �<module> s$