• Meador Inge's avatar
    Issue #24485: Function source inspection fails on closures. · f98c35a8
    Meador Inge yazdı
    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.
    f98c35a8
Adı
Son kayıt (commit)
Son güncelleme
..
ACKS Loading commit data...
HISTORY Loading commit data...
NEWS Loading commit data...
Porting Loading commit data...
README Loading commit data...
README.AIX Loading commit data...
README.coverity Loading commit data...
README.valgrind Loading commit data...
SpecialBuilds.txt Loading commit data...
coverity_model.c Loading commit data...
gdbinit Loading commit data...
indent.pro Loading commit data...
python-config.in Loading commit data...
python-config.sh.in Loading commit data...
python-wing3.wpr Loading commit data...
python-wing4.wpr Loading commit data...
python-wing5.wpr Loading commit data...
python.man Loading commit data...
python.pc.in Loading commit data...
svnmap.txt Loading commit data...
valgrind-python.supp Loading commit data...
vgrindefs Loading commit data...