Skip to content

Commit b7c5371

Browse files
miss-islingtonidannAA-TurnerhugovkWulian233
authored
[3.12] gh-131741: Add documentation for Windows version detection change in platform (GH-131742) (#131768)
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 e78280d commit b7c5371

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
@@ -818,6 +818,14 @@ pathlib
818818
:meth:`pathlib.Path.rglob` and :meth:`pathlib.PurePath.match` for matching
819819
the path's case sensitivity, allowing for more precise control over the matching process.
820820

821+
platform
822+
--------
823+
824+
* Add support for detecting Windows 11 and Windows Server releases past 2012.
825+
Previously, lookups on Windows Server platforms newer than Windows Server 2012
826+
and on Windows 11 would return ``Windows-10``.
827+
(Contributed by Steve Dower in :gh:`89545`.)
828+
821829
pdb
822830
---
823831

0 commit comments

Comments
 (0)