Hacked By AnonymousFox
a
R�f^; � @ sf d dl Z d dlZd dlZd dlZzd dlZdZW n eyF dZY n0 ddgZG dd� de�Z dZ
dZd Zd
Z
ee
ZdZG dd� d�Zer�G d
d� de�Ze�d� edk�rbd dlZeejd �Zee�� � e�ejd � e�ejd � e�� e�� \ZZeded �D ]BZe� e�\Z!Z"Z#ede � e"D ]Z$ede$ � �q:ed� �qe�%� dS )� NTF�POP3�error_protoc @ s e Zd ZdS )r N)�__name__�
__module__�__qualname__� r r �+/opt/alt/python39/lib64/python3.9/poplib.pyr � �n i� �
�
i c @ s e Zd ZdZeejfdd�Zdd� Zdd� Z dd � Z
d
d� Zdd
� Zdd� Z
dd� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zd<dd �Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd+d,� Zd-d.� Ze�d/�Zd0d1� Z d2d3� Z!d=d4d5�Z"d6d7� Z#d8d9� Z$d>d:d;�Z%dS )?r zUTF-8c C sP || _ || _d| _t�d| ||� | �|�| _| j�d�| _d| _ | �
� | _d S )NFzpoplib.connect�rbr )�host�port�_tls_established�sys�audit�_create_socket�sock�makefile�file�
_debugging�_getresp�welcome)�selfr r �timeoutr r r �__init__b s z
POP3.__init__c C s( |d ur|st d��t�| j| jf|�S )Nz0Non-blocking socket (timeout=0) is not supported)�
ValueError�socketZcreate_connectionr r )r r r r r r m s zPOP3._create_socketc C s: | j dkrtdt|�� t�d| |� | j�|t � d S )N� z*put*zpoplib.putline)r �print�reprr r r Zsendall�CRLF�r �liner r r �_putliner s z
POP3._putlinec C s. | j rtdt|�� t|| j�}| �|� d S )Nz*cmd*)r r r! �bytes�encodingr% r# r r r �_putcmdz s zPOP3._putcmdc C s� | j �td �}t|�tkr$td��| jdkr<tdt|�� |sHtd��t|�}|dd � tkrp|d d� |fS |d d� t kr�|dd� |fS |d d� |fS )Nr z
line too longz*get*z-ERR EOF������)
r �readline�_MAXLINE�lenr r r r! r"