Include structseq.h in Python.h, and remove now-redundant includes in individual sources.

This commit is contained in:
Georg Brandl 2010-11-30 09:30:54 +00:00
parent 53afa6d239
commit 71c23d4473
14 changed files with 3 additions and 12 deletions

View file

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

View file

@ -136,6 +136,8 @@ Library
C-API
-----
- structseq.h is now included in Python.h.
- Loosen PyArg_ValidateKeywordArguments to allow dict subclasses.
Tests

View file

@ -1,7 +1,6 @@
#include "Python.h"
#include "compile.h"
#include "frameobject.h"
#include "structseq.h"
#include "rotatingtree.h"
#if !defined(HAVE_LONG_LONG)

View file

@ -6,7 +6,6 @@
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "structseq.h"
#include "structmember.h"
#include <ctype.h>

View file

@ -2,7 +2,6 @@
/* UNIX group file access module */
#include "Python.h"
#include "structseq.h"
#include <sys/types.h>
#include <grp.h>

View file

@ -28,7 +28,6 @@
#define PY_SSIZE_T_CLEAN
#include "Python.h"
#include "structseq.h"
#if defined(__VMS)
# include <unixio.h>

View file

@ -2,7 +2,6 @@
/* UNIX password file access module */
#include "Python.h"
#include "structseq.h"
#include <sys/types.h>
#include <pwd.h>

View file

@ -1,6 +1,5 @@
#include "Python.h"
#include "structseq.h"
#include <sys/resource.h>
#include <sys/time.h>
#include <string.h>

View file

@ -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

View file

@ -2,7 +2,6 @@
/* Time module */
#include "Python.h"
#include "structseq.h"
#include "_time.h"
#define TZNAME_ENCODING "utf-8"

View file

@ -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>

View file

@ -4,7 +4,6 @@
#include "Python.h"
#include "longintrepr.h"
#include "structseq.h"
#include <float.h>
#include <ctype.h>

View file

@ -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";

View file

@ -15,7 +15,6 @@ Data members:
*/
#include "Python.h"
#include "structseq.h"
#include "code.h"
#include "frameobject.h"
#include "eval.h"