[Python-checkins] python/dist/src/Python getargs.c,2.103,2.104

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


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

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


Index: getargs.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/getargs.c,v
retrieving revision 2.103
retrieving revision 2.104
diff -u -d -r2.103 -r2.104
--- getargs.c	3 Mar 2005 09:24:38 -0000	2.103
+++ getargs.c	3 Mar 2005 12:26:35 -0000	2.104
@@ -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