Skip to content

Documentation for date and datetime comparison is outdated #114728

Closed

Description

@serhiy-storchaka

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

Activity

  1. added
    docs
    3.11
    3.12
    3.13
    on Jan 29, 2024
  2. added 2 commits that reference this issue on Jan 30, 2024
  3. added 2 commits that reference this issue on Feb 2, 2024
  4. added 2 commits that reference this issue on Feb 2, 2024
  5. added a commit that references this issue on Feb 11, 2024
  6. added a commit that references this issue on Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

3.113.123.13docs

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions