| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 8bc2d71 commit 1fae41c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7104,6 +7104,9 @@ msgid "" | |||
| 7104 | 7104 | "UnionType` and used for :func:`isinstance` checks. An object cannot be " | |
| 7105 | 7105 | "instantiated from the type::" | |
| 7106 | 7106 | msgstr "" | |
| 7107 | + "ユーザー定義の Union オブジェクトは :data:`types.UnionType` からアクセスする" | ||
| 7108 | + "ことができ、 :func:`isinstance` によるチェックにも使うことができます。型から" | ||
| 7109 | + "オブジェクトをインスタンスかすることができません::" | ||
| 7107 | 7110 | ||
| 7108 | 7111 | #: ../../library/stdtypes.rst:5116 | |
| 7109 | 7112 | msgid "" | |
@@ -7537,6 +7540,8 @@ msgid "" | |||
| 7537 | 7540 | "output string when a non-linear conversion algorithm would be involved. " | |
| 7538 | 7541 | "Underscores and the sign are not counted towards the limit." | |
| 7539 | 7542 | msgstr "" | |
| 7543 | + "制限は、非線形な変換アルゴリズムが必要とされる場合に、入力または出力文字列の" | ||
| 7544 | + "桁数に対して適用されます。アンダースコアや正負の符号はカウントされません。" | ||
| 7540 | 7545 | ||
| 7541 | 7546 | #: ../../library/stdtypes.rst:5444 | |
| 7542 | 7547 | msgid "" | |
@@ -7718,6 +7723,14 @@ msgid "" | |||
| 7718 | 7723 | "exist for the code. A workaround for source that contains such large " | |
| 7719 | 7724 | "constants is to convert them to ``0x`` hexadecimal form as it has no limit." | |
| 7720 | 7725 | msgstr "" | |
| 7726 | + "小さな上限値を設定することで、問題が起きる *可能性があります* 。まれではあり" | ||
| 7727 | + "ますが、ソースコード内で閾値を超える定数が10進数の整数として存在するコードが" | ||
| 7728 | + "存在します。値に制限をつけることの帰結は、10進数の整数リテラルで制限を超える" | ||
| 7729 | + "長さを持つ定数を含むコードのパース時、すなわち通常は起動時、モジュールのイン" | ||
| 7730 | + "ポート時、またはインストール時など、そのコードのための ``.pyc`` ファイルが作" | ||
| 7731 | + "られるまでのどこかの時点でのエラーです。大きな定数を含むソースコードに対する" | ||
| 7732 | + "回避策は、その定数を、 ``0x`` を使って値の制限を持たない16進数の値に変換する" | ||
| 7733 | + "ことです。" | ||
| 7721 | 7734 | ||
| 7722 | 7735 | #: ../../library/stdtypes.rst:5551 | |
| 7723 | 7736 | msgid "" | |
@@ -7726,6 +7739,10 @@ msgid "" | |||
| 7726 | 7739 | "during startup and even during any installation step that may invoke Python " | |
| 7727 | 7740 | "to precompile ``.py`` sources to ``.pyc`` files." | |
| 7728 | 7741 | msgstr "" | |
| 7742 | + "小さな上限値を使う場合、アプリケーションを徹底的にテストしてください。環境変" | ||
| 7743 | + "数やフラグを使って、制限が起動時や、さらにはインストールの段階で Python が " | ||
| 7744 | + "``.py`` ファイルを事前にコンパイルして ``.pyc`` ファイルを作成する際にも適用" | ||
| 7745 | + "されるようにした状態で、確実にテストが実行されるようにしてください。" | ||
| 7729 | 7746 | ||
| 7730 | 7747 | #: ../../library/stdtypes.rst:5557 | |
| 7731 | 7748 | msgid "Recommended configuration" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments