summaryrefslogtreecommitdiff
path: root/Tools/idle/PyShell.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-03-03 14:51:11 +0000
committerGuido van Rossum <guido@python.org>2000-03-03 14:51:11 +0000
commit9428fa607b6edc7c5ef46814cd869291a8b4619e (patch)
tree602982d01d4577381fe9e0d541197da55af78932 /Tools/idle/PyShell.py
parent56359f591b361f41f661a14e5ed129bf8f22fa87 (diff)
downloadcpython-git-9428fa607b6edc7c5ef46814cd869291a8b4619e.tar.gz
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 'Tools/idle/PyShell.py')
0 files changed, 0 insertions, 0 deletions