Skip to content

email: documenting different behavior of trailing newline in set_content and set_payload #121542

Closed
@ZeroIntensity

Description

@ZeroIntensity

Documentation

See #121515, which reported that set_content() implicitly adds a newline to the end of the content (if it doesn't have one already), whereas set_payload() ignores it. Unfortunately, this would be a breaking change to fix, so we should just document this behavior.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirstdlibPython modules in the Lib dirtopic-email

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions