]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127503: Improve tracebacks on Emscripten when there is a trap (#131158)
authorHood Chatham <roberthoodchatham@gmail.com>
Thu, 13 Mar 2025 00:28:15 +0000 (01:28 +0100)
committerGitHub <noreply@github.com>
Thu, 13 Mar 2025 00:28:15 +0000 (08:28 +0800)
commitdb1e5827c45ad737bf83f358a2851e943626d29b
treee3eea2ddbddd1673d7a95db6dd8e91e4fa44c8e8
parent3618240624d98de2a68a79dc174d49efb96cc2e6
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
Tools/wasm/emscripten/node_entry.mjs
configure
configure.ac