Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork214
Translate library/exceptions part 1/3#817
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@mattwang44 我的 repo 權限好像因為之前沒有設定 2FA 被拿掉了,再麻煩你幫忙看一下 🙏 |
"attr:`!__suppress_context__` 屬性為 ``True``,因此使用 ``raise new_exc from " | ||
"None`` 實際上會以新的例外取代舊的例外以利於顯示(例如轉換 :exc:`KeyError` " | ||
"為 :exc:`AttributeError`),同時保持舊的例外可以透過 :attr:`!__context__` 取" | ||
"得以方便 debug 的時候檢查。" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
debug 我沒翻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
目前未有定論
#513
"此方法設定 *tb* 為該例外的新的回溯並回傳該例外物件。在 :pep:`3134` 的例外連鎖" | ||
"功能變得可用之前,此方法曾被更普遍使用。下面的範例顯示我們如何將 " | ||
"``SomeException`` 的實例轉換為 ``OtherException`` 的實例同時保留回溯。一旦被" | ||
"引發,目前的 frame 會被加進 ``OtherException`` 的回溯,就像原來 " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
frame 也沒翻
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Uh oh!
There was an error while loading.Please reload this page.
已寄送邀請信,再麻煩查收~ |
收到了~ 謝謝 |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
library/exceptions.po Outdated
@@ -79,12 +95,17 @@ msgid "" | |||
"`except` or :keyword:`finally` clause, or a :keyword:`with` statement, is " | |||
"used." | |||
msgstr "" | |||
"當引發一個新的例外而同時有另一個例外已經正在被處理,這個新例外的 :attr:`!" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
very nit:
"當引發一個新的例外而同時有另一個例外已經正在被處理,這個新例外的 :attr:`!" | |
"當引發一個新的例外而同時有另一個例外已經正在被處理時,這個新例外的 :attr:`!" |
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
LGTM~
issue:#806