mirror of
https://github.com/python/cpython.git
synced 2026-08-01 22:55:03 -04: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 11a8652e25)
Co-authored-by: Sam Gross <[email protected]>
Miscellaneous source files for the main Python shared library