mirror of https://github.com/python/cpython
gh-119535: python𝜋 (#119536)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
This commit is contained in:
parent
db23b8bb13
commit
3fc673e97d
|
@ -303,8 +303,11 @@ class EnvBuilder:
|
||||||
copier(context.executable, path)
|
copier(context.executable, path)
|
||||||
if not os.path.islink(path):
|
if not os.path.islink(path):
|
||||||
os.chmod(path, 0o755)
|
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)
|
path = os.path.join(binpath, suffix)
|
||||||
if not os.path.exists(path):
|
if not os.path.exists(path):
|
||||||
# Issue 18807: make copies if
|
# Issue 18807: make copies if
|
||||||
|
|
Loading…
Reference in New Issue