summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-25 18:22:17 +0000
committerGuido van Rossum <guido@python.org>1998-08-25 18:22:17 +0000
commitbe3ec74fde2221e5c7ca85ff288fa392efaeca8f (patch)
tree0205aefb1dc62369a496ec9327b58a70f4be7695 /Python/compile.c
parent93ebdb174de2ae52d88e93281bf5d1cf7a2c9401 (diff)
downloadcpython-be3ec74fde2221e5c7ca85ff288fa392efaeca8f.tar.gz
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.)
Diffstat (limited to 'Python/compile.c')
-rw-r--r--Python/compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/compile.c b/Python/compile.c
index 422a2afd7f..afe330b5c9 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