summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2003-05-22 18:11:20 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2003-05-22 18:11:20 (GMT)
commit826f68b25b8fe952c58ee71a8f954a0909218240 (patch)
treea7c73aa0f2eb0efbf4c58f39ac5a6b2e0271bb47 /Python/pythonrun.c
parent8e0ef042903ab01882e331ffad5fdedc162a48ba (diff)
downloadcpython-826f68b25b8fe952c58ee71a8f954a0909218240.zip
cpython-826f68b25b8fe952c58ee71a8f954a0909218240.tar.gz
cpython-826f68b25b8fe952c58ee71a8f954a0909218240.tar.bz2
Backport fix for SF bug 692776.
Add a tp_new slot to function objects that handles the case of a function requiring a closure. Put the function type in the new module, rather than having a function new.function(). Add tests.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions