mirror of
https://github.com/python/cpython.git
synced 2025-08-07 18:38:38 +00:00
gh-127732: Add Windows Server 2025 detection to platform module (GH-127733)
(cherry picked from commit 5eb7fd4d0f
)
Co-authored-by: Wulian <1055917385@qq.com>
This commit is contained in:
parent
5f5624ddc8
commit
fa935225a4
2 changed files with 3 additions and 1 deletions
|
@ -348,7 +348,8 @@ _WIN32_CLIENT_RELEASES = [
|
||||||
]
|
]
|
||||||
|
|
||||||
_WIN32_SERVER_RELEASES = [
|
_WIN32_SERVER_RELEASES = [
|
||||||
((10, 1, 0), "post2022Server"),
|
((10, 1, 0), "post2025Server"),
|
||||||
|
((10, 0, 26100), "2025Server"),
|
||||||
((10, 0, 20348), "2022Server"),
|
((10, 0, 20348), "2022Server"),
|
||||||
((10, 0, 17763), "2019Server"),
|
((10, 0, 17763), "2019Server"),
|
||||||
((6, 4, 0), "2016Server"),
|
((6, 4, 0), "2016Server"),
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
The :mod:`platform` module now correctly detects Windows Server 2025.
|
Loading…
Add table
Add a link
Reference in a new issue