Mercurial > cpython-lru_cache-weakref
diff Python/compile.c @ 9049:cbf72b2210ae legacy-trunk
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.)
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Tue, 25 Aug 1998 18:22:17 +0000 |
| parents | 48240f525ec3 |
| children | c259c3c4d0cc |
line wrap: on
line diff
--- a/Python/compile.c Tue Aug 25 18:16:54 1998 +0000 +++ b/Python/compile.c Tue Aug 25 18:22:17 1998 +0000 @@ -490,10 +490,10 @@ 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
