summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-02-26 21:23:50 +0000
committerGuido van Rossum <guido@python.org>2007-02-26 21:23:50 +0000
commita980f3d2ef986ceb1530d9daee120247419e9878 (patch)
tree7631080664f51947f83fa53d744d49660dbde272 /Python/pythonrun.c
parent6df3663c941d5d31238292261a1e0aab0d858c86 (diff)
downloadcpython-a980f3d2ef986ceb1530d9daee120247419e9878.tar.gz
Two more patches by Tony Lownds (SF# 1607548).
(1) Combines the code paths for MAKE_FUNCTION and MAKE_CLOSURE. Fixes a crash where functions with closures and either annotations or keyword-only arguments result in MAKE_CLOSURE, but only MAKE_FUNCTION has the code to handle annotations or keyword-only arguments. Includes enough tests to trigger the bug. (2) Change peepholer to not bail in the presence of EXTENDED_ARG + MAKE_FUNCTION. Enforce the natural 16-bit limit of annotations in compile.c. Also update Misc/NEWS with the "input = raw_input" change.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions