Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit91d71ac

Browse files
[3.14]gh-134060: Don't create a certain symlink in venv if platform does not support it (GH-134061)
1 parent7073587 commit91d71ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Lib/venv/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def setup_python(self, context):
315315
os.chmod(path,0o755)
316316

317317
suffixes= ['python','python3',f'python3.{sys.version_info[1]}']
318-
ifsys.version_info[:2]== (3,14):
318+
ifsys.version_info[:2]== (3,14)andsys.getfilesystemencoding()=='utf-8':
319319
suffixes.append('𝜋thon')
320320
forsuffixinsuffixes:
321321
path=os.path.join(binpath,suffix)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp