Skip to content

Conversation

gongminmin
Copy link
Contributor

@gongminmin gongminmin commented May 16, 2020

Python/pytime.c only needs struct timeval from windows.h. It can be changed to winsock2.h for better compiling performance. Picking winsock2.h instead of winsock.h is because the 2 version works with desktop apps and UWP apps.

https://bugs.python.org/issue40650

@miss-islington
Copy link
Contributor

Thanks @gongminmin for the PR, and @zooba for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 18, 2020
@bedevere-bot
Copy link

GH-20187 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 18, 2020
@bedevere-bot
Copy link

GH-20188 is a backport of this pull request to the 3.7 branch.

miss-islington added a commit that referenced this pull request May 18, 2020
miss-islington added a commit that referenced this pull request May 18, 2020
@gongminmin gongminmin deleted the Winsock branch May 20, 2020 02:00
arturoescaip pushed a commit to arturoescaip/cpython that referenced this pull request May 24, 2020
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.

5 participants