summaryrefslogtreecommitdiffstats
path: root/Modules/main.c
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 /Modules/main.c
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 'Modules/main.c')
-rw-r--r--Modules/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/main.c b/Modules/main.c
index 68a82c7..fc5773c 100644
--- a/Modules/main.c
+++ b/Modules/main.c
@@ -452,6 +452,9 @@ Py_Main(int argc, char **argv)
return sts;
}
+/* this is gonna seem *real weird*, but if you put some other code between
+ Py_Main() and Py_GetArgcArgv() you will need to adjust the test in the
+ while statement in Misc/gdbinit:ppystack */
/* Make the *original* argc/argv available to other modules.
This is rare, but it is needed by the secureware extension. */