Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Bugs
[issue1137] pyexpat patch for changing buffer_size
 

Index | Next | Previous | View Flat


report at bugs

Sep 9, 2007, 9:40 AM


Views: 165
Permalink
[issue1137] pyexpat patch for changing buffer_size

New submission from Achim Gaedke:

Hello!

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>
<http://bugs.python.org/issue1137>
__________________________________
Attachments: pyexpat_c_patch (2.48 KB)

Subject User Time
[issue1137] pyexpat patch for changing buffer_size report at bugs Sep 9, 2007, 9:40 AM
    [issue1137] pyexpat patch for changing buffer_size report at bugs Sep 9, 2007, 9:40 AM
    [issue1137] pyexpat patch for changing buffer_size report at bugs Sep 9, 2007, 9:41 AM
    [issue1137] pyexpat patch for changing buffer_size report at bugs Sep 9, 2007, 9:42 AM
    [issue1137] pyexpat patch for changing buffer_size report at bugs Sep 9, 2007, 9:49 AM
    [issue1137] pyexpat patch for changing buffer_size report at bugs Sep 17, 2007, 2:12 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.