◐ Shell
clean mode source ↗

Message 403544 - Python tracker

Message403544

Author vstinner
Recipients Livius, akira, python-dev, shankarunni, vstinner, yselivanov
Date 2021-10-09.17:06:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633799174.34.0.904632593417.issue21302@roundup.psfhosted.org>
In-reply-to
Content
> it is time to use nicely GetSystemTimePreciseAsFileTime() in time.time()

See bpo-19007 for that.

> it is time to (...) time.sleep() as absolute sleeping because it is available since Windows 8.

In Python 3.11, time.sleep() is now always implemented with a waitable timer. I chose to use a relative timeout since it's simpler to implement. Is there any benefit of calling SetWaitableTimer() with an absolute timeout, compared to calling it with a relative timeout?
History
Date User Action Args
2021-10-09 17:06:14vstinnersetrecipients: + vstinner, akira, python-dev, yselivanov, shankarunni, Livius
2021-10-09 17:06:14vstinnersetmessageid: <1633799174.34.0.904632593417.issue21302@roundup.psfhosted.org>
2021-10-09 17:06:14vstinnerlinkissue21302 messages
2021-10-09 17:06:14vstinnercreate