Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Objects/codeobject.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include <stdbool.h>

#include "Python.h"
#include "opcode.h"

Expand All @@ -20,6 +18,8 @@
#include "pycore_uniqueid.h" // _PyObject_AssignUniqueId()
#include "clinic/codeobject.c.h"

#include <stdbool.h>

#define INITIAL_SPECIALIZED_CODE_SIZE 16

static const char *
Expand Down
3 changes: 1 addition & 2 deletions Python/assemble.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#include <stdbool.h>

#include "Python.h"
#include "pycore_code.h" // write_location_entry_start()
#include "pycore_compile.h"
Expand All @@ -8,6 +6,7 @@
#include "pycore_opcode_metadata.h" // is_pseudo_target, _PyOpcode_Caches
#include "pycore_symtable.h" // _Py_SourceLocation

#include <stdbool.h>

#define DEFAULT_CODE_SIZE 128
#define DEFAULT_LNOTAB_SIZE 16
Expand Down
4 changes: 2 additions & 2 deletions Python/compile.c
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
*
*/

#include <stdbool.h>

#include "Python.h"
#include "pycore_ast.h" // PyAST_Check, _PyAST_GetDocString()
#include "pycore_compile.h"
Expand All @@ -25,6 +23,8 @@

#include "cpython/code.h"

#include <stdbool.h>

#undef SUCCESS
#undef ERROR
#define SUCCESS 0
Expand Down
4 changes: 2 additions & 2 deletions Python/pythonrun.c
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@

/* TODO: Cull includes following phase split */

#include <stdbool.h>

#include "Python.h"

#include "pycore_ast.h" // PyAST_mod2obj()
Expand All @@ -29,6 +27,8 @@
#include "errcode.h" // E_EOF
#include "marshal.h" // PyMarshal_ReadLongFromFile()

#include <stdbool.h>

#ifdef MS_WINDOWS
# include "malloc.h" // alloca()
#endif
Expand Down
Loading