summaryrefslogtreecommitdiffstats
path: root/Doc/library/xml.rst
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2014-01-13 18:19:21 (GMT)
committerR David Murray <rdmurray@bitdance.com>2014-01-13 18:19:21 (GMT)
commit2313e15578aa864c7b995de996e4787169f7ca8d (patch)
tree93e512a1dd86f538cbd29b78086029c867364fac /Doc/library/xml.rst
parent2a3d7d1af7ff00748f25bbd49a928f8af1a9990d (diff)
downloadcpython-2313e15578aa864c7b995de996e4787169f7ca8d.zip
cpython-2313e15578aa864c7b995de996e4787169f7ca8d.tar.gz
cpython-2313e15578aa864c7b995de996e4787169f7ca8d.tar.bz2
#20206, #5803: more efficient algorithm that doesn't truncate output.
This fixes an edge case (20206) where if the input ended in a character needing encoding but there was no newline on the string, the last byte of the encoded character would be dropped. The fix is to use a more efficient algorithm, provided by Serhiy Storchaka (5803), that does not have the bug.
Diffstat (limited to 'Doc/library/xml.rst')
0 files changed, 0 insertions, 0 deletions