[pypy-dev] Is there similar PyEval_EvalFrameEx() function in PyPy?

Yicong Huang hengha.mao at gmail.com
Tue May 26 14:39:53 CEST 2015


"an external module" we would like to monitor includes C extension module
and build-in module, e.g. fcntl, select.

On Tue, May 26, 2015 at 8:04 PM, Armin Rigo <arigo at tunes.org> wrote:

> Hi Yicong,
>
> On 26 May 2015 at 14:00, Yicong Huang <hengha.mao at gmail.com> wrote:
> > Here is the plan:
> > 1. When the code try to import an external module, we invoke an inserted
> > function doLog().
>
> What do you mean by "an external module"?  Is it a CPython C extension
> module imported via cpyext?
>
> I really think you want to look at sys.settrace() or sys.setprofile().
>
>
> A bientôt,
>
> Armin.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pypy-dev/attachments/20150526/a1d1f423/attachment.html>


More information about the pypy-dev mailing list