mirror of
https://github.com/python/cpython.git
synced 2025-11-11 11:01:39 +00:00
GH-130397: remove special-casing of C stack depth for WASI (#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.
This commit is contained in:
parent
742d5b5c5d
commit
ad42dc1909
8 changed files with 15 additions and 7 deletions
|
|
@ -69,6 +69,7 @@ def default(self, o):
|
|||
|
||||
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
@support.skip_wasi_stack_overflow()
|
||||
def test_highly_nested_objects_decoding(self):
|
||||
very_deep = 200000
|
||||
# test that loading highly-nested objects doesn't segfault when C
|
||||
|
|
@ -98,6 +99,7 @@ def test_highly_nested_objects_encoding(self):
|
|||
self.dumps(d)
|
||||
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
@support.skip_wasi_stack_overflow()
|
||||
def test_endless_recursion(self):
|
||||
# See #12051
|
||||
class EndlessJSONEncoder(self.json.JSONEncoder):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue