관리-도구
편집 파일: __init__.cpython-312.pyc
� G��el � � � d dl � d dlmZmZ ddlZddlZdZdZej j d� sej d dk( rd d lmZm Z mZ n d d lmZm Z mZ d � Zd� Zd� ZeZe ZeZeZy# e$ r d d lmZm Z mZ Y �#w xY w) � )�*)�ExtType� Timestamp� N)r r � z1.0.5�MSGPACK_PUREPYTHON� )�Packer�unpackb�Unpackerc �Z � t di |��}|j |j | � � y)zX Pack object `o` and write it to `stream` See :class:`Packer` for options. N� )r �write�pack)�o�stream�kwargs�packers ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/msgpack/__init__.pyr r s% � � � �f� �F� �L�L����Q�� � c �6 � t di |��j | � S )zW Pack object `o` and return packed bytes See :class:`Packer` for options. r )r r )r r s r �packbr s � � ��F�� � ��#�#r c �: � | j � }t |fi |��S )z� Unpack an object from `stream`. Raises `ExtraData` when `stream` contains extra bytes. See :class:`Unpacker` for options. )�readr )r r �datas r �unpackr ) s � � �;�;�=�D��4�"�6�"�"r )� exceptions�extr r �os�sys�version�__version__�environ�get�version_info�fallbackr r r � _cmsgpack�ImportErrorr r r �load�loads�dump�dumpsr r r �<module>r- s� �� � #� � � ���� �:�:�>�>�&�'�3�+;�+;�A�+>�!�+C�3�3�8�8�8� !�$�#� ������ ���O � 8�7�7�8�s � A/ �/B� B