[Python-checkins] python/dist/src/Python getargs.c, 2.102.2.1, 2.102.2.2

loewis at users.sourceforge.net loewis at users.sourceforge.net
Thu Mar 3 13:26:23 CET 2005


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

Modified Files:
      Tag: release24-maint
	getargs.c 
Log Message:
Revert previous checkin on getargs 'L' code. Try to convert all
numbers in PyLong_AsLongLong, and update test suite accordingly.


Index: getargs.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/getargs.c,v
retrieving revision 2.102.2.1
retrieving revision 2.102.2.2
diff -u -d -r2.102.2.1 -r2.102.2.2
--- getargs.c	3 Mar 2005 09:24:05 -0000	2.102.2.1
+++ getargs.c	3 Mar 2005 12:26:20 -0000	2.102.2.2
@@ -610,7 +610,6 @@
 		PY_LONG_LONG *p = va_arg( *p_va, PY_LONG_LONG * );
 		PY_LONG_LONG ival = PyLong_AsLongLong( arg );
 		if( ival == (PY_LONG_LONG)-1 && PyErr_Occurred() ) {
-			PyErr_Clear();
 			return converterr("long<L>", arg, msgbuf, bufsize);
 		} else {
 			*p = ival;



More information about the Python-checkins mailing list