]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
#20098: add mangle_from_ policy option.
authorR David Murray <rdmurray@bitdance.com>
Sun, 17 May 2015 18:24:33 +0000 (14:24 -0400)
committerR David Murray <rdmurray@bitdance.com>
Sun, 17 May 2015 18:24:33 +0000 (14:24 -0400)
commitfdb23c2fe5499d26701fa34873c1cdc347adcb80
tree1f65d6f676b2feb7ee7c0e24068ca67160d91407
parent224ef3ec3b0758956789c4c98e6cc93704304419
#20098: add mangle_from_ policy option.

This defaults to True in the compat32 policy for backward compatibility,
but to False for all new policies.

Patch by Milan Oberkirch, with a few tweaks.
Doc/library/email.policy.rst
Doc/whatsnew/3.5.rst
Lib/email/_policybase.py
Lib/email/generator.py
Lib/test/test_email/test_generator.py
Lib/test/test_email/test_policy.py
Misc/NEWS