From 786ea6bc23c26a0ec98d5cbc80633615f9fa8cb1 Mon Sep 17 00:00:00 2001 From: Skip Montanaro Date: Mon, 1 Mar 2004 15:44:05 +0000 Subject: Add pystack definition to Misc/gdbinit with some explanation of its behavior and add flag comments to ceval.c and main.c alerting people to the coupling between pystack and the layout of those files. --- Python/ceval.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Python/ceval.c') diff --git a/Python/ceval.c b/Python/ceval.c index c6fb0bf7e5..337184464f 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -2445,6 +2445,10 @@ fast_yield: return retval; } +/* this is gonna seem *real weird*, but if you put some other code between + eval_frame() and PyEval_EvalCodeEx() you will need to adjust the test in + the if statement in Misc/gdbinit:ppystack */ + PyObject * PyEval_EvalCodeEx(PyCodeObject *co, PyObject *globals, PyObject *locals, PyObject **args, int argcount, PyObject **kws, int kwcount, -- cgit v1.2.1