◐ Shell
reader mode source ↗
Skip to content

bpo-34373: fix test_mktime and test_pthread_getcpuclickid tests on AIX#8726

Merged
ncoghlan merged 7 commits into
python:masterfrom
aixtools:bpo-34373
Dec 28, 2018
Merged

bpo-34373: fix test_mktime and test_pthread_getcpuclickid tests on AIX#8726
ncoghlan merged 7 commits into
python:masterfrom
aixtools:bpo-34373

Conversation

@aixtools

@aixtools aixtools commented Aug 10, 2018

Copy link
Copy Markdown
Contributor

fix test_mktime and test_pthread_getcpuclickid tests
add range checking for _PyTime_localtime (for AIX)

https://bugs.python.org/issue34373

add range checking for _PyTime_localtime (for AIX)

@ncoghlan ncoghlan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hide comment

This mostly looks good to me, just one question regarding whether or not the ctypes dependency in the test case can be avoided (hence the approving review, rather than an immediate merge).

@ncoghlan ncoghlan merged commit e2926b7 into python:master Dec 28, 2018
@vstinner

vstinner commented Apr 8, 2019

Copy link
Copy Markdown
Member

tt is now modified before it is checked if it's equal to (time_t)-1. It looks like a regression to me: I wrote PR #12726 to propose a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants