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

loewis at users.sourceforge.net loewis at users.sourceforge.net
Thu Mar 3 10:24:46 CET 2005


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

Modified Files:
	getargs.c 
Log Message:
Clear internal call error in 'L' format. Fixes #723201.
Backported to 2.4.


Index: getargs.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/getargs.c,v
retrieving revision 2.102
retrieving revision 2.103
diff -u -d -r2.102 -r2.103
--- getargs.c	7 Aug 2004 17:57:16 -0000	2.102
+++ getargs.c	3 Mar 2005 09:24:38 -0000	2.103
@@ -610,6 +610,7 @@
 		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