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/117789.html below:

[Python-Dev] cpython: Issue #10278: Add an optional strict argument to time.steady(), False by default

[Python-Dev] cpython: Issue #10278: Add an optional strict argument to time.steady(), False by default [Python-Dev] cpython: Issue #10278: Add an optional strict argument to time.steady(), False by defaultVictor Stinner victor.stinner at gmail.com
Mon Mar 19 13:31:00 CET 2012
> I have to agree with Georg. Looking at the code, it appears OSError can
> be raised with both strict=True and strict=False (since floattime() can
> raise OSError).

This is an old bug in floattime(): I opened the issue #14368 to remove
the unused exception. In practice, it never happens (or it is *very*
unlikely today). IMO it's a bug in floattime().

> I also think "By default, if strict is False" confuses things.

I agree, I replaced it by "By default,".

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