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

Commit7d129f9

Browse files
authored
Clarify some wording inwasi(\.py)? (GH-133619)
1 parentc81fa2b commit7d129f9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

‎Tools/wasm/wasi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
importrunpy
44
importsys
55

6-
print("⚠️ WARNING: This script is deprecated and slated for removal in Python 3.19; "
6+
print("⚠️ WARNING: This script is deprecated and slated for removal in Python 3.20; "
77
"execute the `wasi/` directory instead (i.e. `python Tools/wasm/wasi`)\n",
88
file=sys.stderr)
99

‎Tools/wasm/wasi/__main__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def configure_wasi_python(context, working_dir):
258258
withexec_script.open("w",encoding="utf-8")asfile:
259259
file.write(f'#!/bin/sh\nexec{host_runner}{python_wasm} "$@"\n')
260260
exec_script.chmod(0o755)
261-
print(f"🏃‍♀️ Created{exec_script} ... ")
261+
print(f"🏃‍♀️ Created{exec_script}(--host-runner)... ")
262262
sys.stdout.flush()
263263

264264

@@ -270,10 +270,10 @@ def make_wasi_python(context, working_dir):
270270
quiet=context.quiet)
271271

272272
exec_script=working_dir/"python.sh"
273-
subprocess.check_call([exec_script,"--version"])
273+
call([exec_script,"--version"],quiet=False)
274274
print(
275-
f"🎉 Use'{exec_script.relative_to(context.init_dir)}' "
276-
"to run CPythonin wasm runtime"
275+
f"🎉 Use`{exec_script.relative_to(context.init_dir)}` "
276+
"to run CPythonw/ the WASI host specified by --host-runner"
277277
)
278278

279279

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp