Skip to content

[3.13] gh-151929: Get uptime on BSD/macOS in pythoninfo (#152189) (#152197)#152207

Merged
vstinner merged 2 commits into
python:3.13from
vstinner:pythoninfo_bsd13
Jun 25, 2026
Merged

[3.13] gh-151929: Get uptime on BSD/macOS in pythoninfo (#152189) (#152197)#152207
vstinner merged 2 commits into
python:3.13from
vstinner:pythoninfo_bsd13

Conversation

@vstinner

Copy link
Copy Markdown
Member

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.

(cherry picked from commit b6d89ed) (cherry picked from commit d25cf02)

…#152189) (python#152197)

pythongh-151929: Get uptime on BSD/macOS in pythoninfo (python#152189)

* Check sysctlbyname() function and sys/sysctl.h header in
  configure.
* Add _testcapi.uptime_bsd() function.

(cherry picked from commit b6d89ed)
(cherry picked from commit d25cf02)
@read-the-docs-community

read-the-docs-community Bot commented Jun 25, 2026

Copy link
Copy Markdown

@vstinner vstinner merged commit 704c4c7 into python:3.13 Jun 25, 2026
39 of 42 checks passed
@vstinner vstinner deleted the pythoninfo_bsd13 branch June 25, 2026 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant