CasperSecurity

Current Path : /lib/python3/dist-packages/idna/__pycache__/
Upload File :
Current File : //lib/python3/dist-packages/idna/__pycache__/codec.cpython-310.pyc

o

��Ya.
�@s�ddlmZmZmZmZmZddlZddlZddlm	Z	m
Z
e�d�ZGdd�dej
�Z
Gdd	�d	ej�ZGd
d�dej�ZGdd
�d
e
ej�ZGdd�de
ej�Zdejfdd�ZdS)�)�encode�decode�alabel�ulabel�	IDNAError�N)�Tuple�Optionalu[.。.。]c	@sLeZdZd
dededeeeffdd�Zd
dededeeeffdd�Zd	S)�Codec�strict�data�errors�returncC�.|dkrtd�|���|sdSt|�t|�fS)Nr�Unsupported error handling "{}")�r)r�formatr�len��selfrr
�r�,/usr/lib/python3/dist-packages/idna/codec.pyr
�
zCodec.encodecCr)Nrr��r)rrrrrrrrrrzCodec.decodeN)r)	�__name__�
__module__�__qualname__�strr�bytes�intrrrrrrr
s $	r
c
@�.eZdZdedededeeeffdd�ZdS)�IncrementalEncoderrr
�finalrc
C�|dkrtd�|���|sdSt�|�}d}|r+|ds"d}|d=n	|s+|d=|r+d}g}d}|D]}|�t|��|r@|d7}|t|�7}q1d�|�|}	|t|�7}|	|fS�	Nrrrr����.rr)rr�_unicode_dots_re�split�appendrr�join�
rrr
r#�labels�trailing_dot�result�size�label�
result_strrrr�_buffer_encodes0
z!IncrementalEncoder._buffer_encodeN)rrrr�boolrr r3rrrrr"�&r"c
@r!)�IncrementalDecoderrr
r#rc
Cr$r%)rrr(r)r*rrr+r,rrr�_buffer_decode>s0
z!IncrementalDecoder._buffer_decodeN)rrrrr4rr r7rrrrr6=r5r6c@�eZdZdS)�StreamWriterN�rrrrrrrr9^�r9c@r8)�StreamReaderNr:rrrrr<br;r<rc	Cs tjdt�jt�jttttd�S)N�idna)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader)	�codecs�	CodecInfor
rrr"r6r9r<rrrr�getregentryfs�rE)�corerrrrrrC�re�typingrr	�compiler(r
�BufferedIncrementalEncoderr"�BufferedIncrementalDecoderr6r9r<rDrErrrr�<module>s
!!
Hacker Blog, Shell İndir, Sql İnjection, XSS Attacks, LFI Attacks, Social Hacking, Exploit Bot, Proxy Tools, Web Shell, PHP Shell, Alfa Shell İndir, Hacking Training Set, DDoS Script, Denial Of Service, Botnet, RFI Attacks, Encryption
Telegram @BIBIL_0DAY