A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2012-March/117674.html below:

[Python-Dev] Drop the new time.wallclock() function?

[Python-Dev] Drop the new time.wallclock() function? [Python-Dev] Drop the new time.wallclock() function?Victor Stinner victor.stinner at gmail.com
Thu Mar 15 01:29:35 CET 2012
On 14/03/2012 00:57, Victor Stinner wrote:
> I added two functions to the time module in Python 3.3: wallclock()
> and monotonic(). (...)

I merged the two functions into one function: time.steady(strict=False).

time.steady() should be monotonic most of the time, but may use a fallback.

time.steady(strict=True) fails with OSError or NotImplementedError if 
reading the monotonic clock failed or if no monotonic clock is available.

I patched the queue and threading modules to use time.steady() instead 
of time.time().

The documentation may need clarification.
http://docs.python.org/dev/library/time.html#time.steady

Victor
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4