@Steve thanks for the info,
> This is already what we do, so if someone has increased stack usage, they should also decrease the value here.
I see the recursion limit set in _PyEval_InitState but I don't see any special settings for windows. Is it somewhere else or am I missing something here :( ?
BTW, I'm thinking about changing the CI checks for windows to test on debug builds. I find it strange that the macOS and ubuntu CIs test on debug builds while windows seemingly doesn't[1]. If we change it, similar errors may be caught earlier at the PR stage rather than when it's committed and causes the buildbots to fail. What do you think?
[1] https://github.com/python/cpython/blob/main/.github/workflows/build.yml#L95 |