관리-도구
편집 파일: imaplib.cpython-36.opt-2.pyc
3 \/� � 2 @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl m Z mZmZ ddl mZ yddlZdZW n ek r� dZY nX ddd d ddgZd ZdZdZdZdfZdZdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dd�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�)Zejd�Zejd�Zejd�Zejdej�Zejd�Z ejd�Z!ejd�Z"ejdej�Z#dZ$dZ%G dd� d�Z&e�r�G d d!� d!e&�Z'ej(d!� G d"d� de&�Z)G d#d$� d$�Z*d%j+d&�Z,d'd(� e-e,d)d� �D �Z.d*d � Z/d+d � Z0d,d� Z1d-d� Z2e3d.k�r�ddl4Z4ddl5Z5ye4j4ej6d)d� d/�\Z7Z8W n0 e4j9k �rn Z: zf f Z7Z8W Y ddZ:[:X nX dZ;x@e7D ]8\Z<Z:e<d0k�r�e=e:�Zne<d1k�rze:Z;e8�sze;fZ8�qzW e8�s�d�Z8e8d Z>e5j?� Z@e5j5d3e@e>�p�d4f �ZAd5e@d6d7� ZBd8e@eAffd�d�d�d?d>ddeBffd�d�d�d�d�dMf fdNf fdOf fdPf ffZCdCf fd�d�d�d?dddeBffdOf fdWf ffZDdXdY� ZE�y&e;�r�e)e;�ZFne&e>�ZFeFjGdk�r�eCd)d� ZCeFjHdZeFjI � eFjHd[eFjJf � xeCD ]\ZKZ8eEeKe8� �q�W xJeEd@d��D ]<ZLejMd^eL�ZNeN�reNjOd)�ZPneLj+� d� ZPeEd_ePf� �q�W x\eDD ]T\ZKZ8eEeKe8�ZQeKe8fd�k�rV�q2eQd� j+� ZReR�sl�q2eEdSd`daeRd� dbf� �q2W eSdc� W n. eSdd� e�s�eSdeej6d � � Y nX dS )�z2.58� N)�datetime�timezone� timedelta)�DEFAULT_BUFFER_SIZETF�IMAP4�IMAP4_stream�Internaldate2tuple�Int2AP� ParseFlags�Time2Internaldates � i� � IMAP4REV1i@B �AUTH�SELECTED�NONAUTH�LOGOUT))�APPEND�AUTHENTICATE� CAPABILITY�CHECK�CLOSE�COPY�CREATE�DELETE� DELETEACL�ENABLE�EXAMINE�EXPUNGE�FETCH�GETACL� GETANNOTATION�GETQUOTA�GETQUOTAROOT�MYRIGHTS�LIST�LOGINr �LSUBZMOVE� NAMESPACE�NOOP�PARTIAL� PROXYAUTH�RENAME�SEARCH�SELECT�SETACL� SETANNOTATION�SETQUOTA�SORT�STARTTLS�STATUS�STORE� SUBSCRIBE�THREAD�UID�UNSUBSCRIBEs \+( (?P<data>.*))?s .*FLAGS \((?P<flags>[^\)]*)\)s� .*INTERNALDATE "(?P<day>[ 0123][0-9])-(?P<mon>[A-Z][a-z][a-z])-(?P<year>[0-9][0-9][0-9][0-9]) (?P<hour>[0-9][0-9]):(?P<min>[0-9][0-9]):(?P<sec>[0-9][0-9]) (?P<zonen>[-+])(?P<zoneh>[0-9][0-9])(?P<zonem>[0-9][0-9])"s .*{(?P<size>\d+)}$s \r\n|\r|\ns% \[(?P<type>[A-Z-]+)( (?P<data>.*))?\]s$ \* (?P<type>[A-Z-]+)( (?P<data>.*))?s3 \* (?P<data>\d+) (?P<type>[A-Z-]+)( (?P<data2>.*))?c @ s� e Zd ZG dd� de�ZG dd� de�ZG dd� de�Zdefdd �Zd d� Z dd � Z dd� Zdd� Zdd� Z dd� Zdd� Zdefdd�Zdd� Zdd� Zdd� Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� Zd,d-� Zd.d/� Zd0d1� Zd2d3� Zd4d5� Zd6d7� Zd8d9� Z d:d;� Z!d<d=� Z"d>d?� Z#d@dA� Z$dBdC� Z%dDdE� Z&dFdG� Z'd�dJdK�Z(dLdM� Z)dNdO� Z*dPdQ� Z+dRdS� Z,d�dTdU�Z-dVdW� Z.dXdY� Z/dZd[� Z0d\d]� Z1d^d_� Z2d`da� Z3dbdc� Z4d�dfdg�Z5dhdi� Z6djdk� Z7dldm� Z8dndo� Z9d�dqdr�Z:dsdt� Z;dudv� Z<dwdx� Z=dydz� Z>d{d|� Z?d}d~� Z@dd�� ZAd�d�� ZBd�d�� ZCd�d�� ZDd�d�� ZEd�d�� ZFd�d�� ZGd�d�� ZHd�d�� ZId�d�� ZJd�d�� ZKd�d�� ZLd�d�� ZMd�d�� ZNdpS )�r c @ s e Zd ZdS )zIMAP4.errorN)�__name__� __module__�__qualname__� r<