summaryrefslogtreecommitdiffstats
path: root/Modules/expat/xmlparse.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2006-07-06 05:13:22 (GMT)
committerFred Drake <fdrake@acm.org>2006-07-06 05:13:22 (GMT)
commit24a0f41d8380b3a13aef9c728394ba0c20b9cb90 (patch)
tree6ac655464a69bec07846f3eccbc70978ef2d9712 /Modules/expat/xmlparse.c
parenta4df11d9c34952ae6d98b17fb92cbb35f8880cc8 (diff)
downloadcpython-24a0f41d8380b3a13aef9c728394ba0c20b9cb90.zip
cpython-24a0f41d8380b3a13aef9c728394ba0c20b9cb90.tar.gz
cpython-24a0f41d8380b3a13aef9c728394ba0c20b9cb90.tar.bz2
- back out Expat change; the final fix to Expat will be different
- change the pyexpat wrapper to not be so sensitive to this detail of the Expat implementation (the ex-crasher test still passes)
Diffstat (limited to 'Modules/expat/xmlparse.c')
-rw-r--r--Modules/expat/xmlparse.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Modules/expat/xmlparse.c b/Modules/expat/xmlparse.c
index f8fc027..882470d 100644
--- a/Modules/expat/xmlparse.c
+++ b/Modules/expat/xmlparse.c
@@ -2552,8 +2552,6 @@ doContent(XML_Parser parser,
(int)(dataPtr - (ICHAR *)dataBuf));
if (s == next)
break;
- if (ps_parsing == XML_FINISHED || ps_parsing == XML_SUSPENDED)
- break;
*eventPP = s;
}
}