diff 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
line wrap: on
line diff