Commit graph

29895 commits

Author SHA1 Message Date
Miss Islington (bot)
a868c6a70d
[3.14] gh-136520: Clarify docs for _pack_ & _align_ (GH-137036) (#137381)
gh-136520: Clarify docs for _pack_ & _align_ (GH-137036)

Move docs to the reference section & reduce the “tutorial” part to a quick intro & link.

Clarify what values are accepted.

Add macro/attribute equivalents.

Discourage _align_ values that aren't powers of two.
(cherry picked from commit 8943bb722f)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-10-07 20:39:57 +02:00
Erlend E. Aasland
ebbfd8f51a
[3.14] gh-138736: Fix sqlite3.Connection.blobopen 'row' parameter type and naming (#138738) (GH-139062)
(cherry picked from commit 8eb106240f)

Co-authored-by: chiri <chirizxc@proton.me>
2025-10-07 20:38:26 +02:00
Miss Islington (bot)
e2c901782d
[3.14] gh-138952: Document platform.machine() output casing inconsistency across platforms (GH-138962) (#139045)
gh-138952:  Document platform.machine() output casing inconsistency across platforms (GH-138962)
(cherry picked from commit dd15a2e11e)

Co-authored-by: Aniket <148300120+Aniketsy@users.noreply.github.com>
Co-authored-by: AN Long <aisk@users.noreply.github.com>
2025-10-07 19:30:21 +01:00
Miss Islington (bot)
8db6615886
[3.14] gh-129368: In PyRun C API docs, clarify what a "start token" is (GH-129935) (#139042)
gh-129368: In PyRun C API docs, clarify what a "start token" is (GH-129935)
(cherry picked from commit e1eca8b308)

Co-authored-by: Rajhans Jadhao <rajhans.jadhao@gmail.com>
2025-10-07 19:30:05 +01:00
Serhiy Storchaka
700d425564
[3.14] Update the dbm documentation (GH-137919) (#137962)
Unify documentation for all backends, enumerate all not implemented mapping
methods, document particularities of implemented mapping methods.
(cherry picked from commit 8700404f86)
2025-10-07 19:26:00 +01:00
Serhiy Storchaka
b4d8faa221
[3.14] Update the availability info in the resource docs (#137939)
Update the availability info in the resource docs
2025-10-07 19:25:34 +01:00
Miss Islington (bot)
99c1d09016
[3.14] gh-130102: drop "require numeric arguments" from pow() docs (GH-137456) (#137536)
gh-130102: drop "require numeric arguments" from pow() docs (GH-137456)
(cherry picked from commit 37b5a0d671)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Senthil Kumaran <senthil@python.org>
2025-10-07 19:25:25 +01:00
Miss Islington (bot)
f899c849d4
[3.14] Remove unmatched closing parenthesis (GH-139082) (#139099)
Remove unmatched closing parenthesis (GH-139082)
(cherry picked from commit d22b25081b)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2025-10-07 19:24:17 +01:00
Miss Islington (bot)
898be571a2
[3.14] Doc/library/zoneinfo.rst: Fix typo (GH-139190) (#139229)
(cherry picked from commit 4fb338d844)
2025-10-07 19:23:39 +01:00
Miss Islington (bot)
7c26f0fe4e
[3.14] gh-115119: Defer --with-system-libmpdec removal to 3.16 (GH-139318) (#139347)
gh-115119: Defer `--with-system-libmpdec` removal to 3.16 (GH-139318)
(cherry picked from commit 0aab07ccf7)

Co-authored-by: sobolevn <mail@sobolevn.me>
2025-10-07 19:23:18 +01:00
Miss Islington (bot)
3a880241c6
[3.14] Replace ambiguous word "pound" by "hash" in difflib docs (GH-139601) (GH-139616)
(cherry picked from commit dadbb2662a)

Co-authored-by: George Ogden <38294960+George-Ogden@users.noreply.github.com>
2025-10-07 20:19:50 +02:00
Miss Islington (bot)
9eee7fe717
[3.14] gh-135944: Add a "Runtime Components" Section to the Execution Model Docs (gh-135945) (#139509)
gh-135944: Add a "Runtime Components" Section to the Execution Model Docs (gh-135945)

The section provides a brief overview of the Python runtime's execution environment.  It is meant to be implementation agnostic,
(cherry picked from commit 46a1f0a9ff)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2025-10-07 19:19:42 +01:00
Sergey B Kirpichev
058c2770a2
[3.14] gh-122450: Expand documentation for `Rational and Fraction` (GH-136800) (#137363)
(cherry picked from commit b266fbc9ec)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-10-07 19:15:22 +01:00
Miss Islington (bot)
94f57ac206
[3.14] gh-131885: Use positional-only markers for `max() and min()` (GH-131868) (#137656)
gh-131885: Use positional-only markers for ``max()`` and ``min()`` (GH-131868)
(cherry picked from commit dd079db4b9)

Co-authored-by: Evan Kohilas <ekohilas@users.noreply.github.com>
2025-10-07 19:14:40 +01:00
Miss Islington (bot)
572e4332cf
[3.14] gh-135629: rewrite language reference section on except* to improve clarity (GH-136150) (#139059)
gh-135629: rewrite language reference section on except* to improve clarity (GH-136150)
(cherry picked from commit a651ec9524)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2025-10-07 19:14:16 +01:00
Adam Turner
b1fa3414b3
[3.14] gh-105812: Use the `:deco:` role in place of manual decorator markup (GH-139619) (#139627)
(cherry picked from commit 3195da0b1a)
2025-10-07 19:13:35 +01:00
Miss Islington (bot)
04d75658ac
[3.14] gh-139436: Remove `dist-pdf` from the docs archives rebuild target (GH-139437) (#139692)
gh-139436: Remove ``dist-pdf`` from the docs archives rebuild target (GH-139437)
(cherry picked from commit 0e2cdd313b)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-10-07 19:12:05 +01:00
Miss Islington (bot)
93f5e26d97
[3.14] gh-137376: Add note on top-level global declarations (GH-137707) (GH-138023)
(cherry picked from commit 9f05f98730)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
2025-10-07 19:59:29 +02:00
Miss Islington (bot)
e3d102ecdc
[3.14] gh-136823: Update documentation on excluded headers in Python.h (GH-136824) (#137437)
gh-136823: Update documentation on excluded headers in Python.h (GH-136824)
(cherry picked from commit c2428ca9ea)

Co-authored-by: Sina Zel taat <111974143+SZeltaat@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2025-10-07 23:23:33 +05:30
Miss Islington (bot)
7b203aa2ff
[3.14] gh-136516: Mention installation artifacts as de-facto resources (GH-136419) (#137038)
gh-136516: Mention installation artifacts as de-facto resources (GH-136419)

Files like NUL on windows are, from `importlib.resources` point of
view, an artifact caused by installing to a filesystem directory.
Mention these.
(cherry picked from commit fac4964fdb)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-10-07 23:20:13 +05:30
Miss Islington (bot)
33340233d0
[3.14] gh-139698: Fix typo in What's New 3.14 (GH-139699) (#139711)
gh-139698: Fix typo in What's New 3.14 (GH-139699)
(cherry picked from commit d396a32b3d)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-10-07 17:46:00 +00:00
Miss Islington (bot)
98ca0b3e2b
[3.14] Fix docs for Queue.shutdown (gh-137028) (#137080)
Fix docs for Queue.shutdown (gh-137028)
(cherry picked from commit 245671555b)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Co-authored-by: Zachary Ware <zach@python.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2025-10-07 19:41:03 +02:00
Miss Islington (bot)
08d8dadfc2
[3.14] gh-136278: Document codecs.escape_encode() and codecs.escape_decode() (GH-136314) (#137149)
gh-136278: Document codecs.escape_encode() and codecs.escape_decode() (GH-136314)

Closes GH-136278
(cherry picked from commit 6784ef7da7)

Co-authored-by: Toshaksha <147024929+Toshaksha@users.noreply.github.com>
2025-10-07 19:40:30 +02:00
Miss Islington (bot)
33f1330bd5
[3.14] GH-123299: Announce final release in What's New in Python 3.14 (GH-139631) (#139685)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-10-07 08:56:02 +00:00
Miss Islington (bot)
847474ce5d
[3.14] Add warnings filter suggestions to PEP 765 entry in What's New (GH-139658) (#139676)
Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-10-07 00:30:00 +03:00
Miss Islington (bot)
57c37a4623
[3.14] gh-116488: Mention dict.get in the data structures tutorial (GH-139643) (#139655)
Co-authored-by: Cycloctane <Cycloctane@outlook.com>
2025-10-06 19:04:44 +03:00
Miss Islington (bot)
bb212a1a8b
[3.14] GH-123299: Copyedit 3.14 What's New: Trivia (GH-139618) (#139626)
GH-123299: Copyedit 3.14 What's New: Trivia (GH-139618)
(cherry picked from commit 46de475af7)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-10-05 23:34:05 +03:00
Miss Islington (bot)
3aeee0863a
[3.14] GH-123299: Copyedit 3.14 What's New: New Features (GH-139543) (#139615)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-10-05 21:38:28 +03:00
Miss Islington (bot)
07e0eb2093
[3.14] gh-118767: Remove `bool(NotImplemented)` from pending-removal document (GH-139526) (#139599)
Co-authored-by: Jost Migenda <jost.migenda@kcl.ac.uk>
2025-10-05 16:01:35 +03:00
Miss Islington (bot)
8cb73119c6
[3.14] gh-139573: Update OpenSSL in CI (GH-139577) (#139583)
gh-139573: Update OpenSSL in CI (GH-139577)
(cherry picked from commit 98e748b3a0)

Co-authored-by: Zachary Ware <zach@python.org>
2025-10-05 07:50:26 +03:00
Miss Islington (bot)
2f96a40ec0
[3.14] gh-138558: Improve description of `Interpolation.expression` (GH-139187) (#139579)
gh-138558: Improve description of ``Interpolation.expression`` (GH-139187)
(cherry picked from commit 880c9526f9)

Co-authored-by: Dave Peck <davepeck@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-10-05 07:41:43 +03:00
Miss Islington (bot)
8566ee2507
[3.14] gh-138703: clarify data buffer requirement of asyncio.StreamWriter.write (GH-139564) (#139570)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-10-04 16:40:21 +00:00
Miss Islington (bot)
6f2635787b
[3.14] Synced docs and docstring for sysconfig.get_platform (GH-135530) (#138976)
Synced docs and docstring  for `sysconfig.get_platform` (GH-135530)
(cherry picked from commit 01cc53295c)

Co-authored-by: ivan <ivandietert@gmail.com>
Co-authored-by: Mikhail Efimov <efimov.mikhail@gmail.com>
Co-authored-by: Ned Deily <nad@python.org>
Co-authored-by: Filipe Laíns 🇵🇸 <lains@riseup.net>
2025-10-04 17:55:25 +03:00
Miss Islington (bot)
ec97866567
[3.14] GH-123299: Copyedit 3.14 What's New: New and Improved Modules (GH-139530) (#139555)
GH-123299: Copyedit 3.14 What's New: New and Improved Modules (GH-139530)
(cherry picked from commit c33dc154b4)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-10-04 16:45:35 +03:00
Miss Islington (bot)
e7ee62b5c8
[3.14] GH-123299: Copyedit 3.14 What's New: Other Language Changes (GH-139425) (#139508)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-10-03 23:46:29 +03:00
Miss Islington (bot)
292b6cf3e6
[3.14] Document Py_AddPendingCall() change with subinterpreters in 3.12 (GH-139117) (#139118)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-10-03 23:20:35 +03:00
Miss Islington (bot)
22c63945c1
[3.14] gh-139495: Fix hashlib.file_digest() versionchanged description of BlockingIOError (GH-139496) (#139522)
Co-authored-by: Alex Willmer <alex@moreati.org.uk>
2025-10-03 00:11:58 +03:00
Miss Islington (bot)
a312dd0f1e
[3.14] gh-139487: add missing imports for standalone doctest Enum examples (GH-139488) (#139493)
gh-139487: add missing imports for standalone doctest `Enum` examples (GH-139488)
(cherry picked from commit f3d7faeafa)

Co-authored-by: Peter <35064951+ttw225@users.noreply.github.com>
2025-10-02 17:37:19 +03:00
Miss Islington (bot)
86bc87b30d
[3.14] gh-132006: Add support for handling XCPrivacy manifests (GH-139163) (#139410)
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
2025-10-01 16:50:33 +03:00
Miss Islington (bot)
20f472b629
[3.14] GH-123299: Copyedit 3.14 What's New: Deprecated (GH-139433) (#139457)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-10-01 12:29:07 +03:00
Miss Islington (bot)
1ae1db8056
[3.14] Document that PyInterpreterState_GetDict returns a borrowed reference (GH-139451) (#139463)
Document that `PyInterpreterState_GetDict` returns a borrowed reference (GH-139451)
(cherry picked from commit 80cdf3ef74)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-10-01 08:39:54 +03:00
Miss Islington (bot)
622f37f9dd
[3.14] Remove link to the PDF downloads (GH-139142) (#139426)
Remove link to the PDF downloads (GH-139142)
(cherry picked from commit 6b5f15698a)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2025-09-30 00:12:28 +03:00
Miss Islington (bot)
af694375ea
[3.14] GH-123299: Copyedit 3.14 What's New: CPython bytecode changes (GH-139402) (#139420)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-09-29 18:55:26 +03:00
Russell Keith-Magee
91d86452c3
[3.14] gh-138171: Migrate iOS testbed location and add Apple build script (#138176) (#139204)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2025-09-29 11:11:59 +03:00
Miss Islington (bot)
c82079e0b4
[3.14] gh-135447: Document the `NOT_TAKEN & POP_ITER` bytecode instructions (GH-135803) (#139399)
Co-authored-by: Yongzi Li <204532581+Yzi-Li@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Ken Jin <kenjin4096@gmail.com>
2025-09-28 22:02:33 +03:00
Shantanu
73a575ffea
[3.14] Link to 3.14 GC design docs (#139387) 2025-09-28 14:47:05 +01:00
Bénédikt Tran
4608a300d5
[3.14] gh-138633: synchronize documented signatures of SSL objects with runtime ones (GH-138639, GH-138648) (#138646)
(cherry picked from commit 3255c0c870)
(cherry picked from commit 4ef51fa75c)
2025-09-27 08:12:11 +02:00
Miss Islington (bot)
f2b82b3b3b
[3.14] gh-127502: Fix typo in XML security notes (GH-139335) (#139346)
gh-127502: Fix typo in XML security notes (GH-139335)
(cherry picked from commit 6fa1e552e0)

Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
2025-09-26 13:43:00 +01:00
Karolina Surma
c76fd771b5
[3.14] Fix the reference to unicode specification (#139138) (#139286)
Fix the reference to unicode specification (#139138)

(cherry picked from commit b36dee855d)
2025-09-24 18:11:20 +01:00
Miss Islington (bot)
460ad1aa1b
[3.14] Make sure the `:keyword: role works for case` (GH-138878) (#139200)
Make sure the ``:keyword:`` role works for ``case`` (GH-138878)
(cherry picked from commit 848d926786)

Co-authored-by: sobolevn <mail@sobolevn.me>
2025-09-22 07:13:05 +01:00