2012-05-25 19:01:48 +00:00
|
|
|
"""This will be the home for the policy that hooks in the new
|
|
|
|
code that adds all the email6 features.
|
2011-04-18 17:59:37 +00:00
|
|
|
"""
|
|
|
|
|
2012-05-25 19:01:48 +00:00
|
|
|
from email._policybase import Policy, compat32, Compat32
|
2011-04-18 17:59:37 +00:00
|
|
|
|
2012-05-25 19:01:48 +00:00
|
|
|
# XXX: temporarily derive everything from compat32.
|
2011-04-18 17:59:37 +00:00
|
|
|
|
2012-05-25 19:01:48 +00:00
|
|
|
default = compat32
|
2011-04-18 17:59:37 +00:00
|
|
|
strict = default.clone(raise_on_defect=True)
|
|
|
|
SMTP = default.clone(linesep='\r\n')
|
|
|
|
HTTP = default.clone(linesep='\r\n', max_line_length=None)
|