summaryrefslogtreecommitdiffstats
path: root/Include/internal/pycore_runtime_init.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2022-12-12 16:58:46 (GMT)
committerGitHub <noreply@github.com>2022-12-12 16:58:46 (GMT)
commit53d9cd95cd91f1a291a3923acb95e0e86942291a (patch)
treea74819d972cdbe611a554c6577108a7959525011 /Include/internal/pycore_runtime_init.h
parent8790d4d31fcd3abaccf31d27f72a8684adfc9dee (diff)
downloadcpython-53d9cd95cd91f1a291a3923acb95e0e86942291a.zip
cpython-53d9cd95cd91f1a291a3923acb95e0e86942291a.tar.gz
cpython-53d9cd95cd91f1a291a3923acb95e0e86942291a.tar.bz2
gh-81057: Move faulthandler Globals to _PyRuntimeState (gh-100152)
https://github.com/python/cpython/issues/81057
Diffstat (limited to 'Include/internal/pycore_runtime_init.h')
-rw-r--r--Include/internal/pycore_runtime_init.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/internal/pycore_runtime_init.h b/Include/internal/pycore_runtime_init.h
index 029357d..9677a72 100644
--- a/Include/internal/pycore_runtime_init.h
+++ b/Include/internal/pycore_runtime_init.h
@@ -54,6 +54,7 @@ extern "C" {
.fileutils = { \
.force_ascii = -1, \
}, \
+ .faulthandler = _faulthandler_runtime_state_INIT, \
.tracemalloc = _tracemalloc_runtime_state_INIT, \
.float_state = { \
.float_format = _py_float_format_unknown, \