Staging
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f
Revision 5b718d7f4fc3ad28ffb774aa96324a81f5f3e742 authored by Meador Inge on 24 July 2015, 03:49:37 UTC, committed by Meador Inge on 24 July 2015, 03:49:37 UTC
The fix for Issue #21217 introduced a regression that caused
`inspect.getsource` to return incorrect results on nested
functions.  The root cause of the regression was due to
switching the implementation to analyze the underlying
bytecode instead of the source code.

This commit switches things back to analyzing the source code
in a more complete way.  The original bug and the regression
are both fixed by the new source code analysis.
1 parent 7039839
History
Tip revision: 550e4673be538d98b6ddf5550b3922539cf5c4b2 authored by Victor Stinner on 08 December 2020, 23:32:54 UTC
bpo-32381: Add _PyRun_SimpleFileObject() (GH-23709)
Tip revision: 550e467
File Mode Size
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.bzrignore -rw-r--r-- 584 bytes
.gitignore -rw-r--r-- 1.3 KB
.hgeol -rw-r--r-- 996 bytes
.hgignore -rw-r--r-- 1.2 KB
.hgtags -rw-r--r-- 7.3 KB
.hgtouch -rw-r--r-- 1.3 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 55.4 KB
README -rw-r--r-- 6.6 KB
aclocal.m4 -rw-r--r-- 8.3 KB
config.guess -rwxr-xr-x 41.9 KB
config.sub -rwxr-xr-x 34.9 KB
configure -rwxr-xr-x 454.1 KB
configure.ac -rw-r--r-- 147.1 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 40.8 KB
setup.py -rw-r--r-- 95.8 KB

README

back to top