aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_getpath.py
Commit message (Collapse)AuthorAge
* GH-128469: Revert "warn when libpython was loaded from outside the build ↵Petr Viktorin2025-01-31
| | | | directory (#128645)" (#129506)
* GH-128469: warn when libpython was loaded from outside the build directory ↵Filipe Laíns 🇵🇸2025-01-29
| | | | | | (#128645) Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
* GH-126985: Don't override venv detection with PYTHONHOME (#127968)Filipe Laíns 🇵🇸2024-12-15
|
* GH-126985: move pyvenv.cfg detection from site to getpath (#126987)Filipe Laíns 🇵🇸2024-11-26
|
* Fix typos (#123775)algonell2024-09-09
|
* gh-121103: Put free-threaded libraries in `lib/python3.14t` (#121293)Sam Gross2024-07-11
| | | | | 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.
* gh-106718: Treat PyConfig.stdlib_dir as highest-priority setting for ↵Yilei Yang2023-11-01
| | | | stdlib_dir when calculating paths (GH-108730)
* gh-100320: Fix path calculations on Windows when python.exe is moved outside ↵Steve Dower2023-01-16
| | | | of the normal location (GH-100947)
* gh-99370: Calculate zip path from prefix when in a venv (GH-99371)Kai Zhang2022-11-14
| | | | | | | | Before python3.11, when in a venv the zip path is calculated from prefix on POSIX platforms. In python3.11 the behavior is accidentally changed to calculating from default prefix. This change will break venv created from a non-installed python with a stdlib zip file. This commit restores the behavior back to before python3.11.
* gh-99204: Calculate base_executable by alternate names in POSIX venvs (GH-99206)Vincent Fazio2022-11-10
| | | | | | | | | | | Check to see if `base_executable` exists. If it does not, attempt to use known alternative names of the python binary to find an executable in the path specified by `home`. If no alternative is found, previous behavior is preserved. Signed-off-by: Vincent Fazio <vfazio@gmail.com> Signed-off-by: Vincent Fazio <vfazio@gmail.com>
* gh-98790: When DLLs directory is missing on Windows, assume executable_dir ↵Steve Dower2022-11-02
| | | | contains PYD files instead (GH-98936)
* gh-84623: Remove unused imports in tests (#93772)Victor Stinner2022-06-13
|
* bpo-46890: Fix setting of sys._base_executable with framework builds on ↵Ronald Oussoren2022-04-05
| | | | | | | | | macOS (GH-31958) The side effect of this bug was that venv environments directly used the main interpreter instead of the intermediate stub executable, which can cause problems when a script uses system APIs that require the use of an application bundle.
* bpo-46028: Calculate base_executable by resolving symlinks in a venv (GH-30144)Steve Dower2022-01-18
|
* bpo-46297: Fix interpreter crash on startup with multiple PythonPaths set in ↵Daniel2022-01-07
| | | | registry (GH-30466)
* Remove spaces in empty lines (GH-30121)AN Long2021-12-16
|
* bpo-46015: Fixes calculation of sys.path in a venv on Windows (GH-29992)Steve Dower2021-12-08
| | | Also ensures that pybuilddir.txt is written early enough in the build to be picked up by later steps.
* bpo-45582: Ensure PYTHONHOME still overrides detected build prefixes (GH-29948)Steve Dower2021-12-07
|
* bpo-45582: Port getpath[p].c to Python (GH-29041)Steve Dower2021-12-03
The getpath.py file is frozen at build time and executed as code over a namespace. It is never imported, nor is it meant to be importable or reusable. However, it should be easier to read, modify, and patch than the previous code. This commit attempts to preserve every previously tested quirk, but these may be changed in the future to better align platforms.