Author jdemeyer
Recipients jdemeyer, methane, skrah, vstinner
Date 2019-07-03.14:31:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562164292.08.0.250273816852.issue37483@roundup.psfhosted.org>
In-reply-to
Content
Test of stack usage:

from _testcapi import stack_pointer
class D(dict):
    def __missing__(self, key):
        sp = stack_pointer()
        print(f"stack usage = {TOP - sp}")
        return None
d = D()
TOP = stack_pointer()
d[0]


**before**: stack usage = 1296
**after**: stack usage = 976
History
Date User Action Args
2019-07-03 14:31:32jdemeyersetrecipients: + jdemeyer, vstinner, methane, skrah
2019-07-03 14:31:32jdemeyersetmessageid: <1562164292.08.0.250273816852.issue37483@roundup.psfhosted.org>
2019-07-03 14:31:32jdemeyerlinkissue37483 messages
2019-07-03 14:31:31jdemeyercreate