https://github.com/python/cpython/commit/54a6875adbc9091909b1473c49595c0cc84dc438
commit: 54a6875adbc9091909b1473c49595c0cc84dc438
branch: main
author: Hugo van Kemenade <[email protected]>
committer: hauntsaninja <[email protected]>
date: 2025-05-15T02:39:42-07:00
summary:
gh-119535: 3.15 minus π (#134037)
* Revert "gh-119535: Support 𝜋thon in Python 3.14 venvs (#125035)"
This reverts commit fcef3fc9a593e2aa868d23cf2d91c57d8bf60ac6.
* Revert "gh-119535: python𝜋 (#119536)"
This reverts commit 3fc673e97dafb8a73ee99937cf2bf0b849b1f418.
files:
M Lib/venv/__init__.py
diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py
index 15e15b7a5184c2..dc9c5991df7e1c 100644
--- a/Lib/venv/__init__.py
+++ b/Lib/venv/__init__.py
@@ -313,11 +313,8 @@ def setup_python(self, context):
copier(context.executable, path)
if not os.path.islink(path):
os.chmod(path, 0o755)
-
- suffixes = ['python', 'python3', f'python3.{sys.version_info[1]}']
- if sys.version_info[:2] == (3, 14):
- suffixes.append('𝜋thon')
- for suffix in suffixes:
+ for suffix in ('python', 'python3',
+ f'python3.{sys.version_info[1]}'):
path = os.path.join(binpath, suffix)
if not os.path.exists(path):
# Issue 18807: make copies if
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]