summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-03-03 14:51:11 (GMT)
committerGuido van Rossum <guido@python.org>2000-03-03 14:51:11 (GMT)
commit9428fa607b6edc7c5ef46814cd869291a8b4619e (patch)
tree602982d01d4577381fe9e0d541197da55af78932 /Misc
parent56359f591b361f41f661a14e5ed129bf8f22fa87 (diff)
downloadcpython-9428fa607b6edc7c5ef46814cd869291a8b4619e.zip
cpython-9428fa607b6edc7c5ef46814cd869291a8b4619e.tar.gz
cpython-9428fa607b6edc7c5ef46814cd869291a8b4619e.tar.bz2
Patch by Tim Peters:
Changes the one regexp in PyParse capable of making the re module blow the C stack when passed unreasonable <0.9 wink> program text. Jeremy Hylton provoked this with a program of the form: x = (1, 2, ... # 9997 lines deleted here 10000, ) Programs "like this" will no longer (no matter how many lines they contain) trigger re death. OTOH, you can now make another class of unreasonable program that will take much longer to parse.
Diffstat (limited to 'Misc')
0 files changed, 0 insertions, 0 deletions