https://github.com/python/cpython/commit/3fc673e97dafb8a73ee99937cf2bf0b849b1f418
commit: 3fc673e97dafb8a73ee99937cf2bf0b849b1f418
branch: main
author: Shantanu <[email protected]>
committer: hugovk <[email protected]>
date: 2024-10-06T21:47:13+03:00
summary:

gh-119535: python𝜋 (#119536)

Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>

files:
M Lib/venv/__init__.py

diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py
index 028e9483196694..a5cb2bdb064692 100644
--- a/Lib/venv/__init__.py
+++ b/Lib/venv/__init__.py
@@ -303,8 +303,11 @@ def setup_python(self, context):
             copier(context.executable, path)
             if not os.path.islink(path):
                 os.chmod(path, 0o755)
-            for suffix in ('python', 'python3',
-                           f'python3.{sys.version_info[1]}'):
+
+            suffixes = ['python', 'python3', f'python3.{sys.version_info[1]}']
+            if sys.version_info[:2] == (3, 14):
+                suffixes.append('python𝜋')
+            for suffix in suffixes:
                 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]

Reply via email to