Skip to content

Commit 3fc673e

Browse files
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
1 parent db23b8b commit 3fc673e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Lib/venv/__init__.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,11 @@ def setup_python(self, context):
303303
copier(context.executable, path)
304304
if not os.path.islink(path):
305305
os.chmod(path, 0o755)
306-
for suffix in ('python', 'python3',
307-
f'python3.{sys.version_info[1]}'):
306+
307+
suffixes = ['python', 'python3', f'python3.{sys.version_info[1]}']
308+
if sys.version_info[:2] == (3, 14):
309+
suffixes.append('python𝜋')
310+
for suffix in suffixes:
308311
path = os.path.join(binpath, suffix)
309312
if not os.path.exists(path):
310313
# Issue 18807: make copies if

0 commit comments

Comments
 (0)