[Python-checkins] python/dist/src/Python ceval.c, 2.409, 2.410 compile.c, 2.305, 2.306

nnorwitz at users.sourceforge.net nnorwitz at users.sourceforge.net
Thu Jul 8 03:49:03 CEST 2004


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7983/Python

Modified Files:
	ceval.c compile.c 
Log Message:
Remove unused macros in .c files

Index: ceval.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ceval.c,v
retrieving revision 2.409
retrieving revision 2.410
diff -C2 -d -r2.409 -r2.410
*** ceval.c	7 Jul 2004 17:44:11 -0000	2.409
--- ceval.c	8 Jul 2004 01:49:00 -0000	2.410
***************
*** 3805,3811 ****
  }
  
- #define SLICE_ERROR_MSG \
- 	"standard sequence type does not support step size other than one"
- 
  /* Extract a slice index from a PyInt or PyLong, and store in *pi.
     Silently reduce values larger than INT_MAX to INT_MAX, and silently
--- 3805,3808 ----

Index: compile.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/compile.c,v
retrieving revision 2.305
retrieving revision 2.306
diff -C2 -d -r2.305 -r2.306
*** compile.c	24 Jun 2004 09:25:39 -0000	2.305
--- compile.c	8 Jul 2004 01:49:00 -0000	2.306
***************
*** 52,58 ****
  "duplicate argument '%s' in function definition"
  
- #define ILLEGAL_DYNAMIC_SCOPE \
- "%.100s: exec or 'import *' makes names ambiguous in nested scope"
- 
  #define GLOBAL_AFTER_ASSIGN \
  "name '%.400s' is assigned to before global declaration"
--- 52,55 ----
***************
*** 846,851 ****
  }
  
- #define DUMP(N) dump(N, 0, -1)
- 
  static int
  com_init(struct compiling *c, const char *filename)
--- 843,846 ----



More information about the Python-checkins mailing list