Remove redundant includes of headers that are already included by Python.h.

This commit is contained in:
Georg Brandl 2010-11-30 09:41:01 +00:00
parent 71c23d4473
commit e5b99f0fb3
22 changed files with 0 additions and 32 deletions

View file

@ -3,7 +3,6 @@
*/
#include "Python.h"
#include "modsupport.h"
#include "structmember.h"
#include <time.h>

View file

@ -1,5 +1,4 @@
#include "Python.h"
#include "compile.h"
#include "frameobject.h"
#include "rotatingtree.h"

View file

@ -2,7 +2,6 @@
#include "Python.h"
#include "osdefs.h"
#include "import.h"
#include <locale.h>

View file

@ -34,10 +34,8 @@
#include "grammar.h"
#include "parsetok.h"
/* ISTERMINAL() / ISNONTERMINAL() */
#include "compile.h"
#undef Yield
#include "ast.h"
#include "pyarena.h"
extern grammar _PyParser_Grammar; /* From graminit.c */

View file

@ -4,7 +4,6 @@
/* XXX Signals should be recorded per thread, now we have thread state. */
#include "Python.h"
#include "intrcheck.h"
#ifdef MS_WINDOWS
#include <Windows.h>

View file

@ -1,7 +1,6 @@
#include "Python.h"
#include "code.h"
#include "compile.h"
#include "Python-ast.h"
#include "symtable.h"

View file

@ -3,7 +3,6 @@
#include "Python.h"
#include "code.h"
#include "eval.h"
#include "structmember.h"
PyObject *

View file

@ -2,8 +2,6 @@
#include "Python.h"
#include "frameobject.h"
#include "genobject.h"
#include "ceval.h"
#include "structmember.h"
#include "opcode.h"

View file

@ -2,7 +2,6 @@
/* Generic object operations; and implementation of None (NoObject) */
#include "Python.h"
#include "sliceobject.h" /* For PyEllipsis_Type */
#include "frameobject.h"
#ifdef __cplusplus

View file

@ -9,7 +9,6 @@
*/
#include "Python.h"
#include "unicodeobject.h"
#define ALPHA_MASK 0x01
#define DECIMAL_MASK 0x02

View file

@ -43,7 +43,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include "Python.h"
#include "bytes_methods.h"
#include "unicodeobject.h"
#include "ucnhash.h"
#ifdef MS_WINDOWS

View file

@ -7,7 +7,6 @@
#include "Python-ast.h"
#include "grammar.h"
#include "node.h"
#include "pyarena.h"
#include "ast.h"
#include "token.h"
#include "parsetok.h"

View file

@ -5,7 +5,6 @@
#include "node.h"
#include "code.h"
#include "eval.h"
#include <ctype.h>

View file

@ -13,7 +13,6 @@
#include "code.h"
#include "frameobject.h"
#include "eval.h"
#include "opcode.h"
#include "structmember.h"

View file

@ -25,10 +25,8 @@
#include "Python-ast.h"
#include "node.h"
#include "pyarena.h"
#include "ast.h"
#include "code.h"
#include "compile.h"
#include "symtable.h"
#include "opcode.h"

View file

@ -4,7 +4,6 @@
#include "token.h"
#include "graminit.h"
#include "code.h"
#include "compile.h"
#include "symtable.h"
#define UNDEFINED_FUTURE_FEATURE "future feature %.100s is not defined"

View file

@ -5,13 +5,9 @@
#include "Python-ast.h"
#undef Yield /* undefine macro conflicting with winbase.h */
#include "pyarena.h"
#include "pythonrun.h"
#include "errcode.h"
#include "marshal.h"
#include "code.h"
#include "compile.h"
#include "eval.h"
#include "osdefs.h"
#include "importdl.h"

View file

@ -4,10 +4,8 @@
#include "Python-ast.h"
#include "node.h"
#include "pyarena.h"
#include "ast.h"
#include "code.h"
#include "compile.h"
#include "symtable.h"
#include "opcode.h"

View file

@ -1,5 +1,4 @@
#include "Python.h"
#include "pyarena.h"
/* A simple arena block structure.

View file

@ -11,14 +11,10 @@
#include "parsetok.h"
#include "errcode.h"
#include "code.h"
#include "compile.h"
#include "symtable.h"
#include "pyarena.h"
#include "ast.h"
#include "eval.h"
#include "marshal.h"
#include "osdefs.h"
#include "abstract.h"
#ifdef HAVE_SIGNAL_H
#include <signal.h>

View file

@ -17,7 +17,6 @@ Data members:
#include "Python.h"
#include "code.h"
#include "frameobject.h"
#include "eval.h"
#include "osdefs.h"

View file

@ -7,7 +7,6 @@
#include "frameobject.h"
#include "structmember.h"
#include "osdefs.h"
#include "traceback.h"
#ifdef HAVE_FCNTL_H
#include <fcntl.h>
#endif