You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documented behaviour: BaseHeader documentation in email.headerregistry: "Defects should be added to the list instead. The standard header parsers register defects for RFC compliance issues, for obsolete RFC syntax, and for unrecoverable parsing errors."
Expected: The Subject header's defects includes InvalidBase64PaddingDefect.
Actual: The parser's all_defects includes InvalidBase64PaddingDefect, but the Subject header's defects does not.
Activity
Link email.headerregistry-20261003-021509-c2 to python/cpython#158780
ZeroIntensity commentedon Oct 4, 2026
See #158748 (comment).