Issue #14387: Do not include accu.h from Python.h. · pythoncapi/cpython@0197ff9 · GitHub
Skip to content

Commit 0197ff9

Browse files
committed
Issue python#14387: Do not include accu.h from Python.h.
1 parent ab79c71 commit 0197ff9

5 files changed

Lines changed: 5 additions & 1 deletion

File tree

Include/Python.h

Lines changed: 0 additions & 1 deletion

Misc/NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ Extension Modules
9393
Build
9494
-----
9595

96+
- Issue #14387: Do not include accu.h from Python.h.
97+
9698
- Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
9799
Based on patch from Hervé Coatanhay.
98100

Objects/accu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* Accumulator struct implementation */
22

33
#include "Python.h"
4+
#include "accu.h"
45

56
static PyObject *
67
join_list_unicode(PyObject *lst)

Objects/listobject.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
/* List object implementation */
22

33
#include "Python.h"
4+
#include "accu.h"
45

56
#ifdef STDC_HEADERS
67
#include <stddef.h>

Objects/tupleobject.c

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)