HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/wheel/__pycache__/pkginfo.cpython-310.pyc
o

c�a��@s�dZddlmZzedZWneydZYnwes0ddlmZdd�Zdd	�Z	d
d�Z
dSddlmZd
d�Zdd	�Z	dd�Z
dS)zTTools for reading and writing PKG-INFO / METADATA without caring
about the encoding.�)�ParserFT)�	GeneratorcCst��|�S)N)r�parsestr)�bytestr�r�//usr/lib/python3/dist-packages/wheel/pkginfo.py�read_pkg_info_bytessrcCs<t|d��}t��|�}Wd�|S1swY|S)N�r��openr�parse��path�headers�messagerrr�
read_pkg_infos
��rcC�Dt|d��}t|ddd��|�Wd�dS1swYdS)N�wFr��mangle_from_�maxheaderlen)rr�flatten)rr�metadatarrr�write_pkg_info�"�r)�BytesGeneratorcCs|jddd�}t��|�}|S)N�ascii�surrogateescape��encoding�errors)�decoderr)rrrrrrrscCsBt|dddd��}t��|�}Wd�|S1swY|S)Nr	rrrr
r
rrrr"s�
��cCr)N�wbFrr)rrr)rr�outrrrr)rN)�__doc__�email.parserr�unicode�_PY3�	NameError�email.generatorrrrrrrrrr�<module>s"�