View file File name : poplib.cpython-36.opt-2.pyc Content :3 \t: � @ sh d dl Z d dlZd dlZyd dlZdZW n ek r@ dZY nX ddgZG dd� de�ZdZ dZ d Zd Zee Z dZG dd� d�Zer�G d d� de�Zejd� edk�rdd dlZeejd �Zeej� � ejejd � ejejd � ej� ej� \ZZxXeded �D ]FZej e�\Z!Z"Z#ede � xe"D ]Z$ede$ � �q8W ed� �qW ej%� dS )� NTF�POP3�error_protoc @ s e Zd ZdS )r N)�__name__� __module__�__qualname__� r r �/usr/lib64/python3.6/poplib.pyr s �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.� Zejd/�Zd0d1� Z d2d3� Z!d=d4d5�Z"d6d7� Z#d8d9� Z$d>d:d;�Z%dS )?r zUTF-8c C s@ || _ || _d| _| j|�| _| jjd�| _d| _| j� | _ d S )NF�rbr ) �host�port�_tls_established�_create_socket�sock�makefile�file� _debugging�_getresp�welcome)�selfr r �timeoutr r r �__init__a s z POP3.__init__c C s t j| j| jf|�S )N)�socketZcreate_connectionr r )r r r r r r k s zPOP3._create_socketc C s, | j dkrtdt|�� | jj|t � d S )N� z*put*)r �print�reprr Zsendall�CRLF)r �liner r r �_putlinen s z POP3._putlinec C s. | j rtdt|�� t|| j�}| j|� d S )Nz*cmd*)r r r �bytes�encodingr )r r r r r �_putcmdu s zPOP3._putcmdc C s� | j jtd �}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% ���r&