From 54a6875adbc9091909b1473c49595c0cc84dc438 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 15 May 2025 12:39:42 +0300 Subject: [PATCH] =?UTF-8?q?gh-119535:=203.15=20minus=20=CF=80=20(#134037)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py index 15e15b7a518..dc9c5991df7 100644 --- a/Lib/venv/__init__.py +++ b/Lib/venv/__init__.py @@ -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