对齐 TPC HandlesWith 核心语义:构造 context 对象 → 调用 __enter__() (沿继承链 MRO 回退,如 MemPool → MemManager)→ asname 绑定返回值 → 翻译 body → 逆序调用 __exit__()。context 对象存入临时变量 __with_ctx,方法调用复用 translate_call 的 Attribute 分派 + _translate_method_call 的 MRO 回退;嵌套 with 时保存/恢复外层 __with_ctx 避免类型串扰。修复 "with memhub.MemPool(...) as pool:" 报 SyntaxError 未知语句类型 kind=21。