summaryrefslogtreecommitdiff
path: root/Python/thread.c
diff options
context:
space:
mode:
authorMeador Inge <meadori@gmail.com>2015-07-23 22:49:37 -0500
committerMeador Inge <meadori@gmail.com>2015-07-23 22:49:37 -0500
commit5b718d7f4fc3ad28ffb774aa96324a81f5f3e742 (patch)
tree3322ddcf2a68142b501f0f83dca61ac8e48b073d /Python/thread.c
parent70398398959045a1b617059201ed4fa02b4fa0fa (diff)
downloadcpython-git-5b718d7f4fc3ad28ffb774aa96324a81f5f3e742.tar.gz
Issue #24485: Function source inspection fails on closures.
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.
Diffstat (limited to 'Python/thread.c')
0 files changed, 0 insertions, 0 deletions