@@ -12,7 +12,7 @@ msgid ""
12
12
msgstr ""
13
13
"Project-Id-Version : Python 3.12\n "
14
14
"Report-Msgid-Bugs-To : \n "
15
- "POT-Creation-Date : 2023-05-26 14:12 +0000\n "
15
+ "POT-Creation-Date : 2023-06-09 14:13 +0000\n "
16
16
"PO-Revision-Date : 2021-06-28 00:50+0000\n "
17
17
"Last-Translator : Naoki Koike, 2023\n "
18
18
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -55,14 +55,15 @@ msgstr ""
55
55
56
56
#: ../../c-api/stable.rst:23
57
57
msgid ""
58
- "* Unstable API* , may change in minor versions without a deprecation period. "
59
- "It is marked by the ``PyUnstable`` prefix in names."
58
+ ":ref:` Unstable API <unstable-c-api>` , may change in minor versions without a "
59
+ "deprecation period. It is marked by the ``PyUnstable`` prefix in names."
60
60
msgstr ""
61
61
62
62
#: ../../c-api/stable.rst:25
63
63
msgid ""
64
- "*Limited API*, is compatible across several minor releases. When :c:macro:"
65
- "`Py_LIMITED_API` is defined, only this subset is exposed from ``Python.h``."
64
+ ":ref:`Limited API <limited-c-api>`, is compatible across several minor "
65
+ "releases. When :c:macro:`Py_LIMITED_API` is defined, only this subset is "
66
+ "exposed from ``Python.h``."
66
67
msgstr ""
67
68
68
69
#: ../../c-api/stable.rst:29
@@ -107,37 +108,22 @@ msgstr "安定 ABI (Stable Appliction Binary Interface)"
107
108
108
109
#: ../../c-api/stable.rst:58
109
110
msgid ""
110
- "Python 3.2 introduced the *Limited API*, a subset of Python's C API. "
111
- "Extensions that only use the Limited API can be compiled once and work with "
112
- "multiple versions of Python. Contents of the Limited API are :ref:`listed "
113
- "below <stable-abi-list>`."
111
+ "For simplicity, this document talks about *extensions*, but the Limited API "
112
+ "and Stable ABI work the same way for all uses of the API – for example, "
113
+ "embedding Python."
114
114
msgstr ""
115
- "Python 3.2 では、 Python の C API のサブセットである *Limited API* が導入され"
116
- "ました。Limited API のみを使用する拡張機能は、一度コンパイルすれば、複数の"
117
- "バージョンの Python で動作させることができます。Limited API の内容は :ref:"
118
- "`listed below <stable-abi-list>` です。"
119
115
120
- #: ../../c-api/stable.rst:63
121
- msgid ""
122
- "To enable this, Python provides a *Stable ABI*: a set of symbols that will "
123
- "remain compatible across Python 3.x versions. The Stable ABI contains "
124
- "symbols exposed in the Limited API, but also other ones – for example, "
125
- "functions necessary to support older versions of the Limited API."
116
+ #: ../../c-api/stable.rst:65
117
+ msgid "Limited C API"
126
118
msgstr ""
127
- "これを可能にするために、 Python は *Stable ABI* を提供しています。これは、"
128
- "Python 3.x のバージョン間で互換性を保つシンボルの集合です。Stable ABI には、 "
129
- "Limited API で公開されているシンボルだけでなく、 Limited API の古いバージョン"
130
- "をサポートするために必要な関数など、他のシンボルも含まれています。"
F438
131
119
132
- #: ../../c-api/stable.rst:68
120
+ #: ../../c-api/stable.rst:67
133
121
msgid ""
134
- "(For simplicity, this document talks about *extensions*, but the Limited API "
135
- "and Stable ABI work the same way for all uses of the API – for example, "
136
- "embedding Python.)"
122
+ "Python 3.2 introduced the *Limited API*, a subset of Python's C API. "
123
+ "Extensions that only use the Limited API can be compiled once and work with "
124
+ "multiple versions of Python. Contents of the Limited API are :ref:`listed "
125
+ "below <limited-api-list>`."
137
126
msgstr ""
138
- "(簡単にするため、このドキュメントでは *拡張機能* について話していますが、 "
139
- "Limited API と Stable ABI は、 API のすべての使用、たとえばPythonの組み込みに"
140
- "対して同じように動作します)"
141
127
142
128
#: ../../c-api/stable.rst:74
143
129
msgid ""
@@ -179,7 +165,24 @@ msgstr ""
179
165
"``0x03020000`` (Python 3.2, Limited API が導入されたバージョン)と同じように動"
180
166
"作します。"
181
167
182
- #: ../../c-api/stable.rst:90
168
+ #: ../../c-api/stable.rst:94
169
+ msgid "Stable ABI"
170
+ msgstr ""
171
+
172
+ #: ../../c-api/stable.rst:96
173
+ msgid ""
174
+ "To enable this, Python provides a *Stable ABI*: a set of symbols that will "
175
+ "remain compatible across Python 3.x versions."
176
+ msgstr ""
177
+
178
+ #: ../../c-api/stable.rst:99
179
+ msgid ""
180
+ "The Stable ABI contains symbols exposed in the :ref:`Limited API <limited-c-"
181
+ "api>`, but also other ones – for example, functions necessary to support "
182
+ "older versions of the Limited API."
183
+ msgstr ""
184
+
185
+ #: ../../c-api/stable.rst:103
183
186
msgid ""
184
187
"On Windows, extensions that use the Stable ABI should be linked against &quo
10000
t;
185
188
"``python3.dll`` rather than a version-specific library such as ``python39."
@@ -189,7 +192,7 @@ msgstr ""
189
192
"バージョン固有のライブラリではなく、 ``python3.dll`` に対してリンクする必要が"
190
193
"あります。"
191
194
192
- #: ../../c-api/stable.rst:94
195
+ #: ../../c-api/stable.rst:107
193
196
msgid ""
194
197
"On some platforms, Python will look for and load shared library files named "
195
198
"with the ``abi3`` tag (e.g. ``mymodule.abi3.so``). It does not check if such "
@@ -204,7 +207,7 @@ msgstr ""
204
207
"れた拡張モジュールが、それ以下のバージョンの Python にインストールされないこ"
205
208
"とを確認する必要があります。"
206
209
207
- #: ../../c-api/stable.rst:101
210
+ #: ../../c-api/stable.rst:114
208
211
msgid ""
209
212
"All functions in the Stable ABI are present as functions in Python's shared "
210
213
"library, not solely as macros. This makes them usable from languages that "
@@ -214,19 +217,19 @@ msgstr ""
214
217
"イブラリの関数として存在します。そのため、Cプリプロセッサを使用しない言語から"
215
218
"使用することができます。"
216
219
217
- #: ../../c-api/stable.rst:107
220
+ #: ../../c-api/stable.rst:120
218
221
msgid "Limited API Scope and Performance"
219
222
msgstr "APIスコープとパフォーマンスの制限"
220
223
221
- #: ../../c-api/stable.rst:109
224
+ #: ../../c-api/stable.rst:122
222
225
msgid ""
223
226
"The goal for the Limited API is to allow everything that is possible with "
224
227
"the full C API, but possibly with a performance penalty."
225
228
msgstr ""
226
229
"Limited API の目標は、フル C API で可能なすべてのことを実現することですが、お"
227
230
"そらく性能上の制約があります。"
228
231
229
- #: ../../c-api/stable.rst:112
232
+ #: ../../c-api/stable.rst:125
230
233
msgid ""
231
234
"For example, while :c:func:`PyList_GetItem` is available, its “unsafe” macro "
232
235
"variant :c:func:`PyList_GET_ITEM` is not. The macro can be faster because it "
@@ -237,7 +240,7 @@ msgstr ""
237
240
"トのバージョン固有の実装の詳細に依存することができるため、より高速に処理する"
238
241
"ことができます。"
239
242
240
- #: ../../c-api/stable.rst:117
243
+ #: ../../c-api/stable.rst:130
241
244
msgid ""
242
245
"Without ``Py_LIMITED_API`` defined, some C API functions are inlined or "
243
246
"replaced by macros. Defining ``Py_LIMITED_API`` disables this inlining, "
@@ -249,7 +252,7 @@ msgstr ""
249
252
"イン化が無効になり、 Python のデータ構造が改善されても安定した動作が可能にな"
250
253
"りますが、性能が低下する可能性があります。"
251
254
252
- #: ../../c-api/stable.rst:122
255
+ #: ../../c-api/stable.rst:135
253
256
msgid ""
254
257
"By leaving out the ``Py_LIMITED_API`` definition, it is possible to compile "
255
258
"a Limited API extension with a version-specific ABI. This can improve "
@@ -265,23 +268,19 @@ msgstr ""
265
268
"きない場合、例えば、次期 Python バージョンのプレリリースに対応した拡張モ"
266
269
"ジュールを配布することができるようになります。"
267
270
268
- #: ../../c-api/stable.rst:131
271
+ #: ../../c-api/stable.rst:144
269
272
msgid "Limited API Caveats"
270
273
msgstr "制限付きAPIの注意点"
271
274
272
- #: ../../c-api/stable.rst:133
275
+ #: ../../c-api/stable.rst:146
273
276
msgid ""
274
277
"Note that compiling with ``Py_LIMITED_API`` is *not* a complete guarantee "
275
- "that code conforms to the Limited API or the Stable ABI. ``Py_LIMITED_API`` "
276
- "only covers definitions, but an API also includes other issues, such as "
277
- "expected semantics."
278
+ "that code conforms to the :ref:` Limited API <limited-c-api>` or the :ref: "
279
+ "`Stable ABI <stable-abi>`. ``Py_LIMITED_API`` only covers definitions, but "
280
+ "an API also includes other issues, such as expected semantics."
278
281
msgstr ""
279
- "``Py_LIMITED_API`` でコンパイルすることは、 Limited API や Stable ABI に準拠"
280
- "したコードであることを完全に保証するものではないことに注意してください。"
281
- "``Py_LIMITED_API`` は定義だけをカバーしていますが、 API には期待されるセマン"
282
- "ティクスのような他の課題も含まれています。"
283
282
284
- #: ../../c-api/stable.rst:138
283
+ #: ../../c-api/stable.rst:151
285
284
msgid ""
286
285
"One issue that ``Py_LIMITED_API`` does not guard against is calling a "
287
286
"function with arguments that are invalid in a lower Python version. For "
@@ -296,15 +295,15 @@ msgstr ""
296
295
"Python 3.8 ではこの引数は直接使用され、 ``NULL`` の参照外れを起こしクラッシュ"
297
296
"します。同様の引数は、構造体のフィールドに対しても機能します。"
298
297
299
- #: ../../c-api/stable.rst:145
298
+ #: ../../c-api/stable.rst:158
300
299
msgid ""
301
300
"Another issue is that some struct fields are currently not hidden when "
302
301
"``Py_LIMITED_API`` is defined, even though they're part of the Limited API."
303
302
msgstr ""
304
303
"もう一つの問題は、一部の構造体フィールドがLimited APIの一部であるにもかかわら"
305
304
"ず、 ``Py_LIMITED_API`` が定義されたときに現在非表示になっていないことです。"
306
305
307
- #: ../../c-api/stable.rst:148
306
+ #: ../../c-api/stable.rst:161
308
307
msgid ""
309
308
"For these reasons, we recommend testing an extension with *all* minor Python "
310
309
"versions it supports, and preferably to build with the *lowest* such version."
@@ -313,7 +312,7 @@ msgstr ""
313
312
"Python バージョンでテストすること、そしてできれば *最も低い* バージョンでビル"
314
313
"ドすることを推奨します。"
315
314
316
- #: ../../c-api/stable.rst:151
315
+ #: ../../c-api/stable.rst:164
317
316
msgid ""
318
317
"We also recommend reviewing documentation of all used API to check if it is "
319
318
"explicitly part of the Limited API. Even with ``Py_LIMITED_API`` defined, a "
@@ -325,7 +324,7 @@ msgstr ""
325
324
"が定義されていても、技術的な理由で(あるいはバグとして意図せず)いくつかのプラ"
326
325
"イベート宣言が公開されることがあります。"
327
326
328
- #: ../../c-api/stable.rst:156
327
+ #: ../../c-api/stable.rst:169
329
328
msgid ""
330
329
"Also note that the Limited API is not necessarily stable: compiling with "
331
330
"``Py_LIMITED_API`` with Python 3.8 means that the extension will run with "
@@ -338,23 +337,19 @@ msgstr ""
338
337
"らないことに注意してください。特に、Limited API の一部は、 Stable ABI が安定"
339
338
"している限り、非推奨で削除されるかもしれません。"
340
339
341
- #: ../../c-api/stable.rst:166
340
+ #: ../../c-api/stable.rst:179
342
341
msgid "Platform Considerations"
343
342
msgstr "プラットフォームで考慮すべき点"
344
343
345
- #: ../../c-api/stable.rst:168
344
+ #: ../../c-api/stable.rst:181
346
345
msgid ""
347
346
"ABI stability depends not only on Python, but also on the compiler used, "
348
- "lower-level libraries and compiler options. For the purposes of the Stable "
349
- "ABI, these details define a “platform”. They usually depend on the OS type "
350
- "and processor architecture"
347
+ "lower-level libraries and compiler options. For the purposes of the :ref: "
348
+ "`Stable ABI <stable-abi>` , these details define a “platform”. They usually "
349
+ "depend on the OS type and processor architecture"
351
350
msgstr ""
352
- "ABI の安定性は Python だけでなく、使用するコンパイラ、低レベルのライブラリ、"
353
- "コンパイラのオプションにも依存します。安定した ABI の目的では、これらの詳細が"
354
- "「プラットフォーム」を定義します。通常、 OS の種類とプロセッサのアーキテク"
355
- "チャに依存します。"
356
351
357
- #: ../../c-api/stable.rst:173
352
+ #: ../../c-api/stable.rst:186
358
353
msgid ""
359
354
"It is the responsibility of each particular distributor of Python to ensure "
360
355
"that all Python versions on a particular platform are built in a way that "
@@ -366,13 +361,15 @@ msgstr ""
366
361
"これは ``python.org`` や多くのサードパーティーの配布元からの Windows と "
367
362
"macOS のリリースの場合です。"
368
363
369
- #: ../../c-api/stable.rst:183
364
+ #: ../../c-api/stable.rst:196
370
365
msgid "Contents of Limited API"
371
366
msgstr "限定版APIの内容"
372
367
373
- #: ../../c-api/stable.rst:186
374
- msgid "Currently, the Limited API includes the following items:"
375
- msgstr "現在、Limited APIには以下の項目が含まれています::"
368
+ #: ../../c-api/stable.rst:199
369
+ msgid ""
370
+ "Currently, the :ref:`Limited API <limited-c-api>` includes the following "
371
+ "items:"
372
+ msgstr ""
376
373
377
374
#: ../../c-api/stable.rst:42
378
375
msgid "PyUnstable"
0 commit comments