summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-06-16 02:19:40 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-06-16 02:19:40 (GMT)
commit45e0e1444bfaa3d57b6adf3bd2a7ec9171407792 (patch)
tree317538a77f43d3478cff286a8f00795292b1288a /Misc
parent9691e59d77dfab8d996c6f04ed21c3f8b290c970 (diff)
downloadcpython-45e0e1444bfaa3d57b6adf3bd2a7ec9171407792.zip
cpython-45e0e1444bfaa3d57b6adf3bd2a7ec9171407792.tar.gz
cpython-45e0e1444bfaa3d57b6adf3bd2a7ec9171407792.tar.bz2
Merged revisions 81675 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r81675 | r.david.murray | 2010-06-03 11:43:20 -0400 (Thu, 03 Jun 2010) | 10 lines #5610: use \Z not $ so we don't eat extra chars when body part ends with \r\n. If a body part ended with \r\n, feedparser, using '$' to terminate its search for the newline, would match on the \r\n, and think that it needed to strip two characters in order to account for the line end before the boundary. That made it chop one too many characters off the end of the body part. Using \Z makes the match correct. Patch and test by Tony Nelson. ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index f41096a..7817276 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -432,6 +432,9 @@ C-API
Library
-------
+- Issue #5610: feedparser no longer eats extra characters at the end of
+ a body part if the body part ends with a \r\n.
+
- Issue #8986: math.erfc was incorrectly raising OverflowError for
values between -27.3 and -30.0 on some platforms.