Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upbpo-39502: Fix 64-bit Python PyTime_localtime() on AIX #18285
+3
−1
Conversation
… overflow
@@ -0,0 +1,2 @@ | |||
Fix PyTime_localtime() on AIX so that only 32-bit is range tested for overflow. |
This comment has been minimized.
This comment has been minimized.
vstinner
Jan 30, 2020
Member
I prefer to mention time.localtime() which is seen by users, than mention a private C function. 32-bit overflow is also obscure. I propose:
Fix :func:`time.localtime` on 64-bit AIX to support years before 1902 and after 2038.
Patch by M Felt.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This PR is only for 64-bit AIX. The skip is still useful for 32-bit AIX which is still limited to year 2038: see https://bugs.python.org/issue39502 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
aixtools commentedJan 30, 2020
•
edited by bedevere-bot
so that only 32-bit is range tested for overflow
https://bugs.python.org/issue39502