Staging
v0.5.1
https://github.com/python/cpython
Revision df1cf301c2da740f9271b3ff164d7f0e5cb9082c authored by R. David Murray on 17 June 2010, 01:36:52 UTC, committed by R. David Murray on 17 June 2010, 01:36:52 UTC
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.
1 parent a3e3e36
History
Tip revision: df1cf301c2da740f9271b3ff164d7f0e5cb9082c authored by R. David Murray on 17 June 2010, 01:36:52 UTC
#8720: fix inspect regression by teaching getsourcefile about linecache.
Tip revision: df1cf30
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.bzrignore -rw-r--r-- 493 bytes
.hgignore -rw-r--r-- 705 bytes
.hgtags -rw-r--r-- 4.0 KB
LICENSE -rw-r--r-- 13.8 KB
Makefile.pre.in -rw-r--r-- 39.7 KB
README -rw-r--r-- 52.9 KB
configure -rwxr-xr-x 393.3 KB
configure.in -rw-r--r-- 122.0 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 33.2 KB
setup.py -rw-r--r-- 86.5 KB

README

back to top