-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The following functions used by mod_wsgi are deprecated: * PySys_AddWarnOption() * Py_SetProgramName() * Py_SetPythonHome() Replace deprecated functions with the PyConfig API on Python 3.8. On error (usually memory allocation failure), log a critical message. Replace: * Py_OptimizeFlag: config.optimization_level * PYTHONHASHSEED: config.use_hash_seed and config.hash_seed * PySys_AddWarnOption(): PyWideStringList_Append(&config.warnoptions) * Py_SetPythonHome(): PyConfig_SetString(&config.home) * Py_SetProgramName(): PyConfig_SetString(&config.program_name) * Py_Initialize(): Py_InitializeFromConfig() The PYTHONHASHSEED environment variable is no longer set and so doesn't need to be unset later.
- Loading branch information
Showing
1 changed file
with
90 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters