mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
GH-114456: lower the recursion limit under WASI for debug builds (GH-114457)
Testing under wasmtime 16.0.0 w/ code from https://github.com/python/cpython/issues/114413 is how the value was found.
This commit is contained in:
parent
afe8f376c0
commit
f59f90b5bc
4 changed files with 13 additions and 6 deletions
|
@ -4,7 +4,7 @@ import builtins
|
|||
import sys
|
||||
import unittest
|
||||
|
||||
from test.support import swap_item, swap_attr
|
||||
from test.support import is_wasi, Py_DEBUG, swap_item, swap_attr
|
||||
|
||||
|
||||
class RebindBuiltinsTests(unittest.TestCase):
|
||||
|
@ -134,6 +134,7 @@ class RebindBuiltinsTests(unittest.TestCase):
|
|||
|
||||
self.assertEqual(foo(), 7)
|
||||
|
||||
@unittest.skipIf(is_wasi and Py_DEBUG, "stack depth too shallow in pydebug WASI")
|
||||
def test_load_global_specialization_failure_keeps_oparg(self):
|
||||
# https://github.com/python/cpython/issues/91625
|
||||
class MyGlobals(dict):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue