[pypy-dev] PyPy 2.6.0 release binaries available

2015-05-26 Thread Matti Picus
The release packages are available on bitbucket https://bitbucket.org/pypy/pypy/downloads Please try them out, we have new buildslaves for win32, macosx and linux64. We would especially appreciate testing out the vmprof profiling features available on linux-64 Comments on the release notice are

Re: [pypy-dev] What is the oldest version of CPython that can be used to build PyPy?

2015-05-26 Thread Ryan Gonzalez
Ok. Thanks! On Tue, May 26, 2015 at 1:42 PM, Maciej Fijalkowski wrote: > I think we settled on 2.7 > > On Tue, May 26, 2015 at 8:30 PM, Ryan Gonzalez wrote: > > ^ see subject > > > > -- > > Ryan > > [ERROR]: Your autotools build scripts are 200 lines longer than your > > program. Something’s wr

Re: [pypy-dev] What is the oldest version of CPython that can be used to build PyPy?

2015-05-26 Thread Maciej Fijalkowski
I think we settled on 2.7 On Tue, May 26, 2015 at 8:30 PM, Ryan Gonzalez wrote: > ^ see subject > > -- > Ryan > [ERROR]: Your autotools build scripts are 200 lines longer than your > program. Something’s wrong. > http://kirbyfan64.github.io/ > > > ___ >

Re: [pypy-dev] What is the oldest version of CPython that can be used to build PyPy?

2015-05-26 Thread Ronan Lamy
Le 26/05/15 19:30, Ryan Gonzalez a écrit : ^ see subject 2.7 ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

[pypy-dev] What is the oldest version of CPython that can be used to build PyPy?

2015-05-26 Thread Ryan Gonzalez
^ see subject -- Ryan [ERROR]: Your autotools build scripts are 200 lines longer than your program. Something’s wrong. http://kirbyfan64.github.io/ ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

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

2015-05-26 Thread Yicong Huang
"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 wrote: > Hi Yicong, > > On 26 May 2015 at 14:00, Yicong Huang wrote: > > Here is the plan: > > 1. When the code try to import an externa

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

2015-05-26 Thread Armin Rigo
Hi Yicong, On 26 May 2015 at 14:00, Yicong Huang 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 t

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

2015-05-26 Thread Yicong Huang
Great thanks! I think you are right. We might kill the JIT perfomance by introducing such work. Another possible solution is we could do it at module level. Is there a function smilar as " PyMODINIT_FUNC()" in Pypy? Here is the plan: 1. When the code try to import an external module, we invoke an

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

2015-05-26 Thread Maciej Fijalkowski
you will kill the JIT performance terribly if you do that. space.call or space.call_function (in pypy/objspace/std/objspace or pypy/interpreter/baseobjspace) are your candidates On Tue, May 26, 2015 at 12:31 PM, Yicong Huang wrote: > Yes, we are trying to modify PyPy to meet the need. > Our plans

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

2015-05-26 Thread Yicong Huang
Yes, we are trying to modify PyPy to meet the need. Our plans are: 1. Find a similar function as "PyEval_EvalFrameEx()" in PyPy, and add a function logFunction() inside it. 2. In logFunction(), analyze the frame/callstack. If it is a function call from "Class A" to external function, log the functi

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

2015-05-26 Thread Amaury Forgeot d'Arc
Did you consider the trace module? https://docs.python.org/2/library/trace.html 2015-05-26 11:45 GMT+02:00 Yicong Huang : > 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

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

2015-05-26 Thread Maciej Fijalkowski
what exactly are you doing? Are you modifying PyPy? Are you trying to access it from a C extension? On Tue, May 26, 2015 at 11:45 AM, Yicong Huang wrote: > 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 fram

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

2015-05-26 Thread Yicong Huang
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 func