Skip to content

gh-114728: Fix documentation for comparison of objects in datetime module #114749

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

Merged

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jan 30, 2024

Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

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

Looks good, would be nice if Paul or Alexander get a chance to review too.

@serhiy-storchaka
Copy link
Member Author

Thank you @hugovk. I asked your review mainly for the case if I made some grammar errors.

Comment on lines 614 to 616
:class:`!date` objects that are not also :class:`.datetime` instances
are never equal to :class:`!datetime` objects, even if they represent
the same date.
Copy link
Member Author

Choose a reason for hiding this comment

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

Actually, this is not true. See #49766.

@miss-islington-app
Copy link

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the docs-datetime-comparison branch February 2, 2024 18:53
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 2, 2024
…ime module (pythonGH-114749)

(cherry picked from commit c12240e)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Feb 2, 2024

GH-114928 is a backport of this pull request to the 3.12 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 2, 2024
…ime module (pythonGH-114749)

(cherry picked from commit c12240e)

Co-authored-by: Serhiy Storchaka <[email protected]>
@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Feb 2, 2024
@bedevere-app
Copy link

bedevere-app bot commented Feb 2, 2024

GH-114929 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Feb 2, 2024
serhiy-storchaka added a commit that referenced this pull request Feb 2, 2024
…time module (GH-114749) (GH-114929)

(cherry picked from commit c12240e)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this pull request Feb 2, 2024
…time module (GH-114749) (GH-114928)

(cherry picked from commit c12240e)

Co-authored-by: Serhiy Storchaka <[email protected]>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
fsc-eriker pushed a commit to fsc-eriker/cpython that referenced this pull request Feb 14, 2024
serhiy-storchaka added a commit that referenced this pull request Mar 1, 2024
…ons if tzinfo is the same (GH-116187)

This mostly restores information removed in c12240e (GH-114749).
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 1, 2024
…mparisons if tzinfo is the same (pythonGH-116187)

This mostly restores information removed in c12240e (pythonGH-114749).
(cherry picked from commit 05b0490)

Co-authored-by: Serhiy Storchaka <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 1, 2024
…mparisons if tzinfo is the same (pythonGH-116187)

This mostly restores information removed in c12240e (pythonGH-114749).
(cherry picked from commit 05b0490)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this pull request Mar 1, 2024
…omparisons if tzinfo is the same (GH-116187) (GH-116216)

This mostly restores information removed in c12240e (GH-114749).
(cherry picked from commit 05b0490)

Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka added a commit that referenced this pull request Mar 1, 2024
…omparisons if tzinfo is the same (GH-116187) (GH-116217)

This mostly restores information removed in c12240e (GH-114749).
(cherry picked from commit 05b0490)

Co-authored-by: Serhiy Storchaka <[email protected]>
woodruffw pushed a commit to woodruffw-forks/cpython that referenced this pull request Mar 4, 2024
…mparisons if tzinfo is the same (pythonGH-116187)

This mostly restores information removed in c12240e (pythonGH-114749).
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 25, 2024
…mparisons if tzinfo is the same (pythonGH-116187)

This mostly restores information removed in c12240e (pythonGH-114749).
diegorusso pushed a commit to diegorusso/cpython that referenced this pull request Apr 17, 2024
…mparisons if tzinfo is the same (pythonGH-116187)

This mostly restores information removed in c12240e (pythonGH-114749).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants