Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在python的tracer回调中sys.settrace(),我可以得到函数名、行号等。现在我想知道当前被跟踪的函数是否被其调用者循环调用。有没有办法做到这一点?
sys.settrace()