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
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.
_
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
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
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 mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev