summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-06-17 02:06:12 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-06-17 02:06:12 (GMT)
commit19d8cc524bb4f6c41b2602c025ce90fe85e1e991 (patch)
tree1ef514f00fbc1bbae0bd332ccfce716118d25c76 /Misc
parent991c9f80f99e155d6d7b17a8240abaf8c1a2269f (diff)
downloadcpython-19d8cc524bb4f6c41b2602c025ce90fe85e1e991.zip
cpython-19d8cc524bb4f6c41b2602c025ce90fe85e1e991.tar.gz
cpython-19d8cc524bb4f6c41b2602c025ce90fe85e1e991.tar.bz2
Merged revisions 82041 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ................ r82041 | r.david.murray | 2010-06-16 22:04:29 -0400 (Wed, 16 Jun 2010) | 16 lines Merged revisions 82039 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r82039 | r.david.murray | 2010-06-16 21:36:52 -0400 (Wed, 16 Jun 2010) | 10 lines #8720: fix inspect regression by teaching getsourcefile about linecache. The fix for issue 4050 caused a regression: before that fix, source lines in the linecache would eventually be found by inspect. After the fix inspect reports an error earlier, and the source isn't found. The fix for the fix is to have getsourcefile look in the linecache for the file and return the psuedo-filename if the source is there, just as it already returns it if there is a PEP 302 loader. ........ ................
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 adb9a34..ae0ca7e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -61,6 +61,9 @@ C-API
Library
-------
+- Issue #8720: fix regression caused by fix for #4050 by making getsourcefile
+ smart enough to find source files in the linecache.
+
- Issue #5610: feedparser no longer eats extra characters at the end of
a body part if the body part ends with a \r\n.