PK APOCALYPSE V1

APOCALYPSE V1

Current Path : /opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/idna/__pycache__/
Upload File :
Current File : //opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/idna/__pycache__/codec.cpython-35.pyc



��Re��@s�ddlmZmZmZmZmZddlZddlZejd�Z	Gdd�dej
�Z
Gdd�dej�ZGd	d
�d
ej
�ZGdd�de
ej�ZGd
d�de
ej�Zdd�ZdS)�)�encode�decode�alabel�ulabel�	IDNAError�Nu[.。.。]c@s.eZdZddd�Zddd�ZdS)�Codec�strictcCsA|dkr!tdj|���|s+dSt|�t|�fS)Nr	z Unsupported error handling "{0}"�r)r
r)r�formatr�len)�self�data�errors�r��/builddir/build/BUILDROOT/alt-python35-pip-20.2.4-5.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/pip/_vendor/idna/codec.pyr	s
zCodec.encodecCsA|dkr!tdj|���|s+dSt|�t|�fS)Nr	z Unsupported error handling "{0}"r
r)r
r)rrrr)r
rrrrrrs
zCodec.decodeN)�__name__�
__module__�__qualname__rrrrrrrs
rc@seZdZdd�ZdS)�IncrementalEncoderc	Cs�|dkr!tdj|���|s+dStj|�}d}|ry|ds`d}|d	=n|sy|d
=|ryd}g}d}xA|D]9}|jt|��|r�|d7}|t|�7}q�Wdj|�|}|t|�7}||fS)Nr	z Unsupported error handling "{0}"r
rr�.)r
r���rr)rr�_unicode_dots_re�split�appendrr�join)	r
rr�final�labels�trailing_dot�result�size�labelrrr�_buffer_encodes0



z!IncrementalEncoder._buffer_encodeN)rrrr"rrrrrsrc@seZdZdd�ZdS)�IncrementalDecoderc	Cs0|dkr!tdj|���|s+dSt|t�rLtj|�}n(t|�}t|d�|jd�}d}|r�|d	s�d}|d
=n|s�|d=|r�d}g}d}xA|D]9}|jt|��|r�|d7}|t	|�7}q�Wdj
|�|}|t	|�7}||fS)Nr	z Unsupported error handling "{0}"r
r�asciirr)r
rrrr)rr�
isinstance�unicoderr�strrrrr)	r
rrrrrrr r!rrr�_buffer_decode?s8




z!IncrementalDecoder._buffer_decodeN)rrrr(rrrrr#>sr#c@seZdZdS)�StreamWriterN)rrrrrrrr)gsr)c@seZdZdS)�StreamReaderN)rrrrrrrr*jsr*cCs@tjdddt�jdt�jdtdtdtdt�S)	N�name�idnarr�incrementalencoder�incrementaldecoder�streamwriter�streamreader)	�codecs�	CodecInforrrrr#r)r*rrrr�getregentryms	r3)�corerrrrrr1�re�compilerr�BufferedIncrementalEncoderr�BufferedIncrementalDecoderr#r)r*r3rrrr�<module>s(!)

if you don't want to be vaporized in a nuclear explosion, i simply have to become nuclear myself… i am atomic