Mercurial > cpython-lru_cache-weakref
diff Python/graminit.c @ 43276:3bc3f12cae28 legacy-trunk
Fix a crasher where Python code managed to infinitely recurse in C code without
ever going back out to Python code in PyObject_Call(). Required introducing a
static RuntimeError instance so that normalizing an exception there is no
reliance on a recursive call that would put the exception system over the
recursion check itself.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Fri, 07 Sep 2007 04:18:30 +0000 |
| parents | f19e631be101 |
| children | 393822f2ef90 |
