Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-110722: Add PYTHON_PRESITE to import a module before site.py is run #110769

Merged
merged 10 commits into from
Oct 14, 2023
Prev Previous commit
Next Next commit
PEP 7
  • Loading branch information
ambv authored Oct 13, 2023
commit ebcc37335046e7be519da9a1707ca718e6e4a53e
2 changes: 1 addition & 1 deletion Python/initconfig.c
Original file line number Diff line number Diff line change
Expand Up @@ -1907,7 +1907,7 @@ config_read_complex_options(PyConfig *config)
}

#ifdef Py_DEBUG
if (config->run_presite== NULL) {
if (config->run_presite == NULL) {
status = config_init_run_presite(config);
if (_PyStatus_EXCEPTION(status)) {
return status;
Expand Down