>>128 は python 内に閉じた話ではないと書いているが、
こういうことではないのか? >>116

a.py
---
#! /usr/bin/python
import b
b.func()

b.py
---
#! /usr/bin/python
import traceback as tb
def func():
    print tb.extract_stack()
    return


$ python a.py
[('./a.py', 5, '?', 'b.func()'), ('/home/hoge/b.py', 6, 'func', 'print tb.extract_stack()')]

./a.py ?