Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Documentation for date and datetime comparison is outdated #114728

Copy link
Copy link
Closed
@serhiy-storchaka

Description

@serhiy-storchaka
Issue body actions

The implementation of comparison for date and datetime objects was changed 18 years ago, in 1996059, but the documentation still describes the old behavior, with special-casing of other objects with a timetuple attribute. There were also other changes in this code. In particularly, there is a significant difference between equality comparison and order comparison. This part of the documentation should be rewritten.

Linked PRs

wimglenn

Metadata

Metadata

Labels

3.11only security fixesonly security fixes3.12only security fixesonly security fixes3.13bugs and security fixesbugs and security fixesdocsDocumentation in the Doc dirDocumentation in the Doc dir

Projects

Status

Done
Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.