10000 bpo-34800: Fix email.contentmanager raise error when policy.max_line_length is 0 or None by silane · Pull Request #9578 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-34800: Fix email.contentmanager raise error when policy.max_line_length is 0 or None #9578

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add NEWS entry
  • Loading branch information
silane committed Sep 26, 2018
commit b4843545838979981933c6ed5e13def7b7eafa28
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix `email.contentmanager.set_content` raise error when
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some small suggestions:

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

In rst, <code> sections needs to be wrapped in double backticks.

`email.policy.Policy.max_line_length` is 0 or None. Patch by silane.
0