You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Try to avoid invoking a new process to determine the Windows version in the platform module #129294
In agreement with Steve, I'm going to close this issue. We may be at the point that we can remove the subprocess-based fallback entirely, but being the fallback fallback I'm not sure it's worth a change. Either way it's not a pressing concern, or a performance issue.
Activity
zooba commentedon Jan 27, 2025
This is already fallback code for if WMI doesn't work, and GetVersionEx is already provided by
sys.getwindowsversion.I don't think there's anything to change here.
tomergert commentedon Jan 28, 2025
Thank you,. I addressed your comment in the PR
#129295 (comment)
zware commentedon Jul 18, 2026
In agreement with Steve, I'm going to close this issue. We may be at the point that we can remove the subprocess-based fallback entirely, but being the fallback fallback I'm not sure it's worth a change. Either way it's not a pressing concern, or a performance issue.