10000 gh-131741: Add documentation for Windows version detection change in `platform` by idann · Pull Request #131742 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

8000 gh-131741: Add documentation for Windows version detection change in platform #131742

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 26, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
gh-131741: Add doc for version detection change in platform
Document the behavior change between 3.11 & 3.12, where `platform` now correctly detects Windows 11 and Windows Server releases past Windows Server 2012.
  • Loading branch information
idann authored Mar 25, 2025
commit 44c3953d74edc766dbaa304c5d97ca8f5a4b6c77
11 changes: 11 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,17 @@ pathlib
:meth:`pathlib.Path.rglob` and :meth:`pathlib.PurePath.match` for matching
the path's case sensitivity, allowing for more precise control over the matching process.

platform
--------

* Add support for detecting Windows 11 and Windows Server releases past 2012.
Prior, lookups on Windows Server platforms newer than Windows Server 2012
and on Windows 11 would return `Windows-10`.
(Contributed by Steve Dower in :gh:`89545`.)

* Add support for detecting Windows Server 2025.
(Contributed by Wulian233 in :gh:`127732`.)

pdb
---

Expand Down
Loading
0