commit | b067c8fdd1e205bd0411417b6d5e4b832c3773fc | [log] [tgz] |
---|---|---|
author | R David Murray <rdmurray@bitdance.com> | Sat Sep 10 00:22:25 2016 -0400 |
committer | R David Murray <rdmurray@bitdance.com> | Sat Sep 10 00:22:25 2016 -0400 |
tree | 1bd428963f46ae7cec4bceedfc9c3a049ce3102e | |
parent | c7454ff5fcd8d216495990df7db11be73e273a33 [diff] |
#20476: Deal with the message_factory circular import differently. It turns out we can't depend on email.message getting imported every place message_factory is needed, so to avoid a circular import we need to special case Policy.message_factory=None in the parser instead of using monkey patching. I had a feeling that was a bad idea when I did it.