관리-도구
편집 파일: imaplib.cpython-39.opt-2.pyc
a R�fx� � + @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl m Z mZmZ ddl mZ zddlZdZW n ey� dZY n0 g d�ZdZdZd Zd ZdZdZd dddddd d d dd ddd d d d d d ddd dd dddd dd d d d ddd dd ddd dd�*Ze�d�Ze�d�Ze�d�Ze�dej�Ze�d�Z e�d�Z!e�d�Z"e�dej�Z#dZ$dZ%G dd� d�Z&e�r�G dd� de&�Z'e�(d� G dd � d e&�Z)G d!d"� d"�Z*d#�+d$�Z,d%d&� e-e,d'd� �D �Z.d(d)� Z/d*d+� Z0d,d-� Z1d.d/� Z2e3d0k�r�ddl4Z4ddl5Z5ze4�4ej6d'd� d1�\Z7Z8W n0 e4j9�yf Z: zd2\Z7Z8W Y dZ:[:n dZ:[:0 0 dZ;e7D ]8\Z<Z:e<d3k�r�e=e:�Zne<d4k�rpe:Z;e8�spe;fZ8�qpe8�s�d5Z8e8d Z>e5�?� Z@e5�5d6e@e>�p�d7f �ZAd8e@d9d:� ZBd;e@eAffd<d=d>d?d@ddeBffdAdBdCdDdEdFdGdHdIfZCdJdKdLdMd?dddeBffdHdNfZDdOdP� ZE�ze;�rXe)e;�ZFne&e>�ZFeFjGdQk�rxeCd'd� ZCeF�HdReFjI � eF�HdSeFjJf � eCD ]\ZKZ8eEeKe8� �q�eEdTdU�D ]<ZLe�MdVeL�ZNeN�r�eN�Od'�ZPneL�+� dW ZPeEdXePf� �q�eDD ]T\ZKZ8eEeKe8�ZQeKe8fdLk�r$�q eQdW �+� ZReR�s:�q eEdYdZd[eRdW d\f� �q eSd]� W n. eSd^� e�s�eSd_ej6d � � Y n0 dS )`z2.58� N)�datetime�timezone� timedelta)�DEFAULT_BUFFER_SIZETF)�IMAP4�IMAP4_stream�Internaldate2tuple�Int2AP� ParseFlags�Time2Internaldate� � i� )Z IMAP4REV1r i@B )�AUTH�SELECTED)�NONAUTH)r r r �LOGOUT)r )r )*�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�UNSUBSCRIBE�UNSELECTs \+( (?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�Zdedfd d �Zdd� Z d d� Z dd� Zdd� Zdd� Z dd� Zdd� Zdedfdd�Zdd� Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd+d,� Zd-d.� Zd/d0� Zd1d2� Zd3d4� Zd5d6� Zd7d8� Zd9d:� Z d;d<� Z!d=d>� Z"d?d@� Z#dAdB� Z$dCdD� Z%dEdF� Z&dGdH� Z'd�dKdL�Z(dMdN� Z)dOdP� Z*dQdR� Z+dSdT� Z,d�dUdV�Z-dWdX� Z.dYdZ� Z/d[d\� Z0d]d^� Z1d_d`� Z2dadb� Z3dcdd� Z4d�dgdh�Z5didj� Z6dkdl� Z7dmdn� Z8dodp� 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�d��ZId�d�� ZJd�d�� ZKd�d�� ZLd�d�� ZMd�d�� ZNd�d�� ZOdS )�r c @ s e Zd ZdS )zIMAP4.errorN��__name__� __module__�__qualname__� r>