From 8b9cb80baf4aaadce08ce5d1082fa07c52f89513 Mon Sep 17 00:00:00 2001 From: Hood Chatham Date: Sun, 17 Jul 2022 14:40:39 +0100 Subject: [PATCH 1/9] Public pymain_run_python Discussion here: https://discuss.python.org/t/unstable-api-for-pymain-run-python-run-python-cli-but-dont-finalize-interpreter/44675 --- Modules/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/main.c b/Modules/main.c index 9b2ee103d52..db032ef8b26 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -609,7 +609,7 @@ pymain_repl(PyConfig *config, int *exitcode) } -static void +void pymain_run_python(int *exitcode) { PyObject *main_importer_path = NULL; -- 2.43.0