Skip to content

Commit 28d0286

Browse files
miss-islingtonidannAA-TurnerhugovkWulian233
authored
[3.13] gh-131741: Add documentation for Windows version detection change in platform (GH-131742) (#131767)
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 <[email protected]> Co-authored-by: Adam Turner <[email protected]> Co-authored-by: Hugo van Kemenade <[email protected]> Co-authored-by: Wulian <[email protected]>
1 parent b4fa4c2 commit 28d0286

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Doc/whatsnew/3.12.rst

+8
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,14 @@ 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+
Previously, 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+
814822
pdb
815823
---
816824

0 commit comments

Comments
 (0)