Browse Source
bpo-38234: Add test_init_setpath_config() to test_embed (GH-16402)
bpo-38234: Add test_init_setpath_config() to test_embed (GH-16402)
* Add test_embed.test_init_setpath_config(): test Py_SetPath() with PyConfig. * test_init_setpath() and test_init_setpythonhome() no longer call Py_SetProgramName(), but use the default program name. * _PyPathConfig: isolated, site_import and base_executable fields are now only available on Windows. * If executable is set explicitly in the configuration, ignore calculated base_executable: _PyConfig_InitPathConfig() copies executable to base_executable. * Complete path config documentation.pull/16404/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 132 additions and 52 deletions
-
19Doc/c-api/init_config.rst
-
15Include/internal/pycore_pathconfig.h
-
59Lib/test/test_embed.py
-
6PC/getpathp.c
-
52Programs/_testembed.c
-
33Python/pathconfig.c
Write
Preview
Loading…
Cancel
Save
Reference in new issue