summaryrefslogtreecommitdiffstats
path: root/Programs
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-05-22 22:57:57 (GMT)
committerGitHub <noreply@github.com>2019-05-22 22:57:57 (GMT)
commit5edcf263581c70f6a6c2206db679e51e9418bb38 (patch)
tree0e3daf1f74f0ab2b3265800b2314335e8221c239 /Programs
parentcfb241bd29a94fd825a317a78322e3cdba0e75a7 (diff)
downloadcpython-5edcf263581c70f6a6c2206db679e51e9418bb38.zip
cpython-5edcf263581c70f6a6c2206db679e51e9418bb38.tar.gz
cpython-5edcf263581c70f6a6c2206db679e51e9418bb38.tar.bz2
bpo-36763: Rename private Python initialization functions (GH-13511)
* Rename private C functions: * _Py_Initialize_ReconfigureCore => pyinit_core_reconfigure * _Py_InitializeCore_impl => pyinit_core_config * _Py_InitializeCore = > pyinit_core * _Py_InitializeMainInterpreter => pyinit_main * init_python => pyinit_python * Rename _testembed.c commands: add "test_" prefix.
Diffstat (limited to 'Programs')
-rw-r--r--Programs/_testembed.c66
1 files changed, 33 insertions, 33 deletions
diff --git a/Programs/_testembed.c b/Programs/_testembed.c
index a273930..7f8ea07 100644
--- a/Programs/_testembed.c
+++ b/Programs/_testembed.c
@@ -1243,39 +1243,39 @@ struct TestCase
};
static struct TestCase TestCases[] = {
- { "forced_io_encoding", test_forced_io_encoding },
- { "repeated_init_and_subinterpreters", test_repeated_init_and_subinterpreters },
- { "pre_initialization_api", test_pre_initialization_api },
- { "pre_initialization_sys_options", test_pre_initialization_sys_options },
- { "bpo20891", test_bpo20891 },
- { "initialize_twice", test_initialize_twice },
- { "initialize_pymain", test_initialize_pymain },
- { "init_initialize_config", test_init_initialize_config },
- { "preinit_compat_config", test_preinit_compat_config },
- { "init_compat_config", test_init_compat_config },
- { "init_global_config", test_init_global_config },
- { "init_from_config", test_init_from_config },
- { "init_parse_argv", test_init_parse_argv },
- { "init_dont_parse_argv", test_init_dont_parse_argv },
- { "init_env", test_init_env },
- { "init_env_dev_mode", test_init_env_dev_mode },
- { "init_env_dev_mode_alloc", test_init_env_dev_mode_alloc },
- { "init_dont_configure_locale", test_init_dont_configure_locale },
- { "init_dev_mode", test_init_dev_mode },
- { "init_isolated_flag", test_init_isolated_flag },
- { "preinit_isolated_config", test_preinit_isolated_config },
- { "init_isolated_config", test_init_isolated_config },
- { "preinit_python_config", test_preinit_python_config },
- { "init_python_config", test_init_python_config },
- { "preinit_isolated1", test_preinit_isolated1 },
- { "preinit_isolated2", test_preinit_isolated2 },
- { "preinit_parse_argv", test_preinit_parse_argv },
- { "preinit_dont_parse_argv", test_preinit_dont_parse_argv },
- { "init_read_set", test_init_read_set },
- { "init_run_main", test_init_run_main },
- { "init_main", test_init_main },
- { "run_main", test_run_main },
- { NULL, NULL }
+ {"test_forced_io_encoding", test_forced_io_encoding},
+ {"test_repeated_init_and_subinterpreters", test_repeated_init_and_subinterpreters},
+ {"test_pre_initialization_api", test_pre_initialization_api},
+ {"test_pre_initialization_sys_options", test_pre_initialization_sys_options},
+ {"test_bpo20891", test_bpo20891},
+ {"test_initialize_twice", test_initialize_twice},
+ {"test_initialize_pymain", test_initialize_pymain},
+ {"test_init_initialize_config", test_init_initialize_config},
+ {"test_preinit_compat_config", test_preinit_compat_config},
+ {"test_init_compat_config", test_init_compat_config},
+ {"test_init_global_config", test_init_global_config},
+ {"test_init_from_config", test_init_from_config},
+ {"test_init_parse_argv", test_init_parse_argv},
+ {"test_init_dont_parse_argv", test_init_dont_parse_argv},
+ {"test_init_env", test_init_env},
+ {"test_init_env_dev_mode", test_init_env_dev_mode},
+ {"test_init_env_dev_mode_alloc", test_init_env_dev_mode_alloc},
+ {"test_init_dont_configure_locale", test_init_dont_configure_locale},
+ {"test_init_dev_mode", test_init_dev_mode},
+ {"test_init_isolated_flag", test_init_isolated_flag},
+ {"test_preinit_isolated_config", test_preinit_isolated_config},
+ {"test_init_isolated_config", test_init_isolated_config},
+ {"test_preinit_python_config", test_preinit_python_config},
+ {"test_init_python_config", test_init_python_config},
+ {"test_preinit_isolated1", test_preinit_isolated1},
+ {"test_preinit_isolated2", test_preinit_isolated2},
+ {"test_preinit_parse_argv", test_preinit_parse_argv},
+ {"test_preinit_dont_parse_argv", test_preinit_dont_parse_argv},
+ {"test_init_read_set", test_init_read_set},
+ {"test_init_run_main", test_init_run_main},
+ {"test_init_main", test_init_main},
+ {"test_run_main", test_run_main},
+ {NULL, NULL}
};
int main(int argc, char *argv[])