Skip to content

Commit 2a3bdf1

Browse files
Drop the explicit includes.
1 parent 36cda7b commit 2a3bdf1

File tree

3 files changed

+0
-20
lines changed

3 files changed

+0
-20
lines changed

Modules/signalmodule.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,6 @@
44
/* XXX Signals should be recorded per thread, now we have thread state. */
55

66
#include "Python.h"
7-
8-
#ifdef MS_WINDOWS
9-
// These must be included before pycore_runtime.h or pycore_signal.h.
10-
# include <winsock2.h>
11-
# include <windows.h>
12-
#endif
13-
147
#include "pycore_atomic.h" // _Py_atomic_int
158
#include "pycore_call.h" // _PyObject_Call()
169
#include "pycore_ceval.h" // _PyEval_SignalReceived()

Python/pylifecycle.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
#include "Python.h"
44

5-
#ifdef MS_WINDOWS
6-
// These must be included before pycore_runtime.h.
7-
# include <winsock2.h>
8-
# include "windows.h"
9-
#endif
10-
115
#include "pycore_bytesobject.h" // _PyBytes_InitTypes()
126
#include "pycore_ceval.h" // _PyEval_FiniGIL()
137
#include "pycore_context.h" // _PyContext_Init()

Python/pystate.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,6 @@
22
/* Thread and interpreter state structures and their interfaces */
33

44
#include "Python.h"
5-
6-
#ifdef MS_WINDOWS
7-
// These must be included before pycore_runtime.h.
8-
# include <winsock2.h>
9-
# include "windows.h"
10-
#endif
11-
125
#include "pycore_ceval.h"
136
#include "pycore_code.h" // stats
147
#include "pycore_frame.h"

0 commit comments

Comments
 (0)