Skip to content

Commit 00d5a41

Browse files
committed
Add JIT-compiler explanation to j-suffixed Python builds
1 parent 1ab8fb9 commit 00d5a41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bot/exts/utils/snekbox/_eval.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ def get_status_message(self, job: EvalJob) -> str:
143143
"""Return a user-friendly message corresponding to the process's return code."""
144144
if job.version[-1] == "t":
145145
version_text = job.version.replace("t", " [free threaded](<https://docs.python.org/3.13/whatsnew/3.13.html#free-threaded-cpython>)")
146+
elif job.version[-1] == "j":
147+
version_text = job_version.replace("j", " [JIT-compilation enabled](<https://peps.python.org/pep-0744/>)")
146148
else:
147149
version_text = job.version
148150
msg = f"Your {version_text} {job.name} job"

0 commit comments

Comments
 (0)