https://github.com/python/cpython/commit/28d02860c0c40b921b53bf6871e2bb0e463c5f70
commit: 28d02860c0c40b921b53bf6871e2bb0e463c5f70
branch: 3.13
author: Miss Islington (bot) <[email protected]>
committer: AA-Turner <[email protected]>
date: 2025-03-26T14:56:44Z
summary:

[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 b9ca438daab6a4e2513ab38171e94c75da03d6e3)

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]>

files:
M Doc/whatsnew/3.12.rst

diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index cb9f54c6897ee3..52b193a0676451 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -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
 ---
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to