Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /lib/python3.12/encodings/__pycache__/ |
Upload File : |
� )!�h� � � � d Z ddlZddlZdd�Zdd�Z G d� dej � Z G d� dej � Z G d � d ej � Z G d� deej � Z G d � deej � Z d� Z y)a Python 'bz2_codec' Codec - bz2 compression encoding. This codec de/encodes from bytes to bytes and is therefore usable with bytes.transform() and bytes.untransform(). Adapted by Raymond Hettinger from zlib_codec.py which was written by Marc-Andre Lemburg (mal@lemburg.com). � Nc �P � |dk( sJ �t j | � t | � fS �N�strict)�bz2�compress�len��input�errorss �*/usr/lib/python3.12/encodings/bz2_codec.py� bz2_encoder s( � ��X�����L�L����U��,�,� c �P � |dk( sJ �t j | � t | � fS r )r � decompressr r s r � bz2_decoder s( � ��X�����N�N�5�!�3�u�:�.�.r c � � e Zd Zdd�Zdd�Zy)�Codecc � � t ||� S �N)r ��selfr r s r �encodezCodec.encode � � ��%��(�(r c � � t ||� S r )r r s r �decodezCodec.decode r r N�r )�__name__� __module__�__qualname__r r � r r r r s � �)�)r r c �"