From db1e5827c45ad737bf83f358a2851e943626d29b Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Thu, 13 Mar 2025 01:28:15 +0100 Subject: gh-127503: Improve tracebacks on Emscripten when there is a trap (#131158) Modifies the behavior of the interpreter on crash under Emscripten: 1. No Python traceback shown on segfault/trap 2. The JavaScript source line is shown The JavaScript source line is super long and completely unenlightening, whereas the Python traceback is very helpful. --- Lib/test/test_isinstance.py | 1 + 1 file changed, 1 insertion(+) (limited to 'Lib/test/test_isinstance.py') diff --git a/Lib/test/test_isinstance.py b/Lib/test/test_isinstance.py index 4f98cbb3762..daad00e8643 100644 --- a/Lib/test/test_isinstance.py +++ b/Lib/test/test_isinstance.py @@ -327,6 +327,7 @@ class TestIsInstanceIsSubclass(unittest.TestCase): with self.assertRaises(RecursionError): issubclass(Failure(), int) + @support.skip_emscripten_stack_overflow() def test_infinite_cycle_in_bases(self): """Regression test for bpo-30570.""" class X: -- cgit v1.2.3