Skip to content

Commit 44c3953

Browse files
authored
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.
1 parent 90b82f2 commit 44c3953

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Doc/whatsnew/3.12.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,17 @@ pathlib
811811
:meth:`pathlib.Path.rglob` and :meth:`pathlib.PurePath.match` for matching
812812
the path's case sensitivity, allowing for more precise control over the matching process.
813813

814+
platform
815+
--------
816+
817+
* Add support for detecting Windows 11 and Windows Server releases past 2012.
818+
Prior, lookups on Windows Server platforms newer than Windows Server 2012
819+
and on Windows 11 would return `Windows-10`.
820+
(Contributed by Steve Dower in :gh:`89545`.)
821+
822+
* Add support for detecting Windows Server 2025.
823+
(Contributed by Wulian233 in :gh:`127732`.)
824+
814825
pdb
815826
---
816827

0 commit comments

Comments
 (0)