Milan Oberkirch added the comment: (@r.david.murray) I just implemented what you suggested: - Policy has a mangle_from_ property, overridden in EMailPolicy - Generator and DecodedGenerator default to policy.mangle_from_ or True if policy is None.
Would be glad if it helps :) ---------- nosy: +zvyn Added file: http://bugs.python.org/file34275/mangle_from.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue20098> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com