https://github.com/python/cpython/commit/91d71ac1bd68d44a8648e39e24b2f1c26575b8ba
commit: 91d71ac1bd68d44a8648e39e24b2f1c26575b8ba
branch: 3.14
author: Stan Ulbrych <89152624+stanfromirel...@users.noreply.github.com>
committer: serhiy-storchaka <storch...@gmail.com>
date: 2025-05-18T22:33:14+03:00
summary:

[3.14] gh-134060: Don't create a certain symlink in venv if platform does not 
support it (GH-134061)

files:
M Lib/venv/__init__.py

diff --git a/Lib/venv/__init__.py b/Lib/venv/__init__.py
index 15e15b7a5184c2..17ee28e826d5cf 100644
--- a/Lib/venv/__init__.py
+++ b/Lib/venv/__init__.py
@@ -315,7 +315,7 @@ def setup_python(self, context):
                 os.chmod(path, 0o755)
 
             suffixes = ['python', 'python3', f'python3.{sys.version_info[1]}']
-            if sys.version_info[:2] == (3, 14):
+            if sys.version_info[:2] == (3, 14) and sys.getfilesystemencoding() 
== 'utf-8':
                 suffixes.append('𝜋thon')
             for suffix in suffixes:
                 path = os.path.join(binpath, suffix)

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to