Skip to content

Commit 2875923

Browse files
hauntsaninjablurb-it[bot]
authored andcommitted
gh-119535: python𝜋 (#119536)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
1 parent 02fcd78 commit 2875923

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Lib/venv/__init__.py

+5-2
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)