X Tutup
Skip to content

gh-81708: Support negative datetime.datetime.timestamp values from naive datetimes on Windows#134517

Closed
jhohm wants to merge 2 commits intopython:mainfrom
jhohm:gh-81708
Closed

gh-81708: Support negative datetime.datetime.timestamp values from naive datetimes on Windows#134517
jhohm wants to merge 2 commits intopython:mainfrom
jhohm:gh-81708

Conversation

@jhohm
Copy link
Contributor

@jhohm jhohm commented May 22, 2025

Support negative datetime.datetime.timestamp values from naive datetimes on Windows using subtraction against a naive epoch (like for non-naive datetimes) instead of the native libc function that only works for times after the UNIX epoch.

@vstinner
Copy link
Member

vstinner commented Jan 15, 2026

I merged #143463 instead. Thanks for your contribution anyway ;-)

@vstinner vstinner closed this Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup