summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-06-17 02:04:29 +0000
committerR. David Murray <rdmurray@bitdance.com>2010-06-17 02:04:29 +0000
commita1b3740d042206efada2b8e1d97349c4d95e34e1 (patch)
treebb4ecfebe47e1aeab871fce9dcd55dc3bbadd420 /Python
parent2bdab2406332e8f9094bac22cc796f2385bcd116 (diff)
downloadcpython-git-a1b3740d042206efada2b8e1d97349c4d95e34e1.tar.gz
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 'Python')
0 files changed, 0 insertions, 0 deletions