summaryrefslogtreecommitdiff
path: root/Parser/tokenizer.h
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2020-05-17 11:12:33 -0700
committerGuido van Rossum <guido@python.org>2020-05-17 11:12:33 -0700
commit9b632e974624be476e07ed10c45de73fa0fcbb2d (patch)
treefc82ee67c3cbdacb039a009aa86959afe32b8605 /Parser/tokenizer.h
parent62ecd8a8f908282726d2f019c93efa1cf2e9e784 (diff)
downloadcpython-git-fix-segfaults.tar.gz
Fix segfaults when parsing invalid inputfix-segfaults
Fixes bpo-40661. (In fact this just is the patch from @pablogsal from that issue.) Note that for an extreme benchmark (xxl.py) this caused a 40% slowdown on my Mac. However for an "average" benchmark (stdlib) there was no significant difference.
Diffstat (limited to 'Parser/tokenizer.h')
0 files changed, 0 insertions, 0 deletions