Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.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 | 43b8a962a32a |
| children | c64fc56f6072 |
comparison
equal
deleted
inserted
replaced
| 21397:5c9ba2418390 | 21398:de125792bfaa |
|---|
