@@ -15,7 +15,7 @@ msgid ""
15
15
msgstr ""
16
16
"Project-Id-Version : Python 3.7\n "
17
17
"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 "
19
19
"PO-Revision-Date : 2017-02-16 17:36+0000\n "
20
20
"Last-Translator : tomo, 2019\n "
21
21
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -2012,32 +2012,36 @@ msgid ""
2012
2012
msgstr "インタプリタ状態オブジェクトからなるリストのうち、先頭にあるものを返します。"
2013
2013
2014
2014
#: ../../c-api/init.rst:1388
2015
+ msgid "Return the main interpreter state object."
2016
+ msgstr ""
2017
+
2018
+ #: ../../c-api/init.rst:1393
2015
2019
msgid ""
2016
2020
"Return the next interpreter state object after *interp* from the list of all"
2017
2021
" such objects."
2018
2022
msgstr "インタプリタ状態オブジェクトからなるリストのうち、*interp* の次にあるものを返します。"
2019
2023
2020
- #: ../../c-api/init.rst:1394
2024
+ #: ../../c-api/init.rst:1399
2021
2025
msgid ""
2022
2026
"Return the pointer to the first :c:type:`PyThreadState` object in the list "
2023
2027
"of threads associated with the interpreter *interp*."
2024
2028
msgstr ""
2025
2029
"インタプリタ *interp* に関連付けられているスレッドからなるリストのうち、先頭にある :c:type:`PyThreadState` "
2026
2030
"オブジェクトを返します。"
2027
2031
2028
- #: ../../c-api/init.rst:1400
2032
+ #: ../../c-api/init.rst:1405
2029
2033
msgid ""
2030
2034
"Return the next thread state object after *tstate* from the list of all such"
2031
2035
" objects belonging to the same :c:type:`PyInterpreterState` object."
2032
2036
msgstr ""
2033
2037
"*tstate* と同じ :c:type:`PyInterpreterState` オブジェクトに属しているスレッド状態オブジェクトのうち、 "
2034
2038
"*tstate* の次にあるものを返します。"
2035
2039
2036
- #: ../../c-api/init.rst:1407
2040
+ #: ../../c-api/init.rst:1412
2037
2041
msgid "Thread Local Storage Support"
2038
2042
msgstr "スレッドローカルストレージのサポート"
2039
2043
2040
- #: ../../c-api/init.rst:1411
2044
+ #: ../../c-api/init.rst:1416
2041
2045
msgid ""
2042
2046
"The Python interpreter provides low-level support for thread-local storage "
2043
2047
"(TLS) which wraps the underlying native TLS implementation to support the "
@@ -2049,21 +2053,21 @@ msgstr ""
2049
2053
"Python インタプリタは、スレッドローカルストレージ (thread-local storage, TLS) の低レベルサポートを提供していて、ネイティブの TLS 実装を内部にラップして Python レベルのスレッドローカルストレージ API (:class:`threading.local`) をサポートしています。\n"
2050
2054
"CPython の C レベル API は pthreads や Windows で与えられる TLS と同様です: スレッドキーとスレッドごとに :c:type:`void\\ *` 値を関係付ける関数を使います。"
2051
2055
2052
- #: ../../c-api/init.rst:1418
2056
+ #: ../../c-api/init.rst:1423
2053
2057
msgid ""
2054
2058
"The GIL does *not* need to be held when calling these functions; they supply"
2055
2059
" their own locking."
2056
2060
msgstr "API で使われる関数を呼ぶときは、 GIL を取得する必要は *ありません* 。関数自身のロックがサポートされています。"
2057
2061
2058
- #: ../../c-api/init.rst:1421
2062
+ #: ../../c-api/init.rst:1426
2059
2063
msgid ""
2060
2064
"Note that :file:`Python.h` does not include the declaration of the TLS APIs,"
2061
2065
" you need to include :file:`pythread.h` to use thread-local storage."
2062
2066
msgstr ""
2063
2067
":file:`Python.h` は TLS API の宣言を include せず、スレッドローカルストレージを使うには "
2064
2068
":file:`pythread.h` を include する必要があることに注意してください。"
2065
2069
2066
- #: ../../c-api/init.rst:1425
2070
+ #: ../../c-api/init.rst:1430
2067
2071
msgid ""
2068
2072
"None of these API functions handle memory management on behalf of the "
2069
2073
":c:type:`void\\ *` values. You need to allocate and deallocate them "
@@ -2075,11 +2079,11 @@ msgstr ""
2075
2079
"メモリの確保と解放は自前で行う必要があります。\n"
2076
2080
":c:type:`void\\ *` 値がたまたま :c:type:`PyObject\\ *` だった場合は、 API 関数はそれぞれの値の参照カウントの操作は行いません。"
2077
2081
2078
- #: ../../c-api/init.rst:1433
2082
+ #: ../../c-api/init.rst:1438
2079
2083
msgid "Thread Specific Storage (TSS) API"
2080
2084
msgstr "スレッド固有ストレージ (Thread Specific Storage, TSS) API"
2081
2085
2082
- #: ../../c-api/init.rst:1435
2086
+ #: ../../c-api/init.rst:1440
2083
2087
msgid ""
2084
2088
"TSS API is introduced to supersede the use of the existing TLS API within "
2085
2089
"the CPython interpreter. This API uses a new type :c:type:`Py_tss_t` "
@@ -2088,83 +2092,83 @@ msgstr ""
2088
2092
"TSS API は、 CPython インタプリタに含まれている既存の TLS API を置き換えるために導入されました。\n"
2089
2093
"この API は、スレッドキーの表現に :c:type:`int` の代わりに新しい型 :c:type:`Py_tss_t` を使います。"
2090
2094
2091
- #: ../../c-api/init.rst:1441
2095
+ #: ../../c-api/init.rst:1446
2092
2096
msgid "\" A New C-API for Thread-Local Storage in CPython\" (:pep:`539`)"
2093
2097
msgstr "\" CPython のスレッドローカルストレージのための新しい C API\" (:pep:`539`)"
2094
2098
2095
- #: ../../c-api/init.rst:1446
2099
+ #: ../../c-api/init.rst:1451
2096
2100
msgid ""
2097
2101
"This data structure represents the state of a thread key, the definition of "
2098
2102
"which may depend on the underlying TLS implementation, and it has an "
2099
2103
"internal field representing the key's initialization state. There are no "
2100
2104
"public members in this structure."
2101
2105
msgstr ""
2102
2106
2103
- #: ../../c-api/init.rst:1451
2107
+ #: ../../c-api/init.rst:1456
2104
2108
msgid ""
2105
2109
"When :ref:`Py_LIMITED_API <stable>` is not defined, static allocation of "
2106
2110
"this type by :c:macro:`Py_tss_NEEDS_INIT` is allowed."
2107
2111
msgstr ""
2108
2112
":ref:`Py_LIMITED_API <stable>` が定義されていないときは、この型の "
2109
2113
":c:macro:`Py_tss_NEEDS_INIT` による静的メモリ確保ができます。"
2110
2114
2111
- #: ../../c-api/init.rst:1457
2115
+ #: ../../c-api/init.rst:1462
2112
2116
msgid ""
2113
2117
"This macro expands to the initializer for :c:type:`Py_tss_t` variables. Note"
2114
2118
" that this macro won't be defined with :ref:`Py_LIMITED_API <stable>`."
2115
2119
msgstr ""
2116
2120
"このマクロは :c:type:`Py_tss_t` 変数の初期化子に展開されます。\n"
2117
2121
"このマクロは :ref:`Py_LIMITED_API <stable>` があるときは定義されません。"
2118
2122
2119
- #: ../../c-api/init.rst:1462
2123
+ #: ../../c-api/init.rst:1467
2120
2124
msgid "Dynamic Allocation"
2121
2125
msgstr "動的メモリ確保"
2122
2126
2123
- #: ../../c-api/init.rst:1464
2127
+ #: ../../c-api/init.rst:1469
2124
2128
msgid ""
2125
2129
"Dynamic allocation of the :c:type:`Py_tss_t`, required in extension modules "
2126
2130
"built with :ref:`Py_LIMITED_API <stable>`, where static allocation of this "
2127
2131
"type is not possible due to its implementation being opaque at build time."
2128
2132
msgstr ""
2129
2133
2130
- #: ../../c-api/init.rst:1471
2134
+ #: ../../c-api/init.rst:1476
2131
2135
msgid ""
2132
2136
"Return a value which is the same state as a value initialized with "
2133
2137
":c:macro:`Py_tss_NEEDS_INIT`, or *NULL* in the case of dynamic allocation "
2134
2138
"failure."
2135
2139
msgstr ""
2136
2140
2137
- #: ../../c-api/init.rst:1478
2141
+ #: ../../c-api/init.rst:1483
2138
2142
msgid ""
2139
2143
"Free the given *key* allocated by :c:func:`PyThread_tss_alloc`, after first "
2140
2144
"calling :c:func:`PyThread_tss_delete` to ensure any associated thread locals"
2141
2145
" have been unassigned. This is a no-op if the *key* argument is `NULL`."
2142
2146
msgstr ""
2143
2147
2144
- #: ../../c-api/init.rst:1484
2148
+ #: ../../c-api/init.rst:1489
2145
2149
msgid ""
2146
2150
"A freed key becomes a dangling pointer, you should reset the key to `NULL`."
2147
2151
msgstr ""
2148
2152
2149
- #: ../../c-api/init.rst:1489
2153
+ #: ../../c-api/init.rst:1494
2150
2154
msgid "Methods"
2151
2155
msgstr "メソッド"
2152
2156
2153
- #: ../../c-api/init.rst:1491
2157
+ #: ../../c-api/init.rst:1496
2154
2158
msgid ""
2155
2159
"The parameter *key* of these functions must not be *NULL*. Moreover, the "
2156
2160
"behaviors of :c:func:`PyThread_tss_set` and :c:func:`PyThread_tss_get` are "
2157
2161
"undefined if the given :c:type:`Py_tss_t` has not been initialized by "
2158
2162
":c:func:`PyThread_tss_create`."
2159
2163
msgstr ""
2160
2164
2161
- #: ../../c-api/init.rst:1499
2165
+ #: ../../c-api/init.rst:1504
2162
2166
msgid ""
2163
2167
"Return a non-zero value if the given :c:type:`Py_tss_t` has been initialized"
2164
2168
" by :c:func:`PyThread_tss_create`."
2165
2169
msgstr ""
2166
2170
2167
- #: ../../c-api/init.rst:1505
2171
+ #: ../../c-api/init.rst:1510
2168
2172
msgid ""
2169
2173
"Return a zero value on successful initialization of a TSS key. The behavior"
2170
2174
" is undefined if the value pointed to by the *key* argument is not "
@@ -2173,7 +2177,7 @@ msgid ""
2173
2177
"no-op and immediately returns success."
2174
2178
msgstr ""
2175
2179
2176
- #: ../../c-api/init.rst:1514
2180
+ #: ../../c-api/init.rst:1519
2177
2181
msgid ""
2178
2182
"Destroy a TSS key to forget the values associated with the key across all "
2179
2183
"threads, and change the key's initialization state to uninitialized. A "
@@ -2182,31 +2186,31 @@ msgid ""
2182
2186
" same key -- calling it on an already destroyed key is a no-op."
2183
2187
msgstr ""
2184
2188
2185
- #: ../../c-api/init.rst:1523
2189
+ #: ../../c-api/init.rst:1528
2186
2190
msgid ""
2187
2191
"Return a zero value to indicate successfully associating a :c:type:`void\\ *`"
2188
2192
" value with a TSS key in the current thread. Each thread has a distinct "
2189
2193
"mapping of the key to a :c:type:`void\\ *` value."
2190
2194
msgstr ""
2191
2195
2192
- #: ../../c-api/init.rst:1530
2196
+ #: ../../c-api/init.rst:1535
2193
2197
msgid ""
2194
2198
"Return the :c:type:`void\\ *` value associated with a TSS key in the current "
2195
2199
"thread. This returns *NULL* if no value is associated with the key in the "
2196
2200
"current thread."
2197
2201
msgstr ""
2198
2202
2199
- #: ../../c-api/init.rst:1538
2203
+ #: ../../c-api/init.rst:1543
2200
2204
msgid "Thread Local Storage (TLS) API"
2201
2205
msgstr "スレッドローカルストレージ (TLS) API"
2202
2206
2203
- #: ../../c-api/init.rst:1540
2207
+ #: ../../c-api/init.rst:1545
2204
2208
msgid ""
2205
2209
"This API is superseded by :ref:`Thread Specific Storage (TSS) API <thread-"
2206
2210
"specific-storage-api>`."
2207
2211
msgstr ""
2208
2212
2209
- #: ../../c-api/init.rst:1545
2213
+ #: ../../c-api/init.rst:1550
2210
2214
msgid ""
2211
2215
"This version of the API does not support platforms where the native TLS key "
2212
2216
"is defined in a way that cannot be safely cast to ``int``. On such "
@@ -2215,7 +2219,7 @@ msgid ""
2215
2219
"platforms."
2216
2220
msgstr ""
2217
2221
2218
- #: ../../c-api/init.rst:1550
2222
+ #: ../../c-api/init.rst:1555
2219
2223
msgid ""
2220
2224
"Due to the compatibility problem noted above, this version of the API should"
2221
2225
" not be used in new code."
0 commit comments