mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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.
This commit is contained in:
parent
87f10137bf
commit
786ea6bc23
3 changed files with 30 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue