sys.getwindowsversion
can fail without setting an exception on some WinAPI partitions
#133580
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
OS-windows
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
_sys_getwindowsversion_from_kernel32
doesn't set an exception when it's called for WinAPI partitions that don't support the call. This leads tosys.getwindowsversion
failing without setting an exception.CPython versions tested on:
3.13
Operating systems tested on:
Windows
Linked PRs
The text was updated successfully, but these errors were encountered: