Skip to content

Commit ba4cc2c

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent b02686b commit ba4cc2c

File tree

3 files changed

+4075
-4042
lines changed

3 files changed

+4075
-4042
lines changed

c-api/init.po

Lines changed: 34 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ msgid ""
1515
msgstr ""
1616
"Project-Id-Version: Python 3.7\n"
1717
"Report-Msgid-Bugs-To: \n"
18-
"POT-Creation-Date: 2019-03-31 11:01+0900\n"
18+
"POT-Creation-Date: 2019-04-02 11:41+0900\n"
1919
"PO-Revision-Date: 2017-02-16 17:36+0000\n"
2020
"Last-Translator: tomo, 2019\n"
2121
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -2012,32 +2012,36 @@ msgid ""
20122012
msgstr "インタプリタ状態オブジェクトからなるリストのうち、先頭にあるものを返します。"
20132013

20142014
#: ../../c-api/init.rst:1388
2015+
msgid "Return the main interpreter state object."
2016+
msgstr ""
2017+
2018+
#: ../../c-api/init.rst:1393
20152019
msgid ""
20162020
"Return the next interpreter state object after *interp* from the list of all"
20172021
" such objects."
20182022
msgstr "インタプリタ状態オブジェクトからなるリストのうち、*interp* の次にあるものを返します。"
20192023

2020-
#: ../../c-api/init.rst:1394
2024+
#: ../../c-api/init.rst:1399
20212025
msgid ""
20222026
"Return the pointer to the first :c:type:`PyThreadState` object in the list "
20232027
"of threads associated with the interpreter *interp*."
20242028
msgstr ""
20252029
"インタプリタ *interp* に関連付けられているスレッドからなるリストのうち、先頭にある :c:type:`PyThreadState` "
20262030
"オブジェクトを返します。"
20272031

2028-
#: ../../c-api/init.rst:1400
2032+
#: ../../c-api/init.rst:1405
20292033
msgid ""
20302034
"Return the next thread state object after *tstate* from the list of all such"
20312035
" objects belonging to the same :c:type:`PyInterpreterState` object."
20322036
msgstr ""
20332037
"*tstate* と同じ :c:type:`PyInterpreterState` オブジェクトに属しているスレッド状態オブジェクトのうち、 "
20342038
"*tstate* の次にあるものを返します。"
20352039

2036-
#: ../../c-api/init.rst:1407
2040+
#: ../../c-api/init.rst:1412
20372041
msgid "Thread Local Storage Support"
20382042
msgstr "スレッドローカルストレージのサポート"
20392043

2040-
#: ../../c-api/init.rst:1411
2044+
#: ../../c-api/init.rst:1416
20412045
msgid ""
20422046
"The Python interpreter provides low-level support for thread-local storage "
20432047
"(TLS) which wraps the underlying native TLS implementation to support the "
@@ -2049,21 +2053,21 @@ msgstr ""
20492053
"Python インタプリタは、スレッドローカルストレージ (thread-local storage, TLS) の低レベルサポートを提供していて、ネイティブの TLS 実装を内部にラップして Python レベルのスレッドローカルストレージ API (:class:`threading.local`) をサポートしています。\n"
20502054
"CPython の C レベル API は pthreads や Windows で与えられる TLS と同様です: スレッドキーとスレッドごとに :c:type:`void\\*` 値を関係付ける関数を使います。"
20512055

2052-
#: ../../c-api/init.rst:1418
2056+
#: ../../c-api/init.rst:1423
20532057
msgid ""
20542058
"The GIL does *not* need to be held when calling these functions; they supply"
20552059
" their own locking."
20562060
msgstr "API で使われる関数を呼ぶときは、 GIL を取得する必要は *ありません* 。関数自身のロックがサポートされています。"
20572061

2058-
#: ../../c-api/init.rst:1421
2062+
#: ../../c-api/init.rst:1426
20592063
msgid ""
20602064
"Note that :file:`Python.h` does not include the declaration of the TLS APIs,"
20612065
" you need to include :file:`pythread.h` to use thread-local storage."
20622066
msgstr ""
20632067
":file:`Python.h` は TLS API の宣言を include せず、スレッドローカルストレージを使うには "
20642068
":file:`pythread.h` を include する必要があることに注意してください。"
20652069

2066-
#: ../../c-api/init.rst:1425
2070+
#: ../../c-api/init.rst:1430
20672071
msgid ""
20682072
"None of these API functions handle memory management on behalf of the "
20692073
":c:type:`void\\*` values. You need to allocate and deallocate them "
@@ -2075,11 +2079,11 @@ msgstr ""
20752079
"メモリの確保と解放は自前で行う必要があります。\n"
20762080
":c:type:`void\\*` 値がたまたま :c:type:`PyObject\\*` だった場合は、 API 関数はそれぞれの値の参照カウントの操作は行いません。"
20772081

2078-
#: ../../c-api/init.rst:1433
2082+
#: ../../c-api/init.rst:1438
20792083
msgid "Thread Specific Storage (TSS) API"
20802084
msgstr "スレッド固有ストレージ (Thread Specific Storage, TSS) API"
20812085

2082-
#: ../../c-api/init.rst:1435
2086+
#: ../../c-api/init.rst:1440
20832087
msgid ""
20842088
"TSS API is introduced to supersede the use of the existing TLS API within "
20852089
"the CPython interpreter. This API uses a new type :c:type:`Py_tss_t` "
@@ -2088,83 +2092,83 @@ msgstr ""
20882092
"TSS API は、 CPython インタプリタに含まれている既存の TLS API を置き換えるために導入されました。\n"
20892093
"この API は、スレッドキーの表現に :c:type:`int` の代わりに新しい型 :c:type:`Py_tss_t` を使います。"
20902094

2091-
#: ../../c-api/init.rst:1441
2095+
#: ../../c-api/init.rst:1446
20922096
msgid "\"A New C-API for Thread-Local Storage in CPython\" (:pep:`539`)"
20932097
msgstr "\"CPython のスレッドローカルストレージのための新しい C API\" (:pep:`539`)"
20942098

2095-
#: ../../c-api/init.rst:1446
2099+
#: ../../c-api/init.rst:1451
20962100
msgid ""
20972101
"This data structure represents the state of a thread key, the definition of "
20982102
"which may depend on the underlying TLS implementation, and it has an "
20992103
"internal field representing the key's initialization state. There are no "
21002104
"public members in this structure."
21012105
msgstr ""
21022106

2103-
#: ../../c-api/init.rst:1451
2107+
#: ../../c-api/init.rst:1456
21042108
msgid ""
21052109
"When :ref:`Py_LIMITED_API <stable>` is not defined, static allocation of "
21062110
"this type by :c:macro:`Py_tss_NEEDS_INIT` is allowed."
21072111
msgstr ""
21082112
":ref:`Py_LIMITED_API <stable>` が定義されていないときは、この型の "
21092113
":c:macro:`Py_tss_NEEDS_INIT` による静的メモリ確保ができます。"
21102114

2111-
#: ../../c-api/init.rst:1457
2115+
#: ../../c-api/init.rst:1462
21122116
msgid ""
21132117
"This macro expands to the initializer for :c:type:`Py_tss_t` variables. Note"
21142118
" that this macro won't be defined with :ref:`Py_LIMITED_API <stable>`."
21152119
msgstr ""
21162120
"このマクロは :c:type:`Py_tss_t` 変数の初期化子に展開されます。\n"
21172121
"このマクロは :ref:`Py_LIMITED_API <stable>` があるときは定義されません。"
21182122

2119-
#: ../../c-api/init.rst:1462
2123+
#: ../../c-api/init.rst:1467
21202124
msgid "Dynamic Allocation"
21212125
msgstr "動的メモリ確保"
21222126

2123-
#: ../../c-api/init.rst:1464
2127+
#: ../../c-api/init.rst:1469
21242128
msgid ""
21252129
"Dynamic allocation of the :c:type:`Py_tss_t`, required in extension modules "
21262130
"built with :ref:`Py_LIMITED_API <stable>`, where static allocation of this "
21272131
"type is not possible due to its implementation being opaque at build time."
21282132
msgstr ""
21292133

2130-
#: ../../c-api/init.rst:1471
2134+
#: ../../c-api/init.rst:1476
21312135
msgid ""
21322136
"Return a value which is the same state as a value initialized with "
21332137
":c:macro:`Py_tss_NEEDS_INIT`, or *NULL* in the case of dynamic allocation "
21342138
"failure."
21352139
msgstr ""
21362140

2137-
#: ../../c-api/init.rst:1478
2141+
#: ../../c-api/init.rst:1483
21382142
msgid ""
21392143
"Free the given *key* allocated by :c:func:`PyThread_tss_alloc`, after first "
21402144
"calling :c:func:`PyThread_tss_delete` to ensure any associated thread locals"
21412145
" have been unassigned. This is a no-op if the *key* argument is `NULL`."
21422146
msgstr ""
21432147

2144-
#: ../../c-api/init.rst:1484
2148+
#: ../../c-api/init.rst:1489
21452149
msgid ""
21462150
"A freed key becomes a dangling pointer, you should reset the key to `NULL`."
21472151
msgstr ""
21482152

2149-
#: ../../c-api/init.rst:1489
2153+
#: ../../c-api/init.rst:1494
21502154
msgid "Methods"
21512155
msgstr "メソッド"
21522156

2153-
#: ../../c-api/init.rst:1491
2157+
#: ../../c-api/init.rst:1496
21542158
msgid ""
21552159
"The parameter *key* of these functions must not be *NULL*. Moreover, the "
21562160
"behaviors of :c:func:`PyThread_tss_set` and :c:func:`PyThread_tss_get` are "
21572161
"undefined if the given :c:type:`Py_tss_t` has not been initialized by "
21582162
":c:func:`PyThread_tss_create`."
21592163
msgstr ""
21602164

2161-
#: ../../c-api/init.rst:1499
2165+
#: ../../c-api/init.rst:1504
21622166
msgid ""
21632167
"Return a non-zero value if the given :c:type:`Py_tss_t` has been initialized"
21642168
" by :c:func:`PyThread_tss_create`."
21652169
msgstr ""
21662170

2167-
#: ../../c-api/init.rst:1505
2171+
#: ../../c-api/init.rst:1510
21682172
msgid ""
21692173
"Return a zero value on successful initialization of a TSS key. The behavior"
21702174
" is undefined if the value pointed to by the *key* argument is not "
@@ -2173,7 +2177,7 @@ msgid ""
21732177
"no-op and immediately returns success."
21742178
msgstr ""
21752179

2176-
#: ../../c-api/init.rst:1514
2180+
#: ../../c-api/init.rst:1519
21772181
msgid ""
21782182
"Destroy a TSS key to forget the values associated with the key across all "
21792183
"threads, and change the key's initialization state to uninitialized. A "
@@ -2182,31 +2186,31 @@ msgid ""
21822186
" same key -- calling it on an already destroyed key is a no-op."
21832187
msgstr ""
21842188

2185-
#: ../../c-api/init.rst:1523
2189+
#: ../../c-api/init.rst:1528
21862190
msgid ""
21872191
"Return a zero value to indicate successfully associating a :c:type:`void\\*`"
21882192
" value with a TSS key in the current thread. Each thread has a distinct "
21892193
"mapping of the key to a :c:type:`void\\*` value."
21902194
msgstr ""
21912195

2192-
#: ../../c-api/init.rst:1530
2196+
#: ../../c-api/init.rst:1535
21932197
msgid ""
21942198
"Return the :c:type:`void\\*` value associated with a TSS key in the current "
21952199
"thread. This returns *NULL* if no value is associated with the key in the "
21962200
"current thread."
21972201
msgstr ""
21982202

2199-
#: ../../c-api/init.rst:1538
2203+
#: ../../c-api/init.rst:1543
22002204
msgid "Thread Local Storage (TLS) API"
22012205
msgstr "スレッドローカルストレージ (TLS) API"
22022206

2203-
#: ../../c-api/init.rst:1540
2207+
#: ../../c-api/init.rst:1545
22042208
msgid ""
22052209
"This API is superseded by :ref:`Thread Specific Storage (TSS) API <thread-"
22062210
"specific-storage-api>`."
22072211
msgstr ""
22082212

2209-
#: ../../c-api/init.rst:1545
2213+
#: ../../c-api/init.rst:1550
22102214
msgid ""
22112215
"This version of the API does not support platforms where the native TLS key "
22122216
"is defined in a way that cannot be safely cast to ``int``. On such "
@@ -2215,7 +2219,7 @@ msgid ""
22152219
"platforms."
22162220
msgstr ""
22172221

2218-
#: ../../c-api/init.rst:1550
2222+
#: ../../c-api/init.rst:1555
22192223
msgid ""
22202224
"Due to the compatibility problem noted above, this version of the API should"
22212225
" not be used in new code."

0 commit comments

Comments
 (0)