Issue #14387: Do not include accu.h from Python.h.
This commit is contained in:
commit
d0acb411ef
|
@ -101,7 +101,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"
|
||||||
|
|
|
@ -155,6 +155,8 @@ Library
|
||||||
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.
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#define PY_SSIZE_T_CLEAN
|
#define PY_SSIZE_T_CLEAN
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
#include "structmember.h"
|
#include "structmember.h"
|
||||||
|
#include "accu.h"
|
||||||
#include "_iomodule.h"
|
#include "_iomodule.h"
|
||||||
|
|
||||||
/* Implementation note: the buffer is always at least one character longer
|
/* Implementation note: the buffer is always at least one character longer
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#include "Python.h"
|
#include "Python.h"
|
||||||
#include "structmember.h"
|
#include "structmember.h"
|
||||||
|
#include "accu.h"
|
||||||
|
|
||||||
#if PY_VERSION_HEX < 0x02060000 && !defined(Py_TYPE)
|
#if PY_VERSION_HEX < 0x02060000 && !defined(Py_TYPE)
|
||||||
#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
|
#define Py_TYPE(ob) (((PyObject*)(ob))->ob_type)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
/* 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)
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
/* 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 @@
|
||||||
unicode_format.h -- implementation of str.format().
|
unicode_format.h -- implementation of str.format().
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "accu.h"
|
||||||
|
|
||||||
/* Defines for more efficiently reallocating the string buffer */
|
/* Defines for more efficiently reallocating the string buffer */
|
||||||
#define INITIAL_SIZE_INCREMENT 100
|
#define INITIAL_SIZE_INCREMENT 100
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue