New submission from STINNER Victor: Serhiy Storchaka reported that Python 3.6 crashs earlier than Python 3.5 on calling json.dumps() when sys.setrecursionlimit() is increased.
I tested the script he wrote. Results on Python built in release mode: Python 3.7: ... 58100 116204 Segmentation fault (core dumped) Python 3.6: ... 74800 149604 Segmentation fault (core dumped) Python 3.5: ... 74700 149404 Segmentation fault (core dumped) Oh, it seems like Python 3.7 does crash earlier. But to be clear, it's hard to control the usage of the C stack. ---------- files: stack_overflow.py messages: 282228 nosy: haypo priority: normal severity: normal status: open title: Fastcall uses more C stack versions: Python 3.7 Added file: http://bugs.python.org/file45731/stack_overflow.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28858> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com