]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-119535: 3.15 minus π (#134037)
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Thu, 15 May 2025 09:39:42 +0000 (12:39 +0300)
committerGitHub <noreply@github.com>
Thu, 15 May 2025 09:39:42 +0000 (02:39 -0700)
* Revert "gh-119535: Support 𝜋thon in Python 3.14 venvs (#125035)"

This reverts commit fcef3fc9a593e2aa868d23cf2d91c57d8bf60ac6.

* Revert "gh-119535: python𝜋 (#119536)"

This reverts commit 3fc673e97dafb8a73ee99937cf2bf0b849b1f418.

Lib/venv/__init__.py

index 15e15b7a5184c277274f962badcdcef3b081ef63..dc9c5991df7e1c83c1037e72e30d91b328014db9 100644 (file)
@@ -313,11 +313,8 @@ class EnvBuilder:
             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