Skip to content

Commit 70c4a81

Browse files
Deploy preview for PR 1148 🛫
1 parent 88a9337 commit 70c4a81

File tree

573 files changed

+1113
-609
lines changed

Some content is hidden

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

573 files changed

+1113
-609
lines changed

pr-preview/pr-1148/_sources/library/signal.rst.txt

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,26 @@ The variables defined in the :mod:`signal` module are:
205205

206206
.. availability:: Unix.
207207

208+
.. data:: SIGPROF
209+
210+
Profiling timer expired.
211+
212+
.. availability:: Unix.
213+
214+
.. data:: SIGQUIT
215+
216+
Terminal quit signal.
217+
218+
.. availability:: Unix.
219+
208220
.. data:: SIGSEGV
209221

210222
Segmentation fault: invalid memory reference.
211223

224+
.. data:: SIGSTOP
225+
226+
Stop executing (cannot be caught or ignored).
227+
212228
.. data:: SIGSTKFLT
213229

214230
Stack fault on coprocessor. The Linux kernel does not raise this signal: it
@@ -237,6 +253,12 @@ The variables defined in the :mod:`signal` module are:
237253

238254
.. availability:: Unix.
239255

256+
.. data:: SIGVTALRM
257+
258+
Virtual timer expired.
259+
260+
.. availability:: Unix.
261+
240262
.. data:: SIGWINCH
241263

242264
Window resize signal.

pr-preview/pr-1148/_sources/library/zlib.rst.txt

Lines changed: 133 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ earlier than 1.1.3; 1.1.3 has a `security vulnerability <https://zlib.net/zlib_f
1616

1717
zlib's functions have many options and often need to be used in a particular
1818
order. This documentation doesn't attempt to cover all of the permutations;
19-
consult the zlib manual at http://www.zlib.net/manual.html for authoritative
19+
consult the `zlib manual <https://www.zlib.net/manual.html>`_ for authoritative
2020
information.
2121

2222
For reading and writing ``.gz`` files see the :mod:`gzip` module.
@@ -312,6 +312,136 @@ Decompression objects support the following methods and attributes:
312312
objects.
313313

314314

315+
The following constants are available to configure compression and decompression
316+
behavior:
317+
318+
.. data:: DEFLATED
319+
320+
The deflate compression method.
321+
322+
323+
.. data:: MAX_WBITS
324+
325+
The maximum window size, expressed as a power of 2.
326+
For example, if :const:`!MAX_WBITS` is ``15`` it results in a window size
327+
of ``32 KiB``.
328+
329+
330+
.. data:: DEF_MEM_LEVEL
331+
332+
The default memory level for compression objects.
333+
334+
335+
.. data:: DEF_BUF_SIZE
336+
337+
The default buffer size for decompression operations.
338+
339+
340+
.. data:: Z_NO_COMPRESSION
341+
342+
Compression level ``0``.
343+
344+
.. versionadded:: 3.6
345+
346+
347+
.. data:: Z_BEST_SPEED
348+
349+
Compression level ``1``.
350+
351+
352+
.. data:: Z_BEST_COMPRESSION
353+
354+
Compression level ``9``.
355+
356+
357+
.. data:: Z_DEFAULT_COMPRESSION
358+
359+
Default compression level (``-1``).
360+
361+
362+
.. data:: Z_DEFAULT_STRATEGY
363+
364+
Default compression strategy, for normal data.
365+
366+
367+
.. data:: Z_FILTERED
368+
369+
Compression strategy for data produced by a filter (or predictor).
370+
371+
372+
.. data:: Z_HUFFMAN_ONLY
373+
374+
Compression strategy that forces Huffman coding only.
375+
376+
377+
.. data:: Z_RLE
378+
379+
Compression strategy that limits match distances to one (run-length encoding).
380+
381+
This constant is only available if Python was compiled with zlib
382+
1.2.0.1 or greater.
383+
384+
.. versionadded:: 3.6
385+
386+
387+
.. data:: Z_FIXED
388+
389+
Compression strategy that prevents the use of dynamic Huffman codes.
390+
391+
This constant is only available if Python was compiled with zlib
392+
1.2.2.2 or greater.
393+
394+
.. versionadded:: 3.6
395+
396+
397+
.. data:: Z_NO_FLUSH
398+
399+
Flush mode ``0``. No special flushing behavior.
400+
401+
.. versionadded:: 3.6
402+
403+
404+
.. data:: Z_PARTIAL_FLUSH
405+
406+
Flush mode ``1``. Flush as much output as possible.
407+
408+
409+
.. data:: Z_SYNC_FLUSH
410+
411+
Flush mode ``2``. All output is flushed and the output is aligned to a byte boundary.
412+
413+
414+
.. data:: Z_FULL_FLUSH
415+
416+
Flush mode ``3``. All output is flushed and the compression state is reset.
417+
418+
419+
.. data:: Z_FINISH
420+
421+
Flush mode ``4``. All pending input is processed, no more input is expected.
422+
423+
424+
.. data:: Z_BLOCK
425+
426+
Flush mode ``5``. A deflate block is completed and emitted.
427+
428+
This constant is only available if Python was compiled with zlib
429+
1.2.2.2 or greater.
430+
431+
.. versionadded:: 3.6
432+
433+
434+
.. data:: Z_TREES
435+
436+
Flush mode ``6``, for inflate operations. Instructs inflate to return when
437+
it gets to the next deflate block boundary.
438+
439+
This constant is only available if Python was compiled with zlib
440+
1.2.3.4 or greater.
441+
442+
.. versionadded:: 3.6
443+
444+
315445
Information about the version of the zlib library in use is available through
316446
the following constants:
317447

@@ -347,10 +477,10 @@ the following constants:
347477
Module :mod:`gzip`
348478
Reading and writing :program:`gzip`\ -format files.
349479

350-
http://www.zlib.net
480+
https://www.zlib.net
351481
The zlib library home page.
352482

353-
http://www.zlib.net/manual.html
483+
https://www.zlib.net/manual.html
354484
The zlib manual explains the semantics and usage of the library's many
355485
functions.
356486

pr-preview/pr-1148/_sources/using/configure.rst.txt

Lines changed: 39 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,51 @@ Features and minimum versions required to build CPython:
2222

2323
* Support for threads.
2424

25-
* OpenSSL 1.1.1 is the minimum version and OpenSSL 3.0.18 is the recommended
26-
minimum version for the :mod:`ssl` and :mod:`hashlib` extension modules.
25+
To build optional modules:
2726

28-
* SQLite 3.15.2 for the :mod:`sqlite3` extension module.
27+
* `libbz2 <https://sourceware.org/bzip2/>`_ for the :mod:`bz2` module.
2928

30-
* Tcl/Tk 8.5.12 for the :mod:`tkinter` module.
29+
* `libb2 <https://github.com/BLAKE2/libb2>`_ (:ref:`BLAKE2 <hashlib-blake2>`),
30+
used by :mod:`hashlib` module.
31+
32+
* `libffi <https://sourceware.org/libffi/>`_ 3.3.0 is the recommended
33+
minimum version for the :mod:`ctypes` module.
34+
35+
* ``liblzma``, for the :mod:`lzma` module.
3136

3237
* `libmpdec <https://www.bytereef.org/mpdecimal/doc/libmpdec/>`_ 2.5.0
3338
for the :mod:`decimal` module.
3439

40+
* ``libncurses`` or ``libncursesw``,
41+
for the :mod:`curses` module.
42+
43+
* ``libpanel`` or ``libpanelw``,
44+
for the :mod:`curses.panel` module.
45+
46+
* `libreadline <https://tiswww.case.edu/php/chet/readline/rltop.html>`_ or
47+
`libedit <https://www.thrysoee.dk/editline/>`_
48+
for the :mod:`readline` module.
49+
50+
* `libuuid <https://linux.die.net/man/3/libuuid>`_, for the :mod:`uuid` module.
51+
52+
* `OpenSSL <https://www.openssl.org/>`_ 1.1.1 is the minimum version and
53+
OpenSSL 3.0.18 is the recommended minimum version for the
54+
:mod:`ssl` and :mod:`hashlib` extension modules.
55+
56+
* `SQLite <https://sqlite.org/>`_ 3.15.2 for the :mod:`sqlite3` extension module.
57+
58+
* `Tcl/Tk <https://www.tcl-lang.org/>`_ 8.5.12 for the :mod:`tkinter` module.
59+
60+
* `zlib <https://www.zlib.net>`_ 1.1.4 is the reccomended minimum version for the
61+
:mod:`zlib` module.
62+
63+
* `zstd <https://facebook.github.io/zstd/>`_ 1.4.5 is the minimum version for
64+
the :mod:`compression.zstd` module.
65+
66+
For a full list of dependencies required to build all modules and how to install
67+
them, see the
68+
`devguide <https://devguide.python.org/getting-started/setup-building/#install-dependencies>`_.
69+
3570
* Autoconf 2.72 and aclocal 1.16.5 are required to regenerate the
3671
:file:`configure` script.
3772

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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
315315
<br>
316316
<br>
317-
最後更新於 10月 10, 2025 (00:20 UTC)。
317+
最後更新於 10月 11, 2025 (00:19 UTC)。
318318

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

pr-preview/pr-1148/bugs.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ <h3>導航</h3>
352352
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
353353
<br>
354354
<br>
355-
最後更新於 10月 10, 2025 (00:20 UTC)。
355+
最後更新於 10月 11, 2025 (00:19 UTC)。
356356

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

328328
<a href="/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
<a href="https://www.python.org/psf/donations/">敬請捐贈。</a>
433433
<br>
434434
<br>
435-
最後更新於 10月 10, 2025 (00:20 UTC)。
435+
最後更新於 10月 11, 2025 (00:19 UTC)。
436436

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

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

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

pr-preview/pr-1148/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-
最後更新於 10月 10, 2025 (00:20 UTC)。
337+
最後更新於 10月 11, 2025 (00:19 UTC)。
338338

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

0 commit comments

Comments
 (0)