[pypy-dev] how do we jump from pypy/interpreter to rpython ?

2017-01-04 Thread Shubha Ramani via pypy-dev
I see space.call_function() but how exactly do we end up in the rpython directory of code ?___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev

Re: [pypy-dev] who calls handle_builtin_call of jtransform.py ?

2017-01-04 Thread Shubha Ramani via pypy-dev
Indeed. Shubha On Wednesday, January 4, 2017 2:00 PM, Armin Rigo wrote: Hi Shubha, Standard Python answer: add this line in the function:     import pdb; pdb.set_trace() Then run the tests (pytest.py rpython/jit/codewriter/). A bientôt, Armin. _

Re: [pypy-dev] How do you pass in data from pypy interpreter to backend ?

2017-01-04 Thread Shubha Ramani via pypy-dev
I figured this out - thanks to something Manuel Jacob said -"You should be able to fix the error by moving the line to the module toplevel." You can add a global variable to a module top level easily and pass it along to the backend. Thank You Manuel ! Shubha On Monday, January 2, 2017 6:48

Re: [pypy-dev] cannot use "id" in Rpython

2017-01-04 Thread Shubha Ramani via pypy-dev
Thank you Manuel. Your answer here helped me in other ways - the thing about beingable to do things at the module top-level. That concept helped me a lot. You were right. I don't need id(var). Never did. I mis-understood. The JITTED load addressis all I needed and Armin already provided that in h

Re: [pypy-dev] who calls handle_builtin_call of jtransform.py ?

2017-01-04 Thread Armin Rigo
Hi Shubha, Standard Python answer: add this line in the function: import pdb; pdb.set_trace() Then run the tests (pytest.py rpython/jit/codewriter/). A bientôt, Armin. ___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman

[pypy-dev] who calls handle_builtin_call of jtransform.py ?

2017-01-04 Thread Shubha Ramani via pypy-dev
___ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev