[Python-checkins] CVS: python/dist/src/Modules pyexpat.c,2.52,2.53
Martin v. L?wis
loewis@users.sourceforge.net
Sat, 10 Nov 2001 05:57:57 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv31810
Modified Files:
pyexpat.c
Log Message:
Merge 1.42 from PyXML: Flag errors resulting from argument conversion problems.
Fixes problem with not detecting UTF-8 errors.
Index: pyexpat.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/pyexpat.c,v
retrieving revision 2.52
retrieving revision 2.53
diff -C2 -d -r2.52 -r2.53
*** pyexpat.c 2001/10/21 08:53:52 2.52
--- pyexpat.c 2001/11/10 13:57:55 2.53
***************
*** 476,481 ****
&& self->handlers[NAME] != Py_None) { \
args = Py_BuildValue PARAM_FORMAT ;\
! if (!args) \
! return RETURN; \
self->in_callback = 1; \
rv = call_with_frame(getcode(NAME,#NAME,__LINE__), \
--- 476,480 ----
&& self->handlers[NAME] != Py_None) { \
args = Py_BuildValue PARAM_FORMAT ;\
! if (!args) { flag_error(self); return RETURN;} \
self->in_callback = 1; \
rv = call_with_frame(getcode(NAME,#NAME,__LINE__), \