From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Thu, 15 May 2025 09:39:42 +0000 (+0300) Subject: gh-119535: 3.15 minus π (#134037) X-Git-Tag: v3.15.0a1~1718 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=54a6875adbc9091909b1473c49595c0cc84dc438;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py index 15e15b7a5184..dc9c5991df7e 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