[issue40650] Pytime.c doesn't need to include windows.h

Steve Dower report at bugs.python.org
Mon May 18 12:21:34 EDT 2020


Steve Dower <steve.dower at python.org> added the comment:

Missing piece of information, it's also _documented_ as being part of the winsock headers: https://docs.microsoft.com/en-us/windows/win32/api/winsock/ns-winsock-timeval

Plenty of things get included inadvertently, but they can't be relied upon. In this case it seems like an okay change.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40650>
_______________________________________


More information about the Python-bugs-list mailing list