Skip to content

Commit 1fae41c

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent 8bc2d71 commit 1fae41c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

library/stdtypes.po

+17
Original file line numberDiff line numberDiff line change
@@ -7104,6 +7104,9 @@ msgid ""
71047104
"UnionType` and used for :func:`isinstance` checks. An object cannot be "
71057105
"instantiated from the type::"
71067106
msgstr ""
7107+
"ユーザー定義の Union オブジェクトは :data:`types.UnionType` からアクセスする"
7108+
"ことができ、 :func:`isinstance` によるチェックにも使うことができます。型から"
7109+
"オブジェクトをインスタンスかすることができません::"
71077110

71087111
#: ../../library/stdtypes.rst:5116
71097112
msgid ""
@@ -7537,6 +7540,8 @@ msgid ""
75377540
"output string when a non-linear conversion algorithm would be involved. "
75387541
"Underscores and the sign are not counted towards the limit."
75397542
msgstr ""
7543+
"制限は、非線形な変換アルゴリズムが必要とされる場合に、入力または出力文字列の"
7544+
"桁数に対して適用されます。アンダースコアや正負の符号はカウントされません。"
75407545

75417546
#: ../../library/stdtypes.rst:5444
75427547
msgid ""
@@ -7718,6 +7723,14 @@ msgid ""
77187723
"exist for the code. A workaround for source that contains such large "
77197724
"constants is to convert them to ``0x`` hexadecimal form as it has no limit."
77207725
msgstr ""
7726+
"小さな上限値を設定することで、問題が起きる *可能性があります* 。まれではあり"
7727+
"ますが、ソースコード内で閾値を超える定数が10進数の整数として存在するコードが"
7728+
"存在します。値に制限をつけることの帰結は、10進数の整数リテラルで制限を超える"
7729+
"長さを持つ定数を含むコードのパース時、すなわち通常は起動時、モジュールのイン"
7730+
"ポート時、またはインストール時など、そのコードのための ``.pyc`` ファイルが作"
7731+
"られるまでのどこかの時点でのエラーです。大きな定数を含むソースコードに対する"
7732+
"回避策は、その定数を、 ``0x`` を使って値の制限を持たない16進数の値に変換する"
7733+
"ことです。"
77217734

77227735
#: ../../library/stdtypes.rst:5551
77237736
msgid ""
@@ -7726,6 +7739,10 @@ msgid ""
77267739
"during startup and even during any installation step that may invoke Python "
77277740
"to precompile ``.py`` sources to ``.pyc`` files."
77287741
msgstr ""
7742+
"小さな上限値を使う場合、アプリケーションを徹底的にテストしてください。環境変"
7743+
"数やフラグを使って、制限が起動時や、さらにはインストールの段階で Python が "
7744+
"``.py`` ファイルを事前にコンパイルして ``.pyc`` ファイルを作成する際にも適用"
7745+
"されるようにした状態で、確実にテストが実行されるようにしてください。"
77297746

77307747
#: ../../library/stdtypes.rst:5557
77317748
msgid "Recommended configuration"

0 commit comments

Comments
 (0)