[issue43483] Loss of content in simple (but oversize) SAX parsing

Larry Trammell report at bugs.python.org
Wed Mar 17 14:19:37 EDT 2021


Larry Trammell <ridgerat at nwi.net> added the comment:

I think the existing ContentHandler.characters(content) documentation DOES say that the text can come back in chunks... but it is subtle.  It might be possible to say more explicitly that any content no matter how small is allowed to be returned as any number of chunks at any time... Though true, that is harsh, overstating considerably what actually happens.   Concentrating on a better implementation would be more effective than worrying about existing documentation, given how long the existing conditions have prevailed. My opinion, as one who has been bitten.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43483>
_______________________________________


More information about the Python-bugs-list mailing list