Skip to content

Commit 07488fe

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent 25cc498 commit 07488fe

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

library/logging.config.po

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,16 @@ msgid ""
411411
"untrusted sources with *extreme caution* and satisfy yourself that nothing "
412412
"bad can happen if you load them, before actually loading them."
413413
msgstr ""
414+
"logging の設定機能は便利さを提供します。その便利さの一部は設定ファイル内のテ"
415+
"キストを logging の設定に使われる Python オブジェクトに変換する機能を提供する"
416+
"ことによって実現されています - たとえば、 :ref:`logging-config-dict-userdef` "
417+
"で説明されているような機能です。しかし、まさにこのメカニズム (実行可能オブ"
418+
"ジェクトをユーザー定義モジュールからインポートし、設定ファイルから読み込んだ"
419+
"パラメータを使ってそれらを呼び出すこと) が任意のコードを呼び出すことに利用で"
420+
"きる可能性があります。そして、この理由により、信頼できない情報源から取得した"
421+
"設定ファイルは *細心の注意* を払って取り扱わなければなりません。そのような"
422+
"ファイルをロードする場合、そのファイルがいかなる問題も起こさないと確認した上"
423+
"で実際にファイルをロードしてください。"
414424

415425
#: ../../library/logging.config.rst:211
416426
msgid "Configuration dictionary schema"

0 commit comments

Comments
 (0)