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

Barry A. Warsaw report at bugs.python.org
Sun Jun 12 10:16:57 EDT 2016


Barry A. Warsaw added the comment:

On Jun 11, 2016, at 09:25 PM, Raymond Hettinger wrote:

>I think we should consider this as an API design bug and backport the fix.

No, it's deliberate, required, and expected in some cases as RDM explains.
Certainly for compat32 policy, this can't change.

Other policies can prevent multiple additions of some headers.  Probably those
would go in defects if you parsed a message with prohibited duplicates.

----------

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


More information about the Python-bugs-list mailing list