Skip to content

Commit 50a5347

Browse files
Deploy preview for PR 1231 🛫
1 parent 8c8b2ce commit 50a5347

584 files changed

Lines changed: 673 additions & 585 deletions

File tree

Some content is hidden

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

pr-preview/pr-1231/_sources/library/curses.rst.txt

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,8 @@ The module :mod:`!curses` defines the following functions:
327327
Initialize the library. Return a :ref:`window <curses-window-objects>` object
328328
which represents the whole screen.
329329

330+
See :func:`setupterm` for a caveat about calling it before this function.
331+
330332
.. note::
331333

332334
If there is an error opening the terminal, the underlying curses library may
@@ -596,6 +598,13 @@ The module :mod:`!curses` defines the following functions:
596598
terminfo database entry could not be read. If the terminal has already
597599
been initialized, this function has no effect.
598600

601+
.. note::
602+
603+
Calling :func:`initscr` after :func:`setupterm`
604+
leaks the terminal that :func:`setupterm` allocated:
605+
the curses library keeps only a single current terminal
606+
and does not free the previously allocated one.
607+
599608

600609
.. function:: start_color()
601610

pr-preview/pr-1231/_sources/library/imaplib.rst.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,13 @@ There's also a subclass for secure connections:
9797
(potentially long-lived) structure. Please read :ref:`ssl-security` for
9898
best practices.
9999

100+
.. note::
101+
102+
With the default *ssl_context*, the connection is encrypted but the
103+
server certificate and hostname are not verified.
104+
To verify them, pass a context created by
105+
:func:`ssl.create_default_context`.
106+
100107
The optional *timeout* parameter specifies a timeout in seconds for the
101108
connection attempt. If timeout is not given or is ``None``, the global default
102109
socket timeout is used.
@@ -589,6 +596,13 @@ An :class:`IMAP4` instance has the following methods:
589596
encryption on the IMAP connection. Please read :ref:`ssl-security` for
590597
best practices.
591598

599+
.. note::
600+
601+
With the default *ssl_context*, the connection is encrypted but the
602+
server certificate and hostname are not verified.
603+
To verify them, pass a context created by
604+
:func:`ssl.create_default_context`.
605+
592606
.. versionadded:: 3.2
593607

594608
.. versionchanged:: 3.4
@@ -723,3 +737,10 @@ retrieves and prints all messages::
723737
M.close()
724738
M.logout()
725739

740+
.. note::
741+
742+
A ``FETCH`` response may contain additional or unsolicited data
743+
(see :rfc:`3501`, section 7.4.2),
744+
so production code should inspect the whole response
745+
rather than rely on ``data[0][1]``.
746+

pr-preview/pr-1231/about.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ <h3>導航</h3>
356356
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
357357
<br>
358358
<br>
359-
最後更新於 7月 02, 2026 (00:45 UTC)。
359+
最後更新於 7月 03, 2026 (00:39 UTC)。
360360

361361
<a href="/bugs.html">發現 bug</a>
362362

pr-preview/pr-1231/bugs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ <h3>導航</h3>
393393
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
394394
<br>
395395
<br>
396-
最後更新於 7月 02, 2026 (00:45 UTC)。
396+
最後更新於 7月 03, 2026 (00:39 UTC)。
397397

398398
<a href="/bugs.html">發現 bug</a>
399399

pr-preview/pr-1231/c-api/abstract.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ <h3>導航</h3>
365365
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
366366
<br>
367367
<br>
368-
最後更新於 7月 02, 2026 (00:45 UTC)。
368+
最後更新於 7月 03, 2026 (00:39 UTC)。
369369

370370
<a href="/bugs.html">發現 bug</a>
371371

pr-preview/pr-1231/c-api/allocation.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ <h3>導航</h3>
577577
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
578578
<br>
579579
<br>
580-
最後更新於 7月 02, 2026 (00:45 UTC)。
580+
最後更新於 7月 03, 2026 (00:39 UTC)。
581581

582582
<a href="/bugs.html">發現 bug</a>
583583

pr-preview/pr-1231/c-api/apiabiversion.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@ <h3>導航</h3>
514514
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
515515
<br>
516516
<br>
517-
最後更新於 7月 02, 2026 (00:45 UTC)。
517+
最後更新於 7月 03, 2026 (00:39 UTC)。
518518

519519
<a href="/bugs.html">發現 bug</a>
520520

pr-preview/pr-1231/c-api/arg.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ <h3>導航</h3>
996996
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
997997
<br>
998998
<br>
999-
最後更新於 7月 02, 2026 (00:45 UTC)。
999+
最後更新於 7月 03, 2026 (00:39 UTC)。
10001000

10011001
<a href="/bugs.html">發現 bug</a>
10021002

pr-preview/pr-1231/c-api/bool.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ <h3>導航</h3>
376376
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
377377
<br>
378378
<br>
379-
最後更新於 7月 02, 2026 (00:45 UTC)。
379+
最後更新於 7月 03, 2026 (00:39 UTC)。
380380

381381
<a href="/bugs.html">發現 bug</a>
382382

pr-preview/pr-1231/c-api/buffer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,7 @@ <h3>導航</h3>
10641064
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
10651065
<br>
10661066
<br>
1067-
最後更新於 7月 02, 2026 (00:45 UTC)。
1067+
最後更新於 7月 03, 2026 (00:39 UTC)。
10681068

10691069
<a href="/bugs.html">發現 bug</a>
10701070

0 commit comments

Comments
 (0)