summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorDong-hee Na <donghee.na@python.org>2021-11-16 13:41:20 (GMT)
committerGitHub <noreply@github.com>2021-11-16 13:41:20 (GMT)
commit55868f1a335cd3853938082a5b25cfba66563135 (patch)
treed20d02ea465f12080bba5c2934609eee146c9dd4 /Doc
parent8b06d01507fd708468570eaa43a349828784489a (diff)
downloadcpython-55868f1a335cd3853938082a5b25cfba66563135.zip
cpython-55868f1a335cd3853938082a5b25cfba66563135.tar.gz
cpython-55868f1a335cd3853938082a5b25cfba66563135.tar.bz2
bpo-45429: Support CREATE_WAITABLE_TIMER_HIGH_RESOLUTION if possible (GH-29203)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.11.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index 62516d2..0c7c74e 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -283,6 +283,10 @@ time
a resolution of 1 millisecond (10\ :sup:`-3` seconds).
(Contributed by Benjamin Szőke and Victor Stinner in :issue:`21302`.)
+* On Windows, :func:`time.sleep` now uses a waitable timer which supports high-resolution timers.
+ In Python 3.10, the best resolution was 1 ms, from Python 3.11 it's now smaller than 1 ms.
+ (Contributed by Dong-hee Na and Eryk Sun in :issue:`45429`.)
+
unicodedata
-----------