gh-118518: Rename PYTHONPERFJITSUPPORT and -X perfjit with underscores (#118693)
This commit is contained in:
committed by
GitHub
parent
48e52fe2c9
commit
04859228aa
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user