[Bug 266304] lang/python39 3.9.13 time.CLOCK_UPDATE returns always 5
Date: Thu, 08 Sep 2022 22:41:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266304
Bug ID: 266304
Summary: lang/python39 3.9.13 time.CLOCK_UPDATE returns always
5
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: p5B2EA84B3@t-online.de
Context from the docs:
time.CLOCK_UPTIME
Time whose absolute value is the time the system has been running and not
suspended, providing accurate uptime measurement, both absolute and interval.
Availability: FreeBSD, OpenBSD 5.5 or later.
New in version 3.7.
How to reproduce:
$ python3.9
Python 3.9.13 (main, Jul 5 2022, 15:17:58)
[Clang 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a
on freebsd13
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.CLOCK
...BOOTTIME ...PROF ...UPTIME
...gettime_ns
...MONOTONIC ...REALTIME ...getres ...settime
...PROCESS_CPUTIME_ID ...THREAD_CPUTIME_ID ...gettime
...settime_ns
>>> time.CLOCK_UPTIME
5
>>>
----------
Note: This is also the case on python3.10
--
You are receiving this mail because:
You are the assignee for the bug.