mirror of
https://github.com/python/cpython.git
synced 2025-07-07 19:35:27 +00:00
gh-119535: 3.15 minus π (#134037)
* Revert "gh-119535: Support 𝜋thon in Python 3.14 venvs (#125035)" This reverts commitfcef3fc9a5
. * Revert "gh-119535: python𝜋 (#119536)" This reverts commit3fc673e97d
.
This commit is contained in:
parent
7eaa097390
commit
54a6875adb
1 changed files with 2 additions and 5 deletions
|
@ -313,11 +313,8 @@ 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',
|
||||||
suffixes = ['python', 'python3', f'python3.{sys.version_info[1]}']
|
f'python3.{sys.version_info[1]}'):
|
||||||
if sys.version_info[:2] == (3, 14):
|
|
||||||
suffixes.append('𝜋thon')
|
|
||||||
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…
Add table
Add a link
Reference in a new issue