summaryrefslogtreecommitdiffstats
path: root/Programs
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-04-18 13:20:38 (GMT)
committerGitHub <noreply@github.com>2024-04-18 13:20:38 (GMT)
commit340a02b590681d4753eef0ff63037d0ecb512271 (patch)
tree09300e1018a937cdbe5f4b7be2ccd3dc25402044 /Programs
parent0a0756c5edd8c32783a39ef00c47fe4a54deecbc (diff)
downloadcpython-340a02b590681d4753eef0ff63037d0ecb512271.zip
cpython-340a02b590681d4753eef0ff63037d0ecb512271.tar.gz
cpython-340a02b590681d4753eef0ff63037d0ecb512271.tar.bz2
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()
Diffstat (limited to 'Programs')
-rw-r--r--Programs/_testembed.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index 30998bf..d149b6a 100644
--- a/Programs/_testembed.c
+++ b/Programs/_testembed.c
@@ -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;