-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
bpo-39502: Fix 64-bit Python PyTime_localtime() on AIX #18285
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
Conversation
@@ -0,0 +1,2 @@ | |||
Fix PyTime_localtime() on AIX so that only 32-bit is range tested for overflow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 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 |
Not sure what to do. Apparently when I did my refresh - it was before #18282 was in master. I see:
And when I run the test I see:
So, I can try something tricky for me (rebase to include #18282), or, leave it asis, or maybe #18282 is removed. Let me know how you would like (me) to proceed. p.s. Seems JFS2 could be added -- although, I am testing on NFSv3, and it may be something caused by the NFS server (which is Linux based). I'll try copying the whole thing to a local drive and see what happens. |
Misc/NEWS.d/next/Core and Builtins/2020-01-30-14-36-31.bpo-39502.IJu0rl.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Core and Builtins/2020-01-30-14-36-31.bpo-39502.IJu0rl.rst
Outdated
Show resolved
Hide resolved
Co-Authored-By: Victor Stinner <[email protected]>
so that only 32-bit is range tested for overflow
https://bugs.python.org/issue39502