Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 90f827c

Browse files
committed
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.)
1 parent 2d1ad39 commit 90f827c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Python/compile.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,10 +490,10 @@ com_pop(c, n)
490490
int n;
491491
{
492492
if (c->c_stacklevel < n) {
493-
fprintf(stderr,
493+
/* fprintf(stderr,
494494
"%s:%d: underflow! nexti=%d, level=%d, n=%d\n",
495495
c->c_filename, c->c_lineno,
496-
c->c_nexti, c->c_stacklevel, n);
496+
c->c_nexti, c->c_stacklevel, n); */
497497
c->c_stacklevel = 0;
498498
}
499499
else

0 commit comments

Comments
 (0)