HEX
Server: LiteSpeed
System: Linux kapuas.iixcp.rumahweb.net 5.14.0-427.42.1.el9_4.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 1 14:58:02 EDT 2024 x86_64
User: mirz4654 (1666)
PHP: 8.1.33
Disabled: system,exec,escapeshellarg,escapeshellcmd,passthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,popen,pclose,dl,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setsid,posix_setuid,posix_setpgid,ini_alter,show_source,define_syslog_variables,symlink,syslog,openlog,openlog,closelog,ocinumcols,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dll,ftp,myshellexec,socket_bind,mail,posix_getwpuid
Upload Files
File: //opt/alt/python37/lib/python3.7/site-packages/idna/__pycache__/codec.cpython-37.pyc
B

fʢu�\�@s�ddlmZmZmZmZmZddlZddlZe�d�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�strictcCs.|dkrtd�|���|sdSt|�t|�fS)Nr	z Unsupported error handling "{0}")�r)r�formatr�len)�self�data�errors�r�;/opt/alt/python37/lib/python3.7/site-packages/idna/codec.pyr	s
zCodec.encodecCs.|dkrtd�|���|sdSt|�t|�fS)Nr	z Unsupported error handling "{0}")r
r)rrrr)r
rrrrrrs
zCodec.decodeN)r	)r	)�__name__�
__module__�__qualname__rrrrrrrs

rc@seZdZdd�ZdS)�IncrementalEncoderc	Cs�|dkrtd�|���|sdSt�|�}d}|rV|dsDd}|d=n|sV|d=|rVd}g}d}x2|D]*}|�t|��|r�|d7}|t|�7}qdWd�|�|}|t|�7}||fS)	Nr	z Unsupported error handling "{0}")r
rr
����.rr)rr�_unicode_dots_re�split�appendrr�join)	r
rr�final�labels�trailing_dot�result�size�labelrrr�_buffer_encodes0

z!IncrementalEncoder._buffer_encodeN)rrrr"rrrrrsrc@seZdZdd�ZdS)�IncrementalDecoderc	Cs�|dkrtd�|���|sdSt|t�r4t�|�}nt|�}t|d�|�d�}d}|r~|dsld}|d=n|s~|d=|r~d}g}d}x2|D]*}|�t|��|r�|d	7}|t	|�7}q�Wd�
|�|}|t	|�7}||fS)
Nr	z Unsupported error handling "{0}")r
r�asciirr
rrr)rr�
isinstance�unicoderr�strrrrr)	r
rrrrrrr r!rrr�_buffer_decode?s8



z!IncrementalDecoder._buffer_decodeN)rrrr(rrrrr#>sr#c@seZdZdS)�StreamWriterN)rrrrrrrr)gsr)c@seZdZdS)�StreamReaderN)rrrrrrrr*jsr*c	Cs tjdt�jt�jttttd�S)N�idna)�namerr�incrementalencoder�incrementaldecoder�streamwriter�streamreader)	�codecs�	CodecInforrrrr#r)r*rrrr�getregentrymsr3)�corerrrrrr1�re�compilerr�BufferedIncrementalEncoderr�BufferedIncrementalDecoderr#r)r*r3rrrr�<module>s
!)