I sent test_re output from Windows on 2.3 maint yesterday. Two tests fail with "maximum recursion limit exceeded". Why do we expect them not to fail? 32-bit Windows may be unique in using this check: #if defined(USE_STACKCHECK) if (level % 10 == 0 && PyOS_CheckStack()) return SRE_ERROR_RECURSION_LIMIT; #endif PyOS_CheckStack() there isn't guessing, it's using Windows-specific facilities to check directly whether the C stack is about to overflow. In test_bug_418626, that check triggers twice, once at level = 15090 and again at level 15210. In test_stack_overflow, it triggers once at level 15210. The test comments appear to believe that sre shouldn't be recursing at all in these tests, but 15K+ levels is hard to sell as no recursion <wink>.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4