| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 07fca10 commit 9461bff
33 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-23 18:03+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-13 19:59+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2026\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-23 18:03+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-13 19:59+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-23 18:03+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-13 19:59+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-10-01 19:07+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-13 19:59+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
@@ -63,7 +63,7 @@ msgstr "" | |||
| 63 | 63 | "*value* の下桁 32 ビットを書き込むだけです; ネイティブの :c:expr:`long` 型サ" | |
| 64 | 64 | "イズには関知しません。 *version* はファイルフォーマットを示します。" | |
| 65 | 65 | ||
| 66 | - #: ../../c-api/marshal.rst:29 ../../c-api/marshal.rst:37 | ||
| 66 | + #: ../../c-api/marshal.rst:29 ../../c-api/marshal.rst:43 | ||
| 67 | 67 | msgid "" | |
| 68 | 68 | "This function can fail, in which case it sets the error indicator. Use :c:" | |
| 69 | 69 | "func:`PyErr_Occurred` to check for that." | |
@@ -73,25 +73,43 @@ msgstr "" | |||
| 73 | 73 | ||
| 74 | 74 | #: ../../c-api/marshal.rst:34 | |
| 75 | 75 | msgid "" | |
| 76 | + "In Python 3.15 and earlier, this function does not set the error indicator " | ||
| 77 | + "if writing to *file* fails. The same caveat applies as for :c:func:" | ||
| 78 | + "`PyMarshal_WriteObjectToFile`." | ||
| 79 | + msgstr "" | ||
| 80 | + | ||
| 81 | + #: ../../c-api/marshal.rst:40 | ||
| 82 | + msgid "" | ||
| 76 | 83 | "Marshal a Python object, *value*, to *file*. *version* indicates the file " | |
| 77 | 84 | "format." | |
| 78 | 85 | msgstr "" | |
| 79 | 86 | "Python オブジェクト *value* を *file* へ整列化します。*version* はファイル" | |
| 80 | 87 | "フォーマットを示します。" | |
| 81 | 88 | ||
| 82 | - #: ../../c-api/marshal.rst:42 | ||
| 89 | + #: ../../c-api/marshal.rst:48 | ||
| 90 | + msgid "" | ||
| 91 | + "In Python 3.15 and earlier, this function can write only part of the data to " | ||
| 92 | + "*file* and return without setting the error indicator, for example if " | ||
| 93 | + "*value* contains an object which cannot be marshalled or if writing to " | ||
| 94 | + "*file* fails (see :gh:`155907`). Code which has to support these versions " | ||
| 95 | + "cannot rely on :c:func:`PyErr_Occurred` alone to know that all the data was " | ||
| 96 | + "written. It can use :c:func:`PyMarshal_WriteObjectToString` and write the " | ||
| 97 | + "result itself, or validate what was written." | ||
| 98 | + msgstr "" | ||
| 99 | + | ||
| 100 | + #: ../../c-api/marshal.rst:59 | ||
| 83 | 101 | msgid "" | |
| 84 | 102 | "Return a bytes object containing the marshalled representation of *value*. " | |
| 85 | 103 | "*version* indicates the file format." | |
| 86 | 104 | msgstr "" | |
| 87 | 105 | "*value* の整列化表現が入ったバイト列オブジェクトを返します。*version* はファ" | |
| 88 | 106 | "イルフォーマットを示します。" | |
| 89 | 107 | ||
| 90 | - #: ../../c-api/marshal.rst:46 | ||
| 108 | + #: ../../c-api/marshal.rst:63 | ||
| 91 | 109 | msgid "The following functions allow marshalled values to be read back in." | |
| 92 | 110 | msgstr "以下の関数を使うと、整列化された値を読み戻せます。" | |
| 93 | 111 | ||
| 94 | - #: ../../c-api/marshal.rst:51 | ||
| 112 | + #: ../../c-api/marshal.rst:68 | ||
| 95 | 113 | msgid "" | |
| 96 | 114 | "Return a C :c:expr:`long` from the data stream in a :c:expr:`FILE*` opened " | |
| 97 | 115 | "for reading. Only a 32-bit value can be read in using this function, " | |
@@ -101,14 +119,14 @@ msgstr "" | |||
| 101 | 119 | "`long` 型データを読み出して返します。この関数は、ネイティブの :c:expr:`long` " | |
| 102 | 120 | "のサイズに関係なく、 32 ビットの値だけを読み出せます。" | |
| 103 | 121 | ||
| 104 | - #: ../../c-api/marshal.rst:55 ../../c-api/marshal.rst:65 | ||
| 122 | + #: ../../c-api/marshal.rst:72 ../../c-api/marshal.rst:82 | ||
| 105 | 123 | msgid "" | |
| 106 | 124 | "On error, sets the appropriate exception (:exc:`EOFError`) and returns " | |
| 107 | 125 | "``-1``." | |
| 108 | 126 | msgstr "" | |
| 109 | 127 | "エラーの場合、適切な例外 (:exc:`EOFError`) を設定し ``-1`` を返します。" | |
| 110 | 128 | ||
| 111 | - #: ../../c-api/marshal.rst:61 | ||
| 129 | + #: ../../c-api/marshal.rst:78 | ||
| 112 | 130 | msgid "" | |
| 113 | 131 | "Return a C :c:expr:`short` from the data stream in a :c:expr:`FILE*` opened " | |
| 114 | 132 | "for reading. Only a 16-bit value can be read in using this function, " | |
@@ -118,24 +136,24 @@ msgstr "" | |||
| 118 | 136 | "`short` 型データを読み出して返します。この関数は、ネイティブの :c:expr:" | |
| 119 | 137 | "`short` のサイズに関係なく、 16 ビットの値だけを読み出せます。" | |
| 120 | 138 | ||
| 121 | - #: ../../c-api/marshal.rst:71 | ||
| 139 | + #: ../../c-api/marshal.rst:88 | ||
| 122 | 140 | msgid "" | |
| 123 | 141 | "Return a Python object from the data stream in a :c:expr:`FILE*` opened for " | |
| 124 | 142 | "reading." | |
| 125 | 143 | msgstr "" | |
| 126 | 144 | "読み出し用に開かれた :c:expr:`FILE*` 内のデータストリームから Python オブジェ" | |
| 127 | 145 | "クトを返します。" | |
| 128 | 146 | ||
| 129 | - #: ../../c-api/marshal.rst:74 ../../c-api/marshal.rst:88 | ||
| 130 | - #: ../../c-api/marshal.rst:97 | ||
| 147 | + #: ../../c-api/marshal.rst:91 ../../c-api/marshal.rst:105 | ||
| 148 | + #: ../../c-api/marshal.rst:114 | ||
| 131 | 149 | msgid "" | |
| 132 | 150 | "On error, sets the appropriate exception (:exc:`EOFError`, :exc:`ValueError` " | |
| 133 | 151 | "or :exc:`TypeError`) and returns ``NULL``." | |
| 134 | 152 | msgstr "" | |
| 135 | 153 | "エラーの場合、適切な例外 (:exc:`EOFError`, :exc:`ValueError`, :exc:" | |
| 136 | 154 | "`TypeError`) を設定し ``NULL`` を返します。" | |
| 137 | 155 | ||
| 138 | - #: ../../c-api/marshal.rst:80 | ||
| 156 | + #: ../../c-api/marshal.rst:97 | ||
| 139 | 157 | msgid "" | |
| 140 | 158 | "Return a Python object from the data stream in a :c:expr:`FILE*` opened for " | |
| 141 | 159 | "reading. Unlike :c:func:`PyMarshal_ReadObjectFromFile`, this function " | |
@@ -146,7 +164,7 @@ msgid "" | |||
| 146 | 164 | "anything else from the file." | |
| 147 | 165 | msgstr "" | |
| 148 | 166 | ||
| 149 | - #: ../../c-api/marshal.rst:94 | ||
| 167 | + #: ../../c-api/marshal.rst:111 | ||
| 150 | 168 | msgid "" | |
| 151 | 169 | "Return a Python object from the data stream in a byte buffer containing " | |
| 152 | 170 | "*len* bytes pointed to by *data*." | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ msgid "" | |||
| 12 | 12 | msgstr "" | |
| 13 | 13 | "Project-Id-Version: Python 3.15\n" | |
| 14 | 14 | "Report-Msgid-Bugs-To: \n" | |
| 15 | - "POT-Creation-Date: 2026-09-23 18:03+0000\n" | ||
| 15 | + "POT-Creation-Date: 2026-10-13 19:59+0000\n" | ||
| 16 | 16 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 17 | 17 | "Last-Translator: python-doc bot, 2026\n" | |
| 18 | 18 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ msgid "" | |||
| 12 | 12 | msgstr "" | |
| 13 | 13 | "Project-Id-Version: Python 3.15\n" | |
| 14 | 14 | "Report-Msgid-Bugs-To: \n" | |
| 15 | - "POT-Creation-Date: 2026-09-23 18:03+0000\n" | ||
| 15 | + "POT-Creation-Date: 2026-10-13 19:59+0000\n" | ||
| 16 | 16 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 17 | 17 | "Last-Translator: b785ccb154ea7c5e4722f287fb17d327_f3b4082, 2026\n" | |
| 18 | 18 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-23 18:03+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-13 19:59+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-23 18:03+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-13 19:59+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2026-02-25 14:46+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2026\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -11,7 +11,7 @@ msgid "" | |||
| 11 | 11 | msgstr "" | |
| 12 | 12 | "Project-Id-Version: Python 3.15\n" | |
| 13 | 13 | "Report-Msgid-Bugs-To: \n" | |
| 14 | - "POT-Creation-Date: 2026-09-23 18:03+0000\n" | ||
| 14 | + "POT-Creation-Date: 2026-10-13 19:59+0000\n" | ||
| 15 | 15 | "PO-Revision-Date: 2025-09-16 00:00+0000\n" | |
| 16 | 16 | "Last-Translator: python-doc bot, 2025\n" | |
| 17 | 17 | "Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments