8000 [3.13] gh-131741: Add documentation for Windows version detection change in `platform` (GH-131742) by miss-islington · Pull Request #131767 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.13] gh-131741: Add documentation for Windows version detection change in platform (GH-131742) #131767

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 1 commit into from
Mar 26, 2025
Merged
Changes from all commits
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
gh-131741: Add documentation for Windows version detection change in …
…`platform` (GH-131742)

Document the behavior change between 3.11 & 3.12, where ``platform`` now correctly detects Windows 11 and Windows Server releases past Windows Server 2012.
(cherry picked from commit b9ca438)

Co-authored-by: Idan Noiman <idann@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Wulian <1055917385@qq.com>
  • Loading branch information
4 people authored and miss-islington committed Mar 26, 2025
commit cafbc08ae66dd4e4ae4bd300b268380a03a3ddc0
8 changes: 8 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,14 @@ 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.
Previously, 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`.)

pdb
---

Expand Down
Loading
0