mirror of https://github.com/python/cpython
gh-125235: Keep `_tkinter` TCL paths pointing to base installation on Windows (#125250)
Signed-off-by: y5c4l3 <y5c4l3@proton.me>
This commit is contained in:
parent
18c7449768
commit
b3aa1b5fe2
|
@ -0,0 +1,2 @@
|
|||
Keep :mod:`tkinter` TCL paths in venv pointing to base installation on
|
||||
Windows.
|
|
@ -143,7 +143,7 @@ _get_tcl_lib_path(void)
|
|||
struct stat stat_buf;
|
||||
int stat_return_value;
|
||||
|
||||
PyObject *prefix = PySys_GetObject("prefix"); // borrowed reference
|
||||
PyObject *prefix = PySys_GetObject("base_prefix"); // borrowed reference
|
||||
if (prefix == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue