Skip to content

the verify script's pty helper is not called pty.py, and the sandbox result - #40

Merged
Sunrisepeak merged 2 commits into
mainfrom
docs/verify-pty-name
Sep 20, 2026
Merged

Sunrisepeak merged 2 commits into
mainfrom
docs/verify-pty-name

Conversation

@Sunrisepeak

Copy link
Copy Markdown
Member

沙箱验证跑完了,两处需要落在仓库里:

  1. 脚本自身的缺陷:pty 辅助文件叫 pty.py,而 Python 把脚本所在目录放在导入路径最前,于是它遮蔽了标准库 ptyAttributeError: partially initialized module 'pty' has no attribute 'fork')。更糟的是脚本把这次失败报成「本机 C 库也没收到这个按键」——一个检查把自己的毛病说成了对照组的。改名 ptykeys.py
  2. 记录补 §3.5:沙箱(CN 镜像、只写版本号、从已发布 index 解析)四项观察全过,0 assertion(s) failed;并记下 index 是按构件分发的这一点(合并后要等 Publish Index Artifact 发完客户端才看得到)。

…result

Python puts a script's own directory first on the import path, so a helper
named pty.py shadowed the standard module it imports and the run reported
'AttributeError: partially initialized module pty has no attribute fork'.
The script then attributed that to the control --- 'this machine's own C
library did not receive the keystroke as data either' --- which is a check
blaming the thing it was measuring against. Renamed, and the record now
carries what the sandbox reported once it ran: four observations, none
failing, resolved from the published index alone.
The owner removed the two GitCode assets, so the repair could be made at the
source: a plain tag beside the v-prefixed one in each repository, that tag's
GitHub archive uploaded in its place, and the descriptor stating the hash of
that one file. Both mirrors now serve identical bytes for openkal-musl 0.15.0
and openkal-llvm-runtime 0.11.0.
@Sunrisepeak
Sunrisepeak merged commit 281ae1d into main Sep 20, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant