[New-bugs-announce] [issue42609] Eval with two high string multiplication crashes newer Python versions

Erik Lamers report at bugs.python.org
Wed Dec 9 06:05:07 EST 2020


New submission from Erik Lamers <mail at eriklamers.nl>:

For Python version 3.7 and above the following statement will end up in a segfault.

eval("1 + 100"*1000000)

Whereas Python versions 3.6 and below would tread this as a Recursion error.

----------
components: Interpreter Core
messages: 382791
nosy: Erik-Lamers1
priority: normal
severity: normal
status: open
title: Eval with two high string multiplication crashes newer Python versions
type: crash
versions: Python 3.10

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42609>
_______________________________________


More information about the New-bugs-announce mailing list