Current Dir: /snap/core22/2437/usr/lib/python3.10/encodings/__pycache__/

[FILE] aliases.cpython-310.pyc [ edit | delete | rename ]
[FILE] ascii.cpython-310.pyc [ edit | delete | rename ]
[FILE] base64_codec.cpython-310.pyc [ edit | delete | rename ]
[FILE] big5.cpython-310.pyc [ edit | delete | rename ]
[FILE] big5hkscs.cpython-310.pyc [ edit | delete | rename ]
[FILE] bz2_codec.cpython-310.pyc [ edit | delete | rename ]
[FILE] charmap.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp037.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp273.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp424.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp437.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp500.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp720.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp737.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp775.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp850.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp852.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp855.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp856.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp857.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp858.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp860.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp861.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp862.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp863.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp864.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp865.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp866.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp869.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp874.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp875.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp932.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp949.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp950.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1006.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1026.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1125.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1140.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1250.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1251.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1252.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1253.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1254.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1255.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1256.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1257.cpython-310.pyc [ edit | delete | rename ]
[FILE] cp1258.cpython-310.pyc [ edit | delete | rename ]
[FILE] euc_jisx0213.cpython-310.pyc [ edit | delete | rename ]
[FILE] euc_jis_2004.cpython-310.pyc [ edit | delete | rename ]
[FILE] euc_jp.cpython-310.pyc [ edit | delete | rename ]
[FILE] euc_kr.cpython-310.pyc [ edit | delete | rename ]
[FILE] gb2312.cpython-310.pyc [ edit | delete | rename ]
[FILE] gb18030.cpython-310.pyc [ edit | delete | rename ]
[FILE] gbk.cpython-310.pyc [ edit | delete | rename ]
[FILE] hex_codec.cpython-310.pyc [ edit | delete | rename ]
[FILE] hp_roman8.cpython-310.pyc [ edit | delete | rename ]
[FILE] hz.cpython-310.pyc [ edit | delete | rename ]
[FILE] idna.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso2022_jp.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso2022_jp_1.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso2022_jp_2.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso2022_jp_3.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso2022_jp_2004.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso2022_jp_ext.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso2022_kr.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_1.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_2.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_3.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_4.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_5.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_6.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_7.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_8.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_9.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_10.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_11.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_13.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_14.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_15.cpython-310.pyc [ edit | delete | rename ]
[FILE] iso8859_16.cpython-310.pyc [ edit | delete | rename ]
[FILE] johab.cpython-310.pyc [ edit | delete | rename ]
[FILE] koi8_r.cpython-310.pyc [ edit | delete | rename ]
[FILE] koi8_t.cpython-310.pyc [ edit | delete | rename ]
[FILE] koi8_u.cpython-310.pyc [ edit | delete | rename ]
[FILE] kz1048.cpython-310.pyc [ edit | delete | rename ]
[FILE] latin_1.cpython-310.pyc [ edit | delete | rename ]
[FILE] mac_arabic.cpython-310.pyc [ edit | delete | rename ]
[FILE] mac_croatian.cpython-310.pyc [ edit | delete | rename ]
[FILE] mac_cyrillic.cpython-310.pyc [ edit | delete | rename ]
[FILE] mac_farsi.cpython-310.pyc [ edit | delete | rename ]
[FILE] mac_greek.cpython-310.pyc [ edit | delete | rename ]
[FILE] mac_iceland.cpython-310.pyc [ edit | delete | rename ]
[FILE] mac_latin2.cpython-310.pyc [ edit | delete | rename ]
[FILE] mac_roman.cpython-310.pyc [ edit | delete | rename ]
[FILE] mac_romanian.cpython-310.pyc [ edit | delete | rename ]
[FILE] mac_turkish.cpython-310.pyc [ edit | delete | rename ]
[FILE] mbcs.cpython-310.pyc [ edit | delete | rename ]
[FILE] oem.cpython-310.pyc [ edit | delete | rename ]
[FILE] palmos.cpython-310.pyc [ edit | delete | rename ]
[FILE] ptcp154.cpython-310.pyc [ edit | delete | rename ]
[FILE] punycode.cpython-310.pyc [ edit | delete | rename ]
[FILE] quopri_codec.cpython-310.pyc [ edit | delete | rename ]
[FILE] raw_unicode_escape.cpython-310.pyc [ edit | delete | rename ]
[FILE] rot_13.cpython-310.pyc [ edit | delete | rename ]
[FILE] shift_jis.cpython-310.pyc [ edit | delete | rename ]
[FILE] shift_jisx0213.cpython-310.pyc [ edit | delete | rename ]
[FILE] shift_jis_2004.cpython-310.pyc [ edit | delete | rename ]
[FILE] tis_620.cpython-310.pyc [ edit | delete | rename ]
[FILE] undefined.cpython-310.pyc [ edit | delete | rename ]
[FILE] unicode_escape.cpython-310.pyc [ edit | delete | rename ]
[FILE] utf_7.cpython-310.pyc [ edit | delete | rename ]
[FILE] utf_8.cpython-310.pyc [ edit | delete | rename ]
[FILE] utf_8_sig.cpython-310.pyc [ edit | delete | rename ]
[FILE] utf_16.cpython-310.pyc [ edit | delete | rename ]
[FILE] utf_16_be.cpython-310.pyc [ edit | delete | rename ]
[FILE] utf_16_le.cpython-310.pyc [ edit | delete | rename ]
[FILE] utf_32.cpython-310.pyc [ edit | delete | rename ]
[FILE] utf_32_be.cpython-310.pyc [ edit | delete | rename ]
[FILE] utf_32_le.cpython-310.pyc [ edit | delete | rename ]
[FILE] uu_codec.cpython-310.pyc [ edit | delete | rename ]
[FILE] zlib_codec.cpython-310.pyc [ edit | delete | rename ]
[FILE] __init__.cpython-310.pyc [ edit | delete | rename ]

Viewing: /snap/core22/2437/usr/lib/python3.10/encodings/__pycache__/bz2_codec.cpython-310.pyc

o

p̦i��@s�dZddlZddlZddd�Zddd�ZGdd	�d	ej�ZGd
d�dej�ZGdd
�d
ej�ZGdd�deej�ZGdd�deej	�Z	dd�Z
dS)aPython '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).
�N�strictcC�|dksJ�t�|�t|�fS�Nr)�bz2�compress�len��input�errors�r�*/usr/lib/python3.10/encodings/bz2_codec.py�
bz2_encode�r
cCrr)r�
decompressrrrrr�
bz2_decoderrc@s eZdZddd�Zddd�ZdS)�CodecrcC�
t||�S�N)r
��selfr	r
rrr�encode�
zCodec.encodecCrr)rrrrr�decoderzCodec.decodeN�r)�__name__�
__module__�__qualname__rrrrrrrs
rc@�(eZdZd
dd�Zddd�Zdd�Zd	S)�IncrementalEncoderrcC� |dksJ�||_t��|_dSr)r
r�
BZ2Compressor�compressobj�rr
rrr�__init__�zIncrementalEncoder.__init__FcCs*|r|j�|�}||j��S|j�|�Sr)r!r�flush)rr	�final�crrrr#szIncrementalEncoder.encodecC�t��|_dSr)rr r!�rrrr�reset*�zIncrementalEncoder.resetNr�F)rrrr#rr*rrrrrs

rc@r)�IncrementalDecoderrcCrr)r
r�BZ2Decompressor�
decompressobjr"rrrr#.r$zIncrementalDecoder.__init__FcCs$z|j�|�WStyYdSw)N�)r/r�EOFError)rr	r&rrrr3s
�zIncrementalDecoder.decodecCr(r)rr.r/r)rrrr*9r+zIncrementalDecoder.resetNrr,)rrrr#rr*rrrrr--s

r-c@�eZdZeZdS)�StreamWriterN�rrr�bytes�charbuffertyperrrrr3<�r3c@r2)�StreamReaderNr4rrrrr8?r7r8c
Cstjdttttttdd�S)NrF)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader�_is_text_encoding)�codecs�	CodecInfor
rrr-r3r8rrrr�getregentryDs�rAr)�__doc__r?rr
rrrr-r3r8rArrrr�<module>s	


Upload File: