diff -r f6199284ef3a Lib/threading.py --- a/Lib/threading.py Wed Mar 14 00:40:57 2012 +0100 +++ b/Lib/threading.py Wed Mar 14 01:56:10 2012 +0100 @@ -3,9 +3,14 @@ import sys as _sys import _thread -from time import time as _time, sleep as _sleep +from time import sleep as _sleep from traceback import format_exc as _format_exc from _weakrefset import WeakSet +try: + from time import monotonic as _time + _time() +except (ImportError, OSError): + from time import _time # Note regarding PEP 8 compliant names # This threading model was originally inspired by Java, and inherited