mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
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.)
This commit is contained in:
parent
2d1ad39b81
commit
90f827c67e
1 changed files with 2 additions and 2 deletions
|
@ -490,10 +490,10 @@ com_pop(c, n)
|
||||||
int n;
|
int n;
|
||||||
{
|
{
|
||||||
if (c->c_stacklevel < n) {
|
if (c->c_stacklevel < n) {
|
||||||
fprintf(stderr,
|
/* fprintf(stderr,
|
||||||
"%s:%d: underflow! nexti=%d, level=%d, n=%d\n",
|
"%s:%d: underflow! nexti=%d, level=%d, n=%d\n",
|
||||||
c->c_filename, c->c_lineno,
|
c->c_filename, c->c_lineno,
|
||||||
c->c_nexti, c->c_stacklevel, n);
|
c->c_nexti, c->c_stacklevel, n); */
|
||||||
c->c_stacklevel = 0;
|
c->c_stacklevel = 0;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue