R David Murray | c27e522 | 2012-05-25 15:01:48 -0400 | [diff] [blame] | 1 | """This will be the home for the policy that hooks in the new |
| 2 | code that adds all the email6 features. |
R David Murray | 3edd22a | 2011-04-18 13:59:37 -0400 | [diff] [blame] | 3 | """ |
| 4 | |
R David Murray | c27e522 | 2012-05-25 15:01:48 -0400 | [diff] [blame] | 5 | from email._policybase import Policy, compat32, Compat32 |
R David Murray | 3edd22a | 2011-04-18 13:59:37 -0400 | [diff] [blame] | 6 | |
R David Murray | c27e522 | 2012-05-25 15:01:48 -0400 | [diff] [blame] | 7 | # XXX: temporarily derive everything from compat32. |
R David Murray | 3edd22a | 2011-04-18 13:59:37 -0400 | [diff] [blame] | 8 | |
R David Murray | c27e522 | 2012-05-25 15:01:48 -0400 | [diff] [blame] | 9 | default = compat32 |
R David Murray | 3edd22a | 2011-04-18 13:59:37 -0400 | [diff] [blame] | 10 | strict = default.clone(raise_on_defect=True) |
| 11 | SMTP = default.clone(linesep='\r\n') |
| 12 | HTTP = default.clone(linesep='\r\n', max_line_length=None) |