Include structseq.h in Python.h, and remove now-redundant includes in individual sources.
This commit is contained in:
parent
53afa6d239
commit
71c23d4473
|
@ -98,6 +98,7 @@
|
|||
#include "descrobject.h"
|
||||
#include "warnings.h"
|
||||
#include "weakrefobject.h"
|
||||
#include "structseq.h"
|
||||
|
||||
#include "codecs.h"
|
||||
#include "pyerrors.h"
|
||||
|
|
|
@ -136,6 +136,8 @@ Library
|
|||
C-API
|
||||
-----
|
||||
|
||||
- structseq.h is now included in Python.h.
|
||||
|
||||
- Loosen PyArg_ValidateKeywordArguments to allow dict subclasses.
|
||||
|
||||
Tests
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
#include "Python.h"
|
||||
#include "compile.h"
|
||||
#include "frameobject.h"
|
||||
#include "structseq.h"
|
||||
#include "rotatingtree.h"
|
||||
|
||||
#if !defined(HAVE_LONG_LONG)
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
#define PY_SSIZE_T_CLEAN
|
||||
|
||||
#include "Python.h"
|
||||
#include "structseq.h"
|
||||
#include "structmember.h"
|
||||
#include <ctype.h>
|
||||
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
/* UNIX group file access module */
|
||||
|
||||
#include "Python.h"
|
||||
#include "structseq.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <grp.h>
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
#define PY_SSIZE_T_CLEAN
|
||||
|
||||
#include "Python.h"
|
||||
#include "structseq.h"
|
||||
|
||||
#if defined(__VMS)
|
||||
# include <unixio.h>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
/* UNIX password file access module */
|
||||
|
||||
#include "Python.h"
|
||||
#include "structseq.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <pwd.h>
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "structseq.h"
|
||||
#include <sys/resource.h>
|
||||
#include <sys/time.h>
|
||||
#include <string.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
/* For info also see http://www.unixpapa.com/incnote/passwd.html */
|
||||
|
||||
#include "Python.h"
|
||||
#include "structseq.h"
|
||||
|
||||
#include <sys/types.h>
|
||||
#ifdef HAVE_SHADOW_H
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
/* Time module */
|
||||
|
||||
#include "Python.h"
|
||||
#include "structseq.h"
|
||||
#include "_time.h"
|
||||
|
||||
#define TZNAME_ENCODING "utf-8"
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
for any kind of float exception without losing portability. */
|
||||
|
||||
#include "Python.h"
|
||||
#include "structseq.h"
|
||||
|
||||
#include <ctype.h>
|
||||
#include <float.h>
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "longintrepr.h"
|
||||
#include "structseq.h"
|
||||
|
||||
#include <float.h>
|
||||
#include <ctype.h>
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "structmember.h"
|
||||
#include "structseq.h"
|
||||
|
||||
static char visible_length_key[] = "n_sequence_fields";
|
||||
static char real_length_key[] = "n_fields";
|
||||
|
|
|
@ -15,7 +15,6 @@ Data members:
|
|||
*/
|
||||
|
||||
#include "Python.h"
|
||||
#include "structseq.h"
|
||||
#include "code.h"
|
||||
#include "frameobject.h"
|
||||
#include "eval.h"
|
||||
|
|
Loading…
Reference in New Issue