Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit88a9337

Browse files
Deploy preview for PR 1148 🛫
1 parentb19cbe6 commit88a9337

File tree

574 files changed

+4668
-4628
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

574 files changed

+4668
-4628
lines changed

‎pr-preview/pr-1148/_sources/c-api/init.rst.txt‎

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1278,7 +1278,7 @@ code, or when embedding the Python interpreter:
12781278
This function is safe to call without an :term:`attached thread state`; it
12791279
will simply return ``NULL`` indicating that there was no prior thread state.
12801280
1281-
.. seealso:
1281+
.. seealso::
12821282
:c:func:`PyEval_ReleaseThread`
12831283
12841284
.. note::
@@ -1289,6 +1289,19 @@ code, or when embedding the Python interpreter:
12891289
The following functions use thread-local storage, and are not compatible
12901290
with sub-interpreters:
12911291
1292+
.. c:type:: PyGILState_STATE
1293+
1294+
The type of the value returned by :c:func:`PyGILState_Ensure` and passed to
1295+
:c:func:`PyGILState_Release`.
1296+
1297+
.. c:enumerator:: PyGILState_LOCKED
1298+
1299+
The GIL was already held when :c:func:`PyGILState_Ensure` was called.
1300+
1301+
.. c:enumerator:: PyGILState_UNLOCKED
1302+
1303+
The GIL was not held when :c:func:`PyGILState_Ensure` was called.
1304+
12921305
.. c:function:: PyGILState_STATE PyGILState_Ensure()
12931306
12941307
Ensure that the current thread is ready to call the Python C API regardless
@@ -1339,12 +1352,12 @@ with sub-interpreters:
13391352
made on the main thread. This is mainly a helper/diagnostic function.
13401353
13411354
.. note::
1342-
This functiondoes not account for:term:`threadstates <threadstate>` created
1343-
by something other than :c:func:`PyGILState_Ensure` (such as :c:func:`PyThreadState_New`).
1355+
This functionmay return non-``NULL`` even when the:term:`thread state`
1356+
is detached.
13441357
Prefer :c:func:`PyThreadState_Get` or :c:func:`PyThreadState_GetUnchecked`
13451358
for most cases.
13461359
1347-
.. seealso: :c:func:`PyThreadState_Get``
1360+
.. seealso:: :c:func:`PyThreadState_Get`
13481361
13491362
.. c:function:: int PyGILState_Check()
13501363
@@ -1443,11 +1456,11 @@ All of the following functions must be called after :c:func:`Py_Initialize`.
14431456
must be :term:`attached <attached thread state>`
14441457
14451458
.. versionchanged:: 3.9
1446-
This function now calls the :c:member:`PyThreadState.on_delete` callback.
1459+
This function now calls the :c:member:`!PyThreadState.on_delete` callback.
14471460
Previously, that happened in :c:func:`PyThreadState_Delete`.
14481461
14491462
.. versionchanged:: 3.13
1450-
The :c:member:`PyThreadState.on_delete` callback was removed.
1463+
The :c:member:`!PyThreadState.on_delete` callback was removed.
14511464
14521465
14531466
.. c:function:: void PyThreadState_Delete(PyThreadState *tstate)

‎pr-preview/pr-1148/_sources/library/crypt.rst.txt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ being deprecated in Python 3.11. The removal was decided in :pep:`594`.
1313

1414
Applications can use the:mod:`hashlib` module from the standard library.
1515
Other possible replacements are third-party libraries from PyPI:
16-
:pypi:`legacycrypt`,:pypi:`bcrypt`,:pypi:`argon2-cffi`, or:pypi:`passlib`.
16+
:pypi:`legacycrypt`,:pypi:`bcrypt`,or:pypi:`argon2-cffi`.
1717
These are not supported or maintained by the Python core team.
1818

1919
The last version of Python that provided the:mod:`!crypt` module was

‎pr-preview/pr-1148/_sources/library/typing.rst.txt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2269,7 +2269,7 @@ without the dedicated syntax, as documented below.
22692269

22702270
..attribute::__module__
22712271

2272-
The module in which the type alias was defined::
2272+
Thename of themodule in which the type alias was defined::
22732273

22742274
>>> type Alias = int
22752275
>>> Alias.__module__
@@ -2462,7 +2462,7 @@ types.
24622462

24632463
..attribute::__module__
24642464

2465-
The module in which the new type is defined.
2465+
Thename of themodule in which the new type is defined.
24662466

24672467
..attribute::__name__
24682468

‎pr-preview/pr-1148/_sources/whatsnew/3.13.rst.txt‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,8 +1569,6 @@ and are now removed:
15691569

15701570
*:pypi:`bcrypt`:
15711571
Modern password hashing for your software and your servers.
1572-
*:pypi:`passlib`:
1573-
Comprehensive password hashing framework supporting over 30 schemes.
15741572
*:pypi:`argon2-cffi`:
15751573
The secure Argon2 password hashing algorithm.
15761574
*:pypi:`legacycrypt`:

‎pr-preview/pr-1148/about.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ <h3>導航</h3>
314314
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
315315
<br>
316316
<br>
317-
最後更新於 10月09, 2025 (00:20 UTC)。
317+
最後更新於 10月10, 2025 (00:20 UTC)。
318318

319319
<ahref="/bugs.html">發現 bug</a>
320320

‎pr-preview/pr-1148/bugs.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ <h2>說明文件的錯誤<a class="headerlink" href="#documentation-bugs" title=
230230
</section>
231231
<sectionid="getting-started-contributing-to-python-yourself">
232232
<spanid="contributing-to-python"></span><h2>開始讓自己貢獻 Python<aclass="headerlink"href="#getting-started-contributing-to-python-yourself"title="連結到這個標頭"></a></h2>
233-
<p>除了只是回報你所發現的錯誤之外,同樣也歡迎你提交修正它們的修補程式 (patch)。你可以在<aclass="reference external"href="https://mail.python.org/mailman3/lists/core-mentorship.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果你有任何問題,<aclass="reference external"href="https://devguide.python.org/">核心導師郵寄清單</a>是一個友善的地方,你可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
233+
<p>除了只是回報你所發現的錯誤之外,同樣也歡迎你提交修正它們的修補程式 (patch)。你可以在<aclass="reference external"href="https://devguide.python.org/">Python 開發者指南</a>中找到如何開始修補 Python 的更多資訊。如果你有任何問題,<aclass="reference external"href="https://mail.python.org/mailman3/lists/core-mentorship.python.org/">核心導師郵寄清單</a>是一個友善的地方,你可以在那裡得到,關於 Python 修正錯誤的過程中,所有問題的答案。</p>
234234
</section>
235235
</section>
236236

@@ -352,7 +352,7 @@ <h3>導航</h3>
352352
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
353353
<br>
354354
<br>
355-
最後更新於 10月09, 2025 (00:20 UTC)。
355+
最後更新於 10月10, 2025 (00:20 UTC)。
356356

357357
<ahref="/bugs.html">發現 bug</a>
358358

‎pr-preview/pr-1148/c-api/abstract.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ <h3>導航</h3>
323323
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
324324
<br>
325325
<br>
326-
最後更新於 10月09, 2025 (00:20 UTC)。
326+
最後更新於 10月10, 2025 (00:20 UTC)。
327327

328328
<ahref="/bugs.html">發現 bug</a>
329329

‎pr-preview/pr-1148/c-api/allocation.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ <h3>導航</h3>
432432
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
433433
<br>
434434
<br>
435-
最後更新於 10月09, 2025 (00:20 UTC)。
435+
最後更新於 10月10, 2025 (00:20 UTC)。
436436

437437
<ahref="/bugs.html">發現 bug</a>
438438

‎pr-preview/pr-1148/c-api/apiabiversion.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ <h3>導航</h3>
471471
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
472472
<br>
473473
<br>
474-
最後更新於 10月09, 2025 (00:20 UTC)。
474+
最後更新於 10月10, 2025 (00:20 UTC)。
475475

476476
<ahref="/bugs.html">發現 bug</a>
477477

‎pr-preview/pr-1148/c-api/arg.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ <h3>導航</h3>
954954
<ahref="https://www.python.org/psf/donations/">敬請捐贈。</a>
955955
<br>
956956
<br>
957-
最後更新於 10月09, 2025 (00:20 UTC)。
957+
最後更新於 10月10, 2025 (00:20 UTC)。
958958

959959
<ahref="/bugs.html">發現 bug</a>
960960

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp