• Fred Drake's avatar
    Added character data buffering to pyexpat parser objects. · 15cf5f2d
    Fred Drake authored
    Setting the buffer_text attribute to true causes the parser to collect
    character data, waiting as long as possible to report it to the Python
    callback.  This can save an enormous number of callbacks from C to
    Python, which can be a substantial performance improvement.
    
    buffer_text defaults to false.
    15cf5f2d
test_pyexpat.py 10.2 KB