Browse Source

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

pull/2332/head
Antoine Pitrou 14 years ago
parent
commit
0197ff97d0
  1. 1
      Include/Python.h
  2. 2
      Misc/NEWS
  3. 1
      Objects/accu.c
  4. 1
      Objects/listobject.c
  5. 1
      Objects/tupleobject.c

1
Include/Python.h

@ -100,7 +100,6 @@
#include "warnings.h"
#include "weakrefobject.h"
#include "structseq.h"
#include "accu.h"
#include "codecs.h"
#include "pyerrors.h"

2
Misc/NEWS

@ -93,6 +93,8 @@ Extension Modules
Build
-----
- Issue #14387: Do not include accu.h from Python.h.
- Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
Based on patch from Hervé Coatanhay.

1
Objects/accu.c

@ -1,6 +1,7 @@
/* Accumulator struct implementation */
#include "Python.h"
#include "accu.h"
static PyObject *
join_list_unicode(PyObject *lst)

1
Objects/listobject.c

@ -1,6 +1,7 @@
/* List object implementation */
#include "Python.h"
#include "accu.h"
#ifdef STDC_HEADERS
#include <stddef.h>

1
Objects/tupleobject.c

@ -2,6 +2,7 @@
/* Tuple object implementation */
#include "Python.h"
#include "accu.h"
/* Speed optimization to avoid frequent malloc/free of small tuples */
#ifndef PyTuple_MAXSAVESIZE

Loading…
Cancel
Save