deepseek-harness/packages/code-runtime/code-runtime-python/py
Chinesezjc 69dc17c906 fix(code-runtime-python): bind BaseException into every settlement-path except clause
The rebindable-BaseException vector the bot flagged existed in every except
clause of the settlement path, not just the _run outer catch: safe_model_traceback
(three guards) and the post-done flush swallow resolved the module-global
BaseException at runtime, so a __main__.BaseException rebind plus a throwing
__str__ could let a render-time exception escape and lose the done frame. Bind
BaseException into a _run local (at the top) and a closure cell in
_make_failure_reporter, and change every such except clause to catch the local
— immune to a one-line rebind.
2026-08-31 14:34:09 +08:00
..
bootstrap.py fix(code-runtime-python): bind BaseException into every settlement-path except clause 2026-08-31 14:34:09 +08:00
protocol.py fix(code-runtime-python): close coverage gap and tighten the wire mirror 2026-08-07 13:27:54 +08:00