[issue10839] email module should not allow some header field repetitions
Barry A. Warsaw
report at bugs.python.org
Mon Jun 13 04:45:29 EDT 2016
Barry A. Warsaw added the comment:
On Jun 13, 2016, at 08:34 AM, Berker Peksag wrote:
>Berker Peksag added the comment:
>
>> I think we just need to plumb a `policy` argument through to the ultimate
>> base class, email.message.Message
>
>That's already possible: https://docs.python.org/dev/library/email.message.html#email.message.Message
>
>It would be nice to be able to customize 'policy' via BaseMime:
>https://github.com/python/cpython/blob/master/Lib/email/mime/base.py#L23
Right, that's what I meant by "plumb". :) Basically we want all the
subclasses of email.message.Message to accept a `policy` argument and pass
them to their superclass constructors.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10839>
_______________________________________
More information about the Python-bugs-list
mailing list