[Python-checkins] peps: PEP 418: Add issues of the hacked monotonic function

victor.stinner python-checkins at python.org
Wed Apr 4 01:57:47 CEST 2012


http://hg.python.org/peps/rev/c568a59a3b83
changeset:   4198:c568a59a3b83
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Apr 04 01:57:37 2012 +0200
summary:
  PEP 418: Add issues of the hacked monotonic function

files:
  pep-0418.txt |  7 +++++++
  1 files changed, 7 insertions(+), 0 deletions(-)


diff --git a/pep-0418.txt b/pep-0418.txt
--- a/pep-0418.txt
+++ b/pep-0418.txt
@@ -900,6 +900,13 @@
 `KB274323`_ contains a code example to workaround the bug (use
 GetTickCount() to detect QueryPerformanceCounter() leap).
 
+Issues of a hacked monotonic function:
+
+ * if the clock is accidentally set forward by an hour and then back
+   again, you wouldn't have a useful clock for an hour
+ * the cache is not shared between processes so different processes wouldn't
+   see the same clock value
+
 
 Footnotes
 =========

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list