python / python/cpython

codegen error handling bugs

未關閉
#156,466 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

interpreter-core type-bug
主要語言
Python
星號
77.2k
分支
36k
平均合併
1 天 9 小時
30 天內合併 PR
558

描述

I'm reviewing codegen and seeing some bugs in cleanup on errors, in particular scope enter/exit bugs.
Will use this issue to track them.

Linked PRs
  • gh-156467
  • gh-156473
  • gh-156497
  • gh-156498
  • gh-156499
  • gh-156502
  • gh-156507
  • gh-156508
  • gh-156509
  • gh-156511
  • gh-156520
  • gh-156522
  • gh-156535
  • gh-156536
  • gh-156547
  • gh-156571
  • gh-156572
  • gh-156578
  • gh-156579
  • gh-156582
  • gh-156615
  • gh-156616
  • gh-156617
  • gh-157338

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

研究方向

先檢閱已連結的 PR,尤其是 gh-156467 到 gh-157338,以了解還有哪些程式碼產生清理工作和 scope 進入/離開錯誤尚未解決。這個 issue 是一個追蹤用的總括 issue,未指定檔案、測試或完成條件,因此無法僅根據該 issue 判定是否已完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
compilers
Issue 類型
缺陷
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
15/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。