来源:https://stackoverflow.com/questions/36678241/how-can-i-force-update-the-python-locals-dictionary-of-a-different-stack-frame 标签 python python-internals inspect stack-frame locals