-
-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
bpo-35455: Fix thread_time for Solaris OS #11118
Conversation
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.
skip news?
Well, since I created this pull request, |
Comment from https://bugs.python.org/issue42173#msg380205 confirmed that this issue is still relevant to Illumos based systems. |
When making such a mistake, please remove review requests as messages go out to all sent requests. @auvipy Behavior bug fixes get NEWS items. |
I wanted to do so, but I don't believe that I have the necessary permissions to do so. Thank you for doing so. |
Thanks for the PR @kulikjak ! |
Fork owners and hence authors of PRs based on forks can do anything they want. The easiest way to add a news item to a PR developed from a local clone is to locally install and use blurb. The merging coredev may revise anyway. |
Thanks @kulikjak for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
Thanks @kulikjak for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
Sorry @kulikjak and @pablogsal, I had trouble checking out the |
Sorry, @kulikjak and @pablogsal, I could not cleanly backport this to |
Thanks @kulikjak for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9. |
GH-23130 is a backport of this pull request to the 3.9 branch. |
(cherry picked from commit 9568622) Co-authored-by: Jakub Kulík <[email protected]>
@kulikjak Do you know how to make backport PRs? For 3.8 in this case? |
(cherry picked from commit 9568622) Co-authored-by: Jakub Kulík <[email protected]> Co-authored-by: Jakub Kulík <[email protected]>
(cherry picked from commit 9568622) Co-authored-by: Jakub Kulík <[email protected]>
GH-23145 is a backport of this pull request to the 3.8 branch. |
(cherry picked from commit 9568622) Co-authored-by: Jakub Kulík <[email protected]>
|
Implementation of time.thread_time() doesn't work on Solaris because clock_id CLOCK_THREAD_CPUTIME_ID is not known (it is defined, but clock_gettime() returns EINVAL error). Solaris, however, has function gethrvtime() which can substitute this functionality.
https://bugs.python.org/issue35455