[issue10839] email module should not allow some header field repetitions

Barry A. Warsaw report at bugs.python.org
Mon Jun 13 01:28:03 EDT 2016


Barry A. Warsaw added the comment:

On Jun 12, 2016, at 09:19 PM, Raymond Hettinger wrote:

>Would you consider raising an exception at least for the case of a "To:"
>header or perhaps a warning or someother failsafe.

No, not for compat32 policy.  Seriously, I do not want to change the semantics
or syntax for existing code.  This API predates even the renaming and
stdlibbing of the email package from the older mimelib.

By all means, let's develop API alternatives for new code, or stricter RFC
compliance with defect registration for newer policies.  But please leave
things alone for compat32 and existing code.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10839>
_______________________________________


More information about the Python-bugs-list mailing list