[Python-checkins] CVS: python/dist/src/Modules gcmodule.c,2.13,2.14

Neil Schemenauer python-dev@python.org
Wed, 4 Oct 2000 09:25:12 -0700


Update of /cvsroot/python/python/dist/src/Modules
In directory slayer.i.sourceforge.net:/tmp/cvs-serv18671

Modified Files:
	gcmodule.c 
Log Message:
- do not start collection during processing of an exception


Index: gcmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/gcmodule.c,v
retrieving revision 2.13
retrieving revision 2.14
diff -C2 -r2.13 -r2.14
*** gcmodule.c	2000/09/22 22:35:36	2.13
--- gcmodule.c	2000/10/04 16:25:07	2.14
***************
*** 503,507 ****
  	}
  #endif
! 	if (allocated > threshold0 && enabled && threshold0 && !collecting) {
  		collecting++;
  		collect_generations();
--- 503,511 ----
  	}
  #endif
! 	if (allocated > threshold0 &&
! 	    enabled &&
! 	    threshold0 &&
! 	    !collecting &&
! 	    !PyErr_Occurred()) {
  		collecting++;
  		collect_generations();