getsentry / getsentry/sentry-python

Remove try/excepts that exist for Python 2 compatibility

未關閉
#6,120 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
good first issue Python Refactoring Task
主要語言
Python
星號
2.2k
分支
669
平均合併
1 天 40 分鐘
30 天內合併 PR
212

描述

As we no longer support Python 2, we should clean up the residual code that we have around that `try/except`s modules that didn't exist in Python 2 but do in Python 3.

See this experimental branch for some examples: [https://github.com/getsentry/sentry-python/pull/6091/changes]()

貢獻指南

開啟貢獻指南

研究方向

先檢視實驗性 pull request 6091 中的變更,然後在儲存庫中搜尋仍用於 Python 2 相容性的 try/except 區塊。移除殘留的相容性程式碼,並執行專案的測試套件,以確認 Python 3 的行為維持不變。

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

評估

技術堆疊
python
領域
backend
Issue 類型
重構
難度
3/5
預估耗時
1-2 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
68/100

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

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