[Python-Dev] cpython: Issue #10278: Add an optional strict argument to time.steady(), False by default
Victor 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