U
e5dá: ã @ sŒ d Z ddlZddlmZ ddlmZ ddlmZ dddgZG d d
„ d
ƒZ dd„ Z
d
d„ ZG dd„ de ejd�Z
eG dd„ de
ƒƒZeƒ ZdS )zwPolicy framework for the email package.
Allows fine grained feature control of how the package parses and emits data.
é N)Úheader)Úcharset)Ú_has_surrogatesÚPolicyÚCompat32Úcompat32c s@ e Zd ZdZ‡ fdd„Zdd„ Zdd„ Zdd „ Zd
d„ Z‡ Z S )Ú_PolicyBasea‡ Policy Object basic framework.
This class is useless unless subclassed. A subclass should define
class attributes with defaults for any values that are to be
managed by the Policy object. The constructor will then allow
non-default values to be set for these attributes at instance
creation time. The instance will be callable, taking these same
attributes keyword arguments, and returning a new instance
identical to the called instance except for those values changed
by the keyword arguments. Instances may be added, yielding new
instances with any non-default values from the right hand
operand overriding those in the left hand operand. That is,
A + B == A(