Skip to content

"Changed in version X.Y" for optional parameter strangely sticks to the current version for several past versions #137478

@tuttle

Description

@tuttle

On the page https://docs.python.org/3.13/library/email.utils.html
there is a comment for the parameter strict at functions parseaddr() and getaddresses().

It says
Changed in version 3.13: Add strict optional parameter and reject malformed inputs by default

When I switch the Python version using the top pull down selector to 3.12, the selector shows 3.12.10, but the comment says

Changed in version 3.12.6: Add strict optional parameter and reject malformed inputs by default.

When I switch to 3.11, the selector shows 3.11.13 and the comment says

Changed in version 3.11.10: Add strict optional parameter and reject malformed inputs by default.

This repeats down to version 3.8:

Changed in version 3.8.20: Add strict optional parameter and reject malformed inputs by default.

Expected behavior: I'd prefer the message saying

Added in version 3.8: The strict optional parameter and reject malformed inputs by default.

constantly in all Python versions above it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions