]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix for SF bug [ #492403 ] exec() segfaults on closure's func_code
authorJeremy Hylton <jeremy@alum.mit.edu>
Thu, 13 Dec 2001 19:51:56 +0000 (19:51 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Thu, 13 Dec 2001 19:51:56 +0000 (19:51 +0000)
commit733c8935f9dfd1be70c472649eb845ea22bbc878
tree6febaf1b3d319c55fd8fc5b8789cc3ca4d8fab30
parent3095a4c2289b3155b2dc1bcf7284911dee0afe7d
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.
Python/bltinmodule.c
Python/ceval.c
Python/compile.c