[Python-checkins] CVS: python/dist/src/Modules mpzmodule.c,2.36,2.37 regexpr.c,1.34,1.35
Tim Peters
tim_one@users.sourceforge.net
Sun, 15 Jul 2001 11:38:49 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv19539/Modules
Modified Files:
mpzmodule.c regexpr.c
Log Message:
Python.h: Don't attempt to redefine NDEBUG if it's already defined.
Others: Remove redundant includes of assert.h.
Index: mpzmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mpzmodule.c,v
retrieving revision 2.36
retrieving revision 2.37
diff -C2 -r2.36 -r2.37
*** mpzmodule.c 2001/02/12 16:48:13 2.36
--- mpzmodule.c 2001/07/15 18:38:46 2.37
***************
*** 13,17 ****
#include "Python.h"
- #include <assert.h>
#include <sys/types.h> /* For size_t */
--- 13,16 ----
Index: regexpr.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/regexpr.c,v
retrieving revision 1.34
retrieving revision 1.35
diff -C2 -r1.34 -r1.35
*** regexpr.c 2001/07/03 19:27:05 1.34
--- regexpr.c 2001/07/15 18:38:46 1.35
***************
*** 31,35 ****
#include "Python.h"
#include "regexpr.h"
- #include <assert.h>
/* The original code blithely assumed that sizeof(short) == 2. Not
--- 31,34 ----