cpython/Lib/ensurepip
Imgyu Kim 73cc1fd4f4
gh-146310: Fix ensurepip to treat empty WHEEL_PKG_DIR as unset (#146357)
Path('') resolves to CWD, so an empty WHEEL_PKG_DIR string caused
ensurepip to search the current working directory for wheel files.
Add a truthiness check to treat empty strings the same as None.

Co-authored-by: Victor Stinner <vstinner@python.org>
2026-03-27 20:48:07 +00:00
..
_bundled gh-144538: Upgrade bundled pip to 26.0.1 (gh-144556) 2026-02-07 10:59:54 +00:00
__init__.py gh-146310: Fix ensurepip to treat empty WHEEL_PKG_DIR as unset (#146357) 2026-03-27 20:48:07 +00:00
__main__.py bpo-31351: Set return code in ensurepip when pip fails (GH-3626) 2017-09-21 20:07:45 +10:00
_uninstall.py gh-91818: Use default program name in the CLI of many modules (GH-124867) 2024-10-10 00:20:53 +03:00