Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.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 | 708c8c5fc173 |
| children | 4417ab5b351e |
