mirror of
https://github.com/python/cpython.git
synced 2025-10-28 12:15:13 +00:00
[3.14] GH-130397: remove special-casing of C stack depth for WASI (GH-134469) (GH-134547)
GH-130397: remove special-casing of C stack depth for WASI (GH-134469)
Removed special-casing for WASI when setting C stack depth limits. Since WASI has its own C stack checking this isn't a security risk.
Also disabled some tests that stopped passing. They all happened to have already been disabled under Emscripten.
(cherry picked from commit ad42dc1909)
Co-authored-by: Brett Cannon <brett@python.org>
This commit is contained in:
parent
06a3a85f15
commit
15e26eebf7
8 changed files with 15 additions and 7 deletions
|
|
@ -372,6 +372,7 @@ def test_deepcopy_list(self):
|
|||
self.assertIsNot(x[0], y[0])
|
||||
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
@support.skip_wasi_stack_overflow()
|
||||
def test_deepcopy_reflexive_list(self):
|
||||
x = []
|
||||
x.append(x)
|
||||
|
|
@ -400,6 +401,7 @@ def test_deepcopy_tuple_of_immutables(self):
|
|||
self.assertIs(x, y)
|
||||
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
@support.skip_wasi_stack_overflow()
|
||||
def test_deepcopy_reflexive_tuple(self):
|
||||
x = ([],)
|
||||
x[0].append(x)
|
||||
|
|
@ -418,6 +420,7 @@ def test_deepcopy_dict(self):
|
|||
self.assertIsNot(x["foo"], y["foo"])
|
||||
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
@support.skip_wasi_stack_overflow()
|
||||
def test_deepcopy_reflexive_dict(self):
|
||||
x = {}
|
||||
x['foo'] = x
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue