Mercurial > cpython-lru_cache-weakref
diff Python/errors.c @ 21398:de125792bfaa legacy-trunk
Fix for SF bug [ #492403 ] exec() segfaults on closure's func_code
Based on the patch from Danny Yoo. The fix is in exec_statement() in
ceval.c.
There are also changes to introduce use of PyCode_GetNumFree() in
several places.
| author | Jeremy Hylton <jeremy@alum.mit.edu> |
|---|---|
| date | Thu, 13 Dec 2001 19:51:56 +0000 |
| parents | abaf9ea2e560 |
| children | d4406fbfcb4e |
