[New-bugs-announce] [issue1137] pyexpat patch for changing buffer_size

Achim Gaedke report at bugs.python.org
Sun Sep 9 18:40:11 CEST 2007

New submission from Achim Gaedke:


Sometimes people have big amounts of text/data in xml files. To make
processing more effective, they should be able to change the buffer size
for collecting character data in one string.

Here comes a patch that applies necessary changes in setattr method. It
handles reallocation sufficiently efficient without introducing extra
variables to the parser class.

Also a documentation patch and some test cases are available.

These patches and tests were done with debian etch python2.5, which is
python-2.5.1 . This patch also works on python2.4 .

components: XML
files: pyexpat_c_patch
messages: 55767
nosy: AchimGaedke
severity: normal
status: open
title: pyexpat patch for changing buffer_size
versions: Python 2.5

Tracker <report at bugs.python.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyexpat_c_patch
Type: application/octet-stream
Size: 2544 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20070909/b99c513a/attachment.obj 

More information about the New-bugs-announce mailing list