]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-151929: Get uptime on BSD/macOS in pythoninfo (#152189)
authorVictor Stinner <vstinner@python.org>
Thu, 25 Jun 2026 13:11:17 +0000 (15:11 +0200)
committerGitHub <noreply@github.com>
Thu, 25 Jun 2026 13:11:17 +0000 (13:11 +0000)
commitb6d89edc4a13a71734ae1f1e386122bf62d68ed8
tree2562af4e1bed6c3b0afe39dc4e115401ac0f5289
parentdeeae2ac07a5aaa6fc1025a048592afe3516e57e
gh-151929: Get uptime on BSD/macOS in pythoninfo (#152189)

* Check sysctlbyname() function and sys/sysctl.h header in
  configure.
* Add _testcapi.uptime_bsd() function.
Lib/test/pythoninfo.py
Modules/_testcapimodule.c
configure
configure.ac
pyconfig.h.in