]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-135773: have pyvenv.cfg without home key anchor a venv and deduce home...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 4 Jul 2025 14:36:12 +0000 (16:36 +0200)
committerGitHub <noreply@github.com>
Fri, 4 Jul 2025 14:36:12 +0000 (00:36 +1000)
commitf2f3edb8d7daba96a73741a269ceb61575957633
treedfe82c816540251042847689f83a4127a39a3a2f
parentfa7e76e4ddbe92da1f1d98a24cc15d8306ef4e2e
[3.14] gh-135773: have pyvenv.cfg without home key anchor a venv and deduce home (GH-135831) (#136287)

gh-135773: have pyvenv.cfg without home key anchor a venv and deduce home (GH-135831)

This is still formally undefined behaviour, but we may as well
keep the *same* undefined behaviour as previous versions.

PEP 796 proposes a cleaner and more consistent replacement for 3.15+
(cherry picked from commit 93263d43141a81d369adfcddf325f9a54cb5766d)

Co-authored-by: Richard Levasseur <rlevasseur@google.com>
Lib/test/test_getpath.py
Modules/getpath.py