[Python-checkins] CVS: python/dist/src/Objects longobject.c,1.106,1.107

Skip Montanaro montanaro@users.sourceforge.net
Thu, 13 Sep 2001 12:05:32 -0700


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

Modified Files:
	longobject.c 
Log Message:
based upon a suggestion in c.l.py, this slight expansion of the
OverflowError message seems reasonable.


Index: longobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/longobject.c,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -d -r1.106 -r1.107
*** longobject.c	2001/09/11 23:24:22	1.106
--- longobject.c	2001/09/13 19:05:30	1.107
***************
*** 212,216 ****
   overflow:
  	PyErr_SetString(PyExc_OverflowError,
! 			"long int too large to convert");
  	return -1;
  }
--- 212,216 ----
   overflow:
  	PyErr_SetString(PyExc_OverflowError,
! 			"long int too large to convert to int");
  	return -1;
  }