Skip to content

bpo-9566: Change HANDLE argument parsing to unsigned in msvcrtmodule.c #2904

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

Merged
merged 1 commit into from
Jul 27, 2017

Conversation

segevfiner
Copy link
Contributor

@segevfiner segevfiner commented Jul 26, 2017

A fix after #2492, I guess the values were truncated before. Tests are failing in Windows x64.

I ran the test suite locally (Default flags) making sure it passes now with the correct Python version.

Barring weird failure from test.test_uuid.TestInternals.test_ipconfig_getnode related to encoding, I think subprocess uses cp1255 while the console seems to be set to cp862 in my computer. Maybe Python should be deciding on the code page for use by subprocess by using GetConsoleOutputCP. Who knows if that's always the right thing to do...

😓

@zooba @Haypo

https://bugs.python.org/issue9566

@zooba zooba merged commit a80e985 into python:master Jul 27, 2017
@segevfiner segevfiner deleted the bpo-9566-pointers-are-unsigned branch July 27, 2017 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants