Skip to content

Commit c96d00e

Browse files
authored
bpo-41078: Fix bltinmodule.c with Py_TRACE_REFS (GH-21058)
Add pycore_object.h include to fix bltinmodule.c when Py_TRACE_REFS macro is defined.
1 parent 1937edd commit c96d00e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/bltinmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
#include <ctype.h>
55
#include "ast.h"
66
#undef Yield /* undefine macro conflicting with <winbase.h> */
7+
#include "pycore_object.h" // _Py_AddToAllObjects()
78
#include "pycore_pyerrors.h" // _PyErr_NoMemory()
89
#include "pycore_pystate.h" // _PyThreadState_GET()
910
#include "pycore_tuple.h" // _PyTuple_FromArray()

0 commit comments

Comments
 (0)