mirror of
https://github.com/python/cpython.git
synced 2025-07-15 23:35:23 +00:00
[3.13] gh-121103: Put free-threaded libraries in lib/python3.14t
(GH-121293) (#121631)
On POSIX systems, excluding macOS framework installs, the lib directory
for the free-threaded build now includes a "t" suffix to avoid conflicts
with a co-located default build installation.
(cherry picked from commit e8c91d90ba
)
Co-authored-by: Sam Gross <colesbury@gmail.com>
This commit is contained in:
parent
c6dbfbbe3c
commit
35f7155bc3
13 changed files with 77 additions and 40 deletions
|
@ -951,6 +951,11 @@ _PyConfig_InitPathConfig(PyConfig *config, int compute_path_config)
|
|||
!wchar_to_dict(dict, "executable_dir", NULL) ||
|
||||
!wchar_to_dict(dict, "py_setpath", _PyPathConfig_GetGlobalModuleSearchPath()) ||
|
||||
!funcs_to_dict(dict, config->pathconfig_warnings) ||
|
||||
#ifdef Py_GIL_DISABLED
|
||||
!decode_to_dict(dict, "ABI_THREAD", "t") ||
|
||||
#else
|
||||
!decode_to_dict(dict, "ABI_THREAD", "") ||
|
||||
#endif
|
||||
#ifndef MS_WINDOWS
|
||||
PyDict_SetItemString(dict, "winreg", Py_None) < 0 ||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue