Skip to content

Conversation

crazymerlyn
Copy link

@crazymerlyn crazymerlyn commented Sep 1, 2024

Fixed a bug where email.contentmanager.set_content raised error when email.policy.Policy.max_line_length is 0 or None

Copied from #9578 with some minor changes based on comments in the PR.

Also fixes #85751 .

Fixed a bug where `email.contentmanager.set_content` raised error when
`email.policy.Policy.max_line_length` is 0 or `None`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

policy.max_line_length is incorrectly assumed to never be None
2 participants