Skip to content

gh-151929: Get machine ID and uptime on Windows in pythoninfo#152146

Open
vstinner wants to merge 2 commits into
python:mainfrom
vstinner:pythoninfo_windows
Open

gh-151929: Get machine ID and uptime on Windows in pythoninfo#152146
vstinner wants to merge 2 commits into
python:mainfrom
vstinner:pythoninfo_windows

Conversation

@vstinner

@vstinner vstinner commented Jun 25, 2026

Copy link
Copy Markdown
Member
  • Replace "linux." prefix with "system." in pythoninfo.
  • Add _winapi.GetTickCount64() function.

* Replace "linux." prefix with "system." in pythoninfo.
* Add _winapi.GetTickCount64() function.
@vstinner vstinner added skip news needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Jun 25, 2026
@vstinner

Copy link
Copy Markdown
Member Author

Example: Windows / Build and test (x64, tail-call) logs machine_id and uptime correctly:

system.machine_id: b24aee4b-2126-415e-a003-11df61f9a035
system.uptime: 0:28:24

@vstinner

Copy link
Copy Markdown
Member Author

Ah, interesting the machine ID b24aee4b-2126-415e-a003-11df61f9a035 is logged by two jobs:

  • Windows / Build and test (x64, tail-call)
  • Windows (free-threading) / Build and test (x64, tail-call)

@vstinner vstinner enabled auto-merge (squash) June 25, 2026 03:05
@vstinner vstinner disabled auto-merge June 25, 2026 03:14
@vstinner vstinner enabled auto-merge (squash) June 25, 2026 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant