[Python-checkins] python/dist/src/Python ceval.c,2.338,2.339

mwh@users.sourceforge.net mwh@users.sourceforge.net
Wed, 06 Nov 2002 07:17:34 -0800


Update of /cvsroot/python/python/dist/src/Python
In directory usw-pr-cvs1:/tmp/cvs-serv11986/Python

Modified Files:
	ceval.c 
Log Message:
Handle really big steps in extended slices.

Fixes a test failure on 64 bit platforms (I hope).



Index: ceval.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ceval.c,v
retrieving revision 2.338
retrieving revision 2.339
diff -C2 -d -r2.338 -r2.339
*** ceval.c	3 Oct 2002 09:53:11 -0000	2.338
--- ceval.c	6 Nov 2002 15:17:32 -0000	2.339
***************
*** 3508,3512 ****
  			x = INT_MAX;
  		else if (x < -INT_MAX)
! 			x = 0;
  		*pi = x;
  	}
--- 3508,3512 ----
  			x = INT_MAX;
  		else if (x < -INT_MAX)
! 			x = -INT_MAX;
  		*pi = x;
  	}