summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-25 18:22:17 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-25 18:22:17 (GMT)
commit90f827c67e27b98804d74e8e579a9bd98bc01702 (patch)
tree7aba5e16b608eb4d828fb8dbbe12c537070b0e0e
parent2d1ad39b8137e31c1ba80f85e264a0c450c7ef26 (diff)
downloadcpython-90f827c67e27b98804d74e8e579a9bd98bc01702.zip
cpython-90f827c67e27b98804d74e8e579a9bd98bc01702.tar.gz
cpython-90f827c67e27b98804d74e8e579a9bd98bc01702.tar.bz2
Comment out the print statement about underflow. (This only seems to
happen when you use a non-keyword argument after a keyword argument, and in this case you also get a syntax error. I fully suspect that the underflow is caused by the code that stops generating code when it detects the syntax error, but I can't find the culprit right now. I know, I know.)
-rw-r--r--Python/compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 422a2af..afe330b 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -490,10 +490,10 @@ com_pop(c, n)
int n;
{
if (c->c_stacklevel < n) {
- fprintf(stderr,
+ /* fprintf(stderr,
"%s:%d: underflow! nexti=%d, level=%d, n=%d\n",
c->c_filename, c->c_lineno,
- c->c_nexti, c->c_stacklevel, n);
+ c->c_nexti, c->c_stacklevel, n); */
c->c_stacklevel = 0;
}
else