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 serhiy.storchaka, vstinner
Date 2017-07-06.10:51:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1499338279.97.0.650027004501.issue30866@psf.upfronthosting.co.za>
In-reply-to
Content
In issues bpo-28870, bpo-29227, bpo-29233 and bpo-29234, I worked on reducing the C stack consumption. I now would to add the _testcapi.stack_pointer() that I used to be able to easily measure the stack consumption.

Try for example attached stack_overflow-3.py to measure the maximum number of C calls before a C stack overflow. The script also computes the average stack usage per C call for a specific kind of C call.
History
Date User Action Args
2017-07-06 10:51:20vstinnersetrecipients: + vstinner, serhiy.storchaka
2017-07-06 10:51:19vstinnersetmessageid: <1499338279.97.0.650027004501.issue30866@psf.upfronthosting.co.za>
2017-07-06 10:51:19vstinnerlinkissue30866 messages
2017-07-06 10:51:19vstinnercreate