Commit 0197ff97 authored by Antoine Pitrou's avatar Antoine Pitrou

Issue #14387: Do not include accu.h from Python.h.

parent ab79c71f
...@@ -100,7 +100,6 @@ ...@@ -100,7 +100,6 @@
#include "warnings.h" #include "warnings.h"
#include "weakrefobject.h" #include "weakrefobject.h"
#include "structseq.h" #include "structseq.h"
#include "accu.h"
#include "codecs.h" #include "codecs.h"
#include "pyerrors.h" #include "pyerrors.h"
......
...@@ -93,6 +93,8 @@ Extension Modules ...@@ -93,6 +93,8 @@ Extension Modules
Build Build
----- -----
- Issue #14387: Do not include accu.h from Python.h.
- Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined. - Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
Based on patch from Hervé Coatanhay. Based on patch from Hervé Coatanhay.
......
/* Accumulator struct implementation */ /* Accumulator struct implementation */
#include "Python.h" #include "Python.h"
#include "accu.h"
static PyObject * static PyObject *
join_list_unicode(PyObject *lst) join_list_unicode(PyObject *lst)
......
/* List object implementation */ /* List object implementation */
#include "Python.h" #include "Python.h"
#include "accu.h"
#ifdef STDC_HEADERS #ifdef STDC_HEADERS
#include <stddef.h> #include <stddef.h>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
/* Tuple object implementation */ /* Tuple object implementation */
#include "Python.h" #include "Python.h"
#include "accu.h"
/* Speed optimization to avoid frequent malloc/free of small tuples */ /* Speed optimization to avoid frequent malloc/free of small tuples */
#ifndef PyTuple_MAXSAVESIZE #ifndef PyTuple_MAXSAVESIZE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment