Skip to content

bpo-41303: Use mac_continuous_time for perf_counter on macOS 10.12+ #21719

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

Closed
wants to merge 2 commits into from

Conversation

xrisk
Copy link
Contributor

@xrisk xrisk commented Aug 3, 2020

I’m unable to add tests as the only way to reproduce the difference between the two methods is by actually shutting the lid on the computer. Any ideas on how to test are welcome.

In my testing, pmset sleepnow did not work even though it did put the computer to sleep.

https://bugs.python.org/issue41303

Copy link

@kk456852 kk456852 left a comment

Choose a reason for hiding this comment

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

lgtm

@xrisk
Copy link
Contributor Author

xrisk commented Aug 5, 2020

do not merge

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.

4 participants