]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-135773: have pyvenv.cfg without home key anchor a venv and deduce home (#135831)
authorRichard Levasseur <rlevasseur@google.com>
Fri, 4 Jul 2025 13:44:37 +0000 (06:44 -0700)
committerGitHub <noreply@github.com>
Fri, 4 Jul 2025 13:44:37 +0000 (23:44 +1000)
commit93263d43141a81d369adfcddf325f9a54cb5766d
treebebb7ca4e1ea7117f9e4e0ffe83c3742d34e29f9
parent8ac7613dc8b8f82253d7c0e2b6ef6ed703a0a1ee
gh-135773: have pyvenv.cfg without home key anchor a venv and deduce home (#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+
Lib/test/test_getpath.py
Modules/getpath.py