mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-117987: Restore several functions removed in Python 3.13 alpha 1 (GH-117993)
Restore these functions removed in Python 3.13 alpha 1: * Py_SetPythonHome() * Py_SetProgramName() * PySys_SetArgvEx() * PySys_SetArgv()
This commit is contained in:
parent
0a0756c5ed
commit
340a02b590
10 changed files with 163 additions and 18 deletions
|
@ -16,11 +16,9 @@
|
|||
|
||||
// These functions were removed from Python 3.13 API but are still exported
|
||||
// for the stable ABI. We want to test them in this program.
|
||||
extern void Py_SetProgramName(const wchar_t *program_name);
|
||||
extern void PySys_AddWarnOption(const wchar_t *s);
|
||||
extern void PySys_AddXOption(const wchar_t *s);
|
||||
extern void Py_SetPath(const wchar_t *path);
|
||||
extern void Py_SetPythonHome(const wchar_t *home);
|
||||
|
||||
|
||||
int main_argc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue