Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Sep 2022 22:41:16 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 266304] lang/python39 3.9.13 time.CLOCK_UPDATE returns always 5
Message-ID:  <bug-266304-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266304

            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 n=
ot
suspended, providing accurate uptime measurement, both absolute and interva=
l.

    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)=20
[Clang 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b66=
9b3a
on freebsd13
Type "help", "copyright", "credits" or "license" for more information.
>>> import time
>>> time.CLOCK
...BOOTTIME            ...PROF                ...UPTIME=20=20=20=20=20=20=
=20=20=20=20=20=20=20
...gettime_ns=20=20=20=20=20=20=20=20=20=20
...MONOTONIC           ...REALTIME            ...getres              ...set=
time=20
...PROCESS_CPUTIME_ID  ...THREAD_CPUTIME_ID   ...gettime=20=20=20=20=20=20=
=20=20=20=20=20=20
...settime_ns=20=20=20=20=20=20=20=20=20=20
>>> time.CLOCK_UPTIME
5
>>>=20
----------
Note: This is also the case on python3.10

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266304-7788>