mirror of
https://github.com/python/cpython.git
synced 2026-08-23 18:28:11 +08:00
Call backtrace() once when installing the signal handler to ensure that libgcc is dynamically loaded outside the signal handler. This fixes a "signal-unsafe call inside of a signal" TSan error from test_faulthandler.test_enable_fd. (cherry picked from commit 11a8652e25341e696b06d8dc7a18e8c3ee8059e4) Co-authored-by: Sam Gross <colesbury@gmail.com>
Source files for standard library extension modules, and former extension modules that are now builtin modules.