Your IP : 3.22.42.25
3
\ 3 � @ sN d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl Zd dl
Z
d dlZyd dlZW n e
k
r� dZY nX dddddddd d
ddd
dddddgZe jjd�ZG dd� d�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� dejj�ZG dd � d e�ZG d d!� d!e�ZG d"d
� d
e�ZG d#d� de�ZG d$d� de�ZG d%d
� d
e�Z G d&d'� d'�Z!G d(d)� d)e!�Z"d<d+d,�Z#d-d.� Z$d/d0� Z%d1d2� Z&d3d4� Z'd5d6� Z(G d7d� de)�Z*G d8d� de*�Z+G d9d� de*�Z,G d:d� de*�Z-G d;d� de*�Z.dS )=� N�Mailbox�Maildir�mbox�MH�Babyl�MMDF�Message�MaildirMessage�mboxMessage� MHMessage�BabylMessage�MMDFMessage�Error�NoSuchMailboxError�
NotEmptyError�ExternalClashError�FormatError�asciic @ s e Zd ZdBdd�Zdd� Zdd� Zd d
� Zdd� Zd
d� ZdCdd�Z dd� Z
dd� Zdd� Zdd� Z
dd� Zdd� Zdd� Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� Zd+d,� Zd-d.� ZdDd/d0�Zd1d2� ZdEd3d4�Zd5d6� Zd7d8� Zd9d:� Zd;d<� Zd=d>� Z d?Z!dFd@dA�Z"dS )Gr NTc C s t jjt jj|��| _|| _d S )N)�os�path�abspath�
expanduser�_path�_factory)�selfr �factory�create� r �/usr/lib64/python3.6/mailbox.py�__init__$ s zMailbox.__init__c C s t d��d S )Nz&Method must be implemented by subclass)�NotImplementedError)r �messager r r �add) s zMailbox.addc C s t d��d S )Nz&Method must be implemented by subclass)r )r �keyr r r �remove- s zMailbox.removec C s | j |� d S )N)r$ )r r# r r r �__delitem__1 s zMailbox.__delitem__c C s( y| j |� W n tk
r" Y nX d S )N)r$ �KeyError)r r# r r r �discard4 s zMailbox.discardc C s t d��d S )Nz&Method must be implemented by subclass)r )r r# r! r r r �__setitem__; s zMailbox.__setitem__c C s$ y
| j |�S tk
r |S X d S )N)�__getitem__r&