Skip to content

Commit b80610f

Browse files
committed
Deploying to gh-pages from @ 84b5dc2 🚀
1 parent 942b341 commit b80610f

File tree

574 files changed

+809
-970
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

+809
-970
lines changed

_sources/c-api/sys.rst.txt

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,24 @@ Operating System Utilities
123123
This is a thin wrapper around either :c:func:`!sigaction` or :c:func:`!signal`. Do
124124
not call those functions directly!
125125
126+
127+
.. c:function:: int PyOS_InterruptOccurred(void)
128+
129+
Check if a :c:macro:`!SIGINT` signal has been received.
130+
131+
Returns ``1`` if a :c:macro:`!SIGINT` has occurred and clears the signal flag,
132+
or ``0`` otherwise.
133+
134+
In most cases, you should prefer :c:func:`PyErr_CheckSignals` over this function.
135+
:c:func:`!PyErr_CheckSignals` invokes the appropriate signal handlers
136+
for all pending signals, allowing Python code to handle the signal properly.
137+
This function only detects :c:macro:`!SIGINT` and does not invoke any Python
138+
signal handlers.
139+
140+
This function is async-signal-safe and this function cannot fail.
141+
The caller must hold an :term:`attached thread state`.
142+
143+
126144
.. c:function:: wchar_t* Py_DecodeLocale(const char* arg, size_t *size)
127145
128146
.. warning::

_sources/deprecations/pending-removal-in-3.13.rst.txt

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,3 @@ APIs:
3838
* :meth:`!unittest.TestProgram.usageExit` (:gh:`67048`)
3939
* :class:`!webbrowser.MacOSX` (:gh:`86421`)
4040
* :class:`classmethod` descriptor chaining (:gh:`89519`)
41-
* :mod:`importlib.resources` deprecated methods:
42-
43-
* ``contents()``
44-
* ``is_resource()``
45-
* ``open_binary()``
46-
* ``open_text()``
47-
* ``path()``
48-
* ``read_binary()``
49-
* ``read_text()``
50-
51-
Use :func:`importlib.resources.files` instead. Refer to `importlib-resources: Migrating from Legacy
52-
<https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy>`_ (:gh:`106531`)

_sources/using/windows.rst.txt

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44

55
.. _Microsoft Store app: https://apps.microsoft.com/detail/9NQ7512CXL7T
66

7+
.. _legacy launcher: https://www.python.org/ftp/python/3.14.0/win32/launcher.msi
8+
79
.. _using-on-windows:
810

911
*************************
@@ -543,12 +545,9 @@ configuration option.
543545
The behaviour of shebangs in the Python install manager is subtly different
544546
from the previous ``py.exe`` launcher, and the old configuration options no
545547
longer apply. If you are specifically reliant on the old behaviour or
546-
configuration, we recommend keeping the legacy launcher. It may be
547-
`downloaded independently <https://www.python.org/ftp/python/3.13.1/win32/launcher.msi>`_
548-
and installed on its own. The legacy launcher's ``py`` command will override
549-
PyManager's one, and you will need to use ``pymanager`` commands for
550-
installing and uninstalling.
551-
548+
configuration, we recommend installing the `legacy launcher`_. The legacy
549+
launcher's ``py`` command will override PyManager's one by default, and you
550+
will need to use ``pymanager`` commands for installing and uninstalling.
552551

553552
.. _Add-AppxPackage: https://learn.microsoft.com/powershell/module/appx/add-appxpackage
554553

@@ -859,6 +858,17 @@ default).
859858
These scripts are separated for each runtime, and so you may need to
860859
add multiple paths.
861860

861+
* - Typing ``script-name.py`` in the terminal opens in a new window.
862+
- This is a known limitation of the operating system. Either specify ``py``
863+
before the script name, create a batch file containing ``@py "%~dpn0.py" %*``
864+
with the same name as the script, or install the `legacy launcher`_
865+
and select it as the association for scripts.
866+
867+
* - Drag-dropping files onto a script doesn't work
868+
- This is a known limitation of the operating system. It is supported with
869+
the `legacy launcher`_, or with the Python install manager when installed
870+
from the MSI.
871+
862872

863873
.. _windows-embeddable:
864874

about.html

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

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

bugs.html

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

@@ -351,7 +351,7 @@ <h3>導航</h3>
351351
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
352352
<br>
353353
<br>
354-
最後更新於 11月 14, 2025 (10:46 UTC)。
354+
最後更新於 11月 14, 2025 (19:39 UTC)。
355355

356356
<a href="/bugs.html">發現 bug</a>
357357

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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
324324
<br>
325325
<br>
326-
最後更新於 11月 14, 2025 (10:46 UTC)。
326+
最後更新於 11月 14, 2025 (19:39 UTC)。
327327

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

c-api/allocation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ <h3>導航</h3>
532532
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
533533
<br>
534534
<br>
535-
最後更新於 11月 14, 2025 (10:46 UTC)。
535+
最後更新於 11月 14, 2025 (19:39 UTC)。
536536

537537
<a href="/bugs.html">發現 bug</a>
538538

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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
472472
<br>
473473
<br>
474-
最後更新於 11月 14, 2025 (10:46 UTC)。
474+
最後更新於 11月 14, 2025 (19:39 UTC)。
475475

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

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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
955955
<br>
956956
<br>
957-
最後更新於 11月 14, 2025 (10:46 UTC)。
957+
最後更新於 11月 14, 2025 (19:39 UTC)。
958958

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

c-api/bool.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ <h3>導航</h3>
334334
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
335335
<br>
336336
<br>
337-
最後更新於 11月 14, 2025 (10:46 UTC)。
337+
最後更新於 11月 14, 2025 (19:39 UTC)。
338338

339339
<a href="/bugs.html">發現 bug</a>
340340

0 commit comments

Comments
 (0)