summaryrefslogtreecommitdiffstats
path: root/Python/initconfig.c
diff options
context:
space:
mode:
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>2024-05-07 11:47:21 (GMT)
committerGitHub <noreply@github.com>2024-05-07 11:47:21 (GMT)
commit04859228aa11756558807bcf99ccff78e4e8c56d (patch)
tree050ba0bb7abecaa1b007267a774e07bcfa1f1f99 /Python/initconfig.c
parent48e52fe2c9a7b33671f6b5d1420a71a6f31ad64b (diff)
downloadcpython-04859228aa11756558807bcf99ccff78e4e8c56d.zip
cpython-04859228aa11756558807bcf99ccff78e4e8c56d.tar.gz
cpython-04859228aa11756558807bcf99ccff78e4e8c56d.tar.bz2
gh-118518: Rename `PYTHONPERFJITSUPPORT` and `-X perfjit` with underscores (#118693)
Diffstat (limited to 'Python/initconfig.c')
-rw-r--r--Python/initconfig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/initconfig.c b/Python/initconfig.c
index 0e53d60..a28c08c 100644
--- a/Python/initconfig.c
+++ b/Python/initconfig.c
@@ -1703,7 +1703,7 @@ config_init_perf_profiling(PyConfig *config)
if (xoption) {
config->perf_profiling = 1;
}
- env = config_get_env(config, "PYTHONPERFJITSUPPORT");
+ env = config_get_env(config, "PYTHON_PERF_JIT_SUPPORT");
if (env) {
if (_Py_str_to_int(env, &active) != 0) {
active = 0;
@@ -1712,7 +1712,7 @@ config_init_perf_profiling(PyConfig *config)
config->perf_profiling = 2;
}
}
- xoption = config_get_xoption(config, L"perfjit");
+ xoption = config_get_xoption(config, L"perf_jit");
if (xoption) {
config->perf_profiling = 2;
}