Message 287236 - Python tracker
Oh, with pyobject_fastcall-4.patch, the stack usage of test_python_iterator is even better. The reference is 1056 bytes/call, pyobject_fastcall-2.patch was 944 bytes/call. haypo@smithers$ ./python ../default/stack_overflow_28870-sp.py test_python_call: 9883 calls before crash, stack: 848 bytes/call test_python_getitem: 10476 calls before crash, stack: 800 bytes/call test_python_iterator: 9189 calls before crash, stack: 912 bytes/call => total: 29548 calls, 2560 bytes