From 6fd092b48f1a9a7464b752f1fd9137e1b23f8e22 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 15 May 2025 11:59:32 +0300 Subject: [PATCH 1/2] =?UTF-8?q?Revert=20"gh-119535:=20Support=20?= =?UTF-8?q?=F0=9D=9C=8Bthon=20in=20Python=203.14=20venvs=20(#125035)"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit fcef3fc9a593e2aa868d23cf2d91c57d8bf60ac6. --- Lib/venv/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py index 15e15b7a5184c2..554ee0489e8ba7 100644 --- a/Lib/venv/__init__.py +++ b/Lib/venv/__init__.py @@ -316,7 +316,7 @@ def setup_python(self, context): suffixes = ['python', 'python3', f'python3.{sys.version_info[1]}'] if sys.version_info[:2] == (3, 14): - suffixes.append('𝜋thon') + suffixes.append('python𝜋') for suffix in suffixes: path = os.path.join(binpath, suffix) if not os.path.exists(path): From 659461627a895806a152d3c7970736e551bf36d3 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 15 May 2025 11:59:39 +0300 Subject: [PATCH 2/2] =?UTF-8?q?Revert=20"gh-119535:=20python=F0=9D=9C=8B?= =?UTF-8?q?=20(#119536)"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 554ee0489e8ba7..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('python𝜋') - 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