mirror of
https://github.com/python/cpython.git
synced 2025-11-11 11:01:39 +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
|
|
@ -3943,6 +3943,7 @@ def __del__(self):
|
|||
del C.__del__
|
||||
|
||||
@unittest.skipIf(support.is_emscripten, "Seems to works in Pyodide?")
|
||||
@support.skip_wasi_stack_overflow()
|
||||
def test_slots_trash(self):
|
||||
# Testing slot trash...
|
||||
# Deallocating deeply nested slotted trash caused stack overflows
|
||||
|
|
@ -4868,6 +4869,7 @@ class Thing:
|
|||
deque.append(thing, thing)
|
||||
|
||||
@support.skip_emscripten_stack_overflow()
|
||||
@support.skip_wasi_stack_overflow()
|
||||
def test_repr_as_str(self):
|
||||
# Issue #11603: crash or infinite loop when rebinding __str__ as
|
||||
# __repr__.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue