[Lxml-checkins] r33833 - lxml/branch/lxml-1.1/src/lxml
scoder at codespeak.net
scoder at codespeak.net
Sat Oct 28 11:17:46 CEST 2006
Author: scoder
Date: Sat Oct 28 11:17:44 2006
New Revision: 33833
Modified:
lxml/branch/lxml-1.1/src/lxml/iterparse.pxi
Log:
merge: iterparse parser lock
Modified: lxml/branch/lxml-1.1/src/lxml/iterparse.pxi
==============================================================================
--- lxml/branch/lxml-1.1/src/lxml/iterparse.pxi (original)
+++ lxml/branch/lxml-1.1/src/lxml/iterparse.pxi Sat Oct 28 11:17:44 2006
@@ -268,6 +268,7 @@
context._wrapCallbacks(self._parser_ctxt.sax)
xmlparser.xmlCtxtUseOptions(self._parser_ctxt, parse_options)
xmlparser.xmlCtxtResetPush(self._parser_ctxt, NULL, 0, c_filename, NULL)
+ self._lockParser() # will not be unlocked - no other methods supported
def __iter__(self):
return self
More information about the lxml-checkins
mailing list