mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
[3.14] gh-134060: Don't create a certain symlink in venv if platform does not support it (GH-134061)
This commit is contained in:
parent
70735878ab
commit
91d71ac1bd
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ class EnvBuilder:
|
|||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue