mirror of
https://github.com/python/cpython
synced 2026-09-28 11:48:18 +03:00
#115555. The error from s_push() on stack overflow was -1, which was passed through unchanged by push(), but not tested for by push()'s caller -- which only expected positive error codes. Fixed by changing s_push() to return E_NOMEM on stack overflow. (Not quite the proper error code either, but I can't be bothered adding a new E_STACKOVERFLOW error code in all the right places.) |
||
|---|---|---|
| .. | ||
| .cvsignore | ||
| acceler.c | ||
| assert.h | ||
| bitset.c | ||
| firstsets.c | ||
| grammar.c | ||
| grammar1.c | ||
| intrcheck.c | ||
| listnode.c | ||
| Makefile.in | ||
| metagrammar.c | ||
| myreadline.c | ||
| node.c | ||
| parser.c | ||
| parser.h | ||
| parsetok.c | ||
| pgen.c | ||
| pgen.h | ||
| pgenmain.c | ||
| printgrammar.c | ||
| tokenizer.c | ||
| tokenizer.h | ||