Did you consider the trace module? https://docs.python.org/2/library/trace.html
2015-05-26 11:45 GMT+02:00 Yicong Huang <hengha....@gmail.com>: > We would like to monitor and log all external function calls from a class: > when there the function call happen, we capture and log the frame. > > In python, there is the function PyEval_EvalFrameEx() we might add a > callback inside. > Is there a similar function in PyPy that would be called when the function > call happens? > > > > > _______________________________________________ > pypy-dev mailing list > pypy-dev@python.org > https://mail.python.org/mailman/listinfo/pypy-dev > > -- Amaury Forgeot d'Arc
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev