This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2016-12-02.07:54:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2016-12-02 07:54:27vstinnersetrecipients: + vstinner
2016-12-02 07:54:27vstinnersetmessageid: <>
2016-12-02 07:54:27vstinnerlinkissue28858 messages
2016-12-02 07:54:27vstinnercreate