[docs] [issue10149] Data truncation in expat parser

Fred L. Drake, Jr. report at bugs.python.org
Fri Aug 19 14:58:56 CEST 2011

Fred L. Drake, Jr. <fred at fdrake.net> added the comment:

Chunking of the data is expected with Expat.  There are no promises about *where* chunks are broken; the underlying behavior will break at line endings, but is not limited to that.

Setting buffer_text informs the Python wrapper that it's allowed to combine the chunks reported by the Expat library; this was made optional since it could affect working applications (changing the default with the move to Python 3 may have been acceptable, though).

nosy: +fdrake

Python tracker <report at bugs.python.org>

More information about the docs mailing list