Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-102255: use GetVersionEx instead of GetVersionExW #102583

Merged
merged 1 commit into from
Mar 20, 2023

Conversation

maxbachmann
Copy link
Contributor

@maxbachmann maxbachmann commented Mar 10, 2023

as an alternative we can change the rest of the function to use the wide APIs. It does not really matter here though.

since we pass a structure of type `OSVERSIONINFOEX`, we need to call
`GetVersionEx` instead of `GetVersionExW`.
@maxbachmann
Copy link
Contributor Author

@zooba could you review this?

@zooba
Copy link
Member

zooba commented Mar 20, 2023

Good catch! I'll re-run that failed test and hopefully it'll pass this time - it's not related to this change, but it's also not skippable.

@zooba zooba merged commit 96e05b6 into python:main Mar 20, 2023
Fidget-Spinner pushed a commit to Fidget-Spinner/cpython that referenced this pull request Mar 27, 2023
…rgument type (pythonGH-102583)

Since we pass a structure of type `OSVERSIONINFOEX`, we need to call
`GetVersionEx` instead of `GetVersionExW`.
warsaw pushed a commit to warsaw/cpython that referenced this pull request Apr 11, 2023
…rgument type (pythonGH-102583)

Since we pass a structure of type `OSVERSIONINFOEX`, we need to call
`GetVersionEx` instead of `GetVersionExW`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants