]> granicus.if.org Git - python/commitdiff
Comment out the print statement about underflow. (This only seems to
authorGuido van Rossum <guido@python.org>
Tue, 25 Aug 1998 18:22:17 +0000 (18:22 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 25 Aug 1998 18:22:17 +0000 (18:22 +0000)
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.)

Python/compile.c

index 422a2afd7f7af2c51b55e3008c5c234ec8954619..afe330b5c93b5b4b1481b10fa69cba7a298770af 100644 (file)
@@ -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