[Python-Dev] cpython: Issue #10278: Add an optional strict argument to time.steady(), False by default (original) (raw)
Victor Stinner victor.stinner at gmail.com
Mon Mar 19 13:31:00 CET 2012
- Previous message: [Python-Dev] cpython: Issue #10278: Add an optional strict argument to time.steady(), False by default
- Next message: [Python-Dev] Issue #10278 -- why not just an attribute?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] cpython: Issue #10278: Add an optional strict argument to time.steady(), False by default
- Next message: [Python-Dev] Issue #10278 -- why not just an attribute?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]