[New-bugs-announce] [issue35542] stack exhaustion in 3.6.7

shuoz report at bugs.python.org
Thu Dec 20 01:53:17 EST 2018


New submission from shuoz <zzw20124321 at gmail.com>:

stack exhaustion in 3.6.7.

in python  3.6.7 set recursive depth 20000 will exhaustion stack and get Segmentation fault. But this dont happen in python 2.7


```
import sys
sys.setrecursionlimit(20000)
def f():
    f()
f()
```

----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 332183
nosy: shuoz
priority: normal
severity: normal
status: open
title: stack exhaustion in 3.6.7
type: security
versions: Python 3.6

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


More information about the New-bugs-announce mailing list