summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorSkip Montanaro <skip@pobox.com>2004-03-01 15:44:05 (GMT)
committerSkip Montanaro <skip@pobox.com>2004-03-01 15:44:05 (GMT)
commit786ea6bc23c26a0ec98d5cbc80633615f9fa8cb1 (patch)
treeccc959b2f23044354afc161f79c751f2693e36ec /Python
parent87f10137bff2f5a169e4bd47d5392bc595350e4d (diff)
downloadcpython-786ea6bc23c26a0ec98d5cbc80633615f9fa8cb1.zip
cpython-786ea6bc23c26a0ec98d5cbc80633615f9fa8cb1.tar.gz
cpython-786ea6bc23c26a0ec98d5cbc80633615f9fa8cb1.tar.bz2
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.
Diffstat (limited to 'Python')
-rw-r--r--Python/ceval.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index c6fb0bf..3371844 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,