Commit Graph

28390 Commits

Author SHA1 Message Date
Miss Islington (bot) e62cb77c25
[3.13] gh-123523: Rework typing documentation for generators and coroutines, and link to it from `collections.abc` docs (GH-123544) (#123790)
gh-123523: Rework typing documentation for generators and coroutines, and link to it from `collections.abc` docs (GH-123544)
(cherry picked from commit 56e4a417ce)

Co-authored-by: Stanislav Terliakov <50529348+sterliakov@users.noreply.github.com>
2024-09-06 22:56:37 +02:00
Miss Islington (bot) 66b15381f1
[3.13] gh-109975: Add links to py-free-threading.github.io (GH-123776) (#123794)
Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2024-09-06 20:46:40 +03:00
Miss Islington (bot) c46ad20d41
[3.13] gh-123207: Clarify the documentation for the mro lookup for super() (GH-123417) (#123732)
(cherry picked from commit 327463aef1)

Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
2024-09-06 15:45:22 +02:00
Miss Islington (bot) 402b5f204a
[3.13] gh-123463: Include logging_flow diagram in non-HTML docs (GH-123464) (#123666)
(cherry picked from commit 7d2c2f24da)

Co-authored-by: Alexander Bessman <bessman@users.noreply.github.com>
2024-09-06 15:44:07 +02:00
Miss Islington (bot) 37e1f8d2a0
[3.13] gh-103066: Add links and `help` in site.py constants (GH-103777) (#123762)
Co-authored-by: David Caron <dcaron05@gmail.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-09-06 11:08:29 +03:00
Miss Islington (bot) 92b9c4482f
[3.13] gh-123275: Support `-Xgil=1` and `PYTHON_GIL=1` on non-free-threaded builds (gh-123276) (gh-123753)
gh-123275: Support `-Xgil=1` and `PYTHON_GIL=1` on non-free-threaded builds (gh-123276)
(cherry picked from commit 84ad264ce6)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2024-09-06 10:09:35 +09:00
Miss Islington (bot) e5568e5e9d
[3.13] Swap the and from in sentence in init_config.rst (GH-120086) (#123744)
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2024-09-05 20:26:23 +00:00
Miss Islington (bot) ff9ece98e2
[3.13] gh-85453: Improve instance attributes mark up on datetime.rst (GH-123655) (#123740)
Co-authored-by: edson duarte <eduarte.uatach@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-09-05 18:16:48 +00:00
Miss Islington (bot) 3765181359
[3.13] gh-123392: Clarify wording regarding parameters that are functions to be called (GH-123394) (GH-123664)
(cherry picked from commit c08ede2714)

Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
2024-09-05 12:49:51 +02:00
Miss Islington (bot) 3b37658646
[3.13] gh-118508: Clarify which characters are matched by `\s` (GH-119155) (#123670)
gh-118508: Clarify which characters are matched by `\s` (GH-119155)

Clarify re syntax
(cherry picked from commit 22fdb8cf89)

Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
2024-09-04 15:36:14 -07:00
Miss Islington (bot) e4516911fe
[3.13] gh-123580: Fix `signed_number` token in documentation (GH-123582) (GH-123623)
gh-123580: Fix `signed_number` token in documentation (GH-123582)

(cherry picked from commit 9e079c220b)

Co-authored-by: CBerJun <121291537+CBerJun@users.noreply.github.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2024-09-04 11:18:42 +02:00
Miss Islington (bot) aeb39b72b2
[3.13] gh-123621: Fix `datamodel.rst` with proper `dict` notation (GH-123648) (#123653)
gh-123621: Fix `datamodel.rst` with proper `dict` notation (GH-123648)
(cherry picked from commit cfbc841ef3)

Co-authored-by: Lipták Attila (Flash) <113017309+AttilaLiptak@users.noreply.github.com>
2024-09-03 20:12:17 +00:00
Miss Islington (bot) 95ebca1e99
[3.13] gh-123579: Document exclamation token (GH-123612) (#123637)
(cherry picked from commit 68fe5758bf)

Co-authored-by: Shaygan Hooshyari <sh.hooshyari@gmail.com>
2024-09-03 15:07:13 +00:00
Wei-Hsiang (Matt) Wang 05dcc81601
[3.13] gh-123517: Remove unnecessary `:meth:` parentheses (gh-123518) (GH-123577) 2024-09-02 16:00:04 +02:00
Miss Islington (bot) ec92c8a018
[3.13] gh-123570: Add link to `weakref.ref` from `weakref_slot` docs in `dataclasses` (GH-123571) (#123594)
gh-123570: Add link to `weakref.ref` from `weakref_slot` docs in `dataclasses` (GH-123571)
(cherry picked from commit c3ed775899)

Co-authored-by: sobolevn <mail@sobolevn.me>
2024-09-02 13:20:35 +02:00
Petr Viktorin 1af74fa652
[3.13] gh-120426: Reword the glossary term "immortal" (GH-123191) (#123491)
gh-120426: Reword the glossary term "immortal" (GH-123191)

Reword the glossary term "immortal", mark it as an implementation detail

(cherry picked from commit 6754566a51)
2024-09-02 13:17:41 +02:00
Wulian 5c408e333d
[3.13] Fix typos in docs and what's new (#123451) 2024-09-02 13:15:02 +02:00
Miss Islington (bot) aca65112fe
[3.13] GH-117759: Document incremental GC (GH-123266) (#123395)
GH-117759: Document incremental GC (GH-123266)

* Update what's new

* Update gc module docs and fix inconsistency in gc.get_objects
(cherry picked from commit f49a91648a)

Co-authored-by: Mark Shannon <mark@hotpy.org>
2024-09-02 13:12:16 +02:00
Miss Islington (bot) d9e4c4b61c
[3.13] gh-123213: Fixed xml.etree.ElementTree.Element.extend and assignment to no longer hide exceptions (GH-123214) (#123257)
gh-123213: Fixed xml.etree.ElementTree.Element.extend and assignment to no longer hide exceptions (GH-123214)
(cherry picked from commit 90b6d0e0f8)

Co-authored-by: Bar Harel <bharel@barharel.com>
2024-09-02 13:10:09 +02:00
Miss Islington (bot) 4210a7d02b
[3.13] GH-121970: Fix ``gettext`` for audit events (GH-122651) (#122653)
GH-121970: Fix ``gettext`` for audit events (GH-122651)
(cherry picked from commit 95f5c89b54)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-09-02 12:48:20 +02:00
Alex Waygood 3455d8560a
[3.13] Fix typos in docs, error messages and comments (#122502) (#122606)
Fix typos in docs, error messages and comments (#122502)

(cherry-picked from commit 46f5a4f9e1)

Signed-off-by: jianghuyiyuan <shuangcui@live.com>
Co-authored-by: jianghuyiyuan <shuangcui@live.com>
2024-09-02 12:44:42 +02:00
Miss Islington (bot) b8ef767ba5
[3.13] gh-109975: Remove dangling angle bracket from 3.13.rst (GH-123589) (#123590)
(cherry picked from commit 9a32a2588e)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
2024-09-02 05:16:01 +00:00
Miss Islington (bot) 364d366328
[3.13] Remove irrelevant detail from example code. (gh-123587) (gh-123588) 2024-09-01 20:27:48 -05:00
Miss Islington (bot) 767dfb9e8d
[3.13] Simplify Property() recipe to focus on the essentials (gh-123585) (gh-123586) 2024-09-01 18:08:21 -05:00
Miss Islington (bot) cfdf376e2a
[3.13] gh-91126: Docs and tests for slotted dataclasses with `__init_subclass__` (GH-123342) (#123568)
gh-91126: Docs and tests for slotted dataclasses with `__init_subclass__` (GH-123342)
(cherry picked from commit 75e72822a3)

Co-authored-by: sobolevn <mail@sobolevn.me>
2024-09-01 18:19:56 +03:00
Miss Islington (bot) b0a50a69cf
[3.13] gh-123550: Fix code snippet of `BUILD_TUPLE` in `dis` docs (GH-123551) (#123555) 2024-09-01 08:38:20 +01:00
Miss Islington (bot) 4922e5b273
[3.13] GH-109975: Copyedit 3.13 What's New: Removals (GH-123529) (#123552)
GH-109975: Copyedit 3.13 What's New: Removals (GH-123529)
(cherry picked from commit 0ff59d707c)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-09-01 02:03:57 -04:00
Miss Islington (bot) dc06b3d01e
[3.13] gh-123494: Improve documentation for ``webbrowser`` return types (GH-123495) (#123548)
gh-123494: Improve documentation for ``webbrowser`` return types (GH-123495)

Document the return value for ``webbrowser.open*()``.
(cherry picked from commit 0b6acfee04)

Co-authored-by: Aarni Koskela <akx@iki.fi>
2024-09-01 05:41:10 +00:00
Miss Islington (bot) 578742a9a1
[3.13] gh-123407: Enable translating literal and code blocks (GH-123408) (#123530)
gh-123407: Enable translating literal and code blocks (GH-123408)
(cherry picked from commit 5332d989af)

Co-authored-by: Maciej Olko <maciej.olko@affirm.com>
2024-08-31 06:49:08 +00:00
Wei-Hsiang (Matt) Wang 9f5f2b7128
[3.13] gh-123492: Remove unnecessary `:func:` parentheses (gh-123493) (#123513) 2024-08-30 20:14:48 +03:00
Miss Islington (bot) eec25e5d47
[3.13] gh-101860: document `property.__name__` (GH-123399) (#123428)
(cherry picked from commit 40fff90ae3)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-08-29 09:55:56 -07:00
Miss Islington (bot) fbc975223b
[3.13] gh-123254: Improve `tuple` C API docs with more info about errors (GH-123255) (#123416)
gh-123254: Improve `tuple` C API docs with more info about errors (GH-123255)
(cherry picked from commit 6f563e364d)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2024-08-28 07:47:39 +00:00
Miss Islington (bot) 317d389345
[3.13] gh-109975: Fix a typo in What's New in Python 3.13 (GH-123393) (#123396) 2024-08-27 15:16:20 +00:00
Miss Islington (bot) 4817365581
[3.13] gh-82378: Document the difference between sys.tracebacklimit and the limit arguments (GH-123286) (#123325)
gh-82378: Document the difference between sys.tracebacklimit and the limit arguments (GH-123286)
(cherry picked from commit 70bfef52b5)

Co-authored-by: CF Bolz-Tereick <cfbolz@gmx.de>
2024-08-25 23:08:51 +00:00
Miss Islington (bot) abaaaff328
[3.13] gh-122982: Extend the deprecation period for bool inversion by two years (GH-123306) (#123316)
gh-122982: Extend the deprecation period for bool inversion by two years (GH-123306)
(cherry picked from commit 249b083ed8)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
2024-08-25 19:48:34 +00:00
Miss Islington (bot) 311dedadf6
[3.13] GH-109975: Copyedit 3.13 What's New: Optimizations (GH-123301) (#123308)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-08-25 16:59:01 +03:00
Miss Islington (bot) 5709cee0b6
[3.13] Docs: Fix Makefile syntax (GH-123287) (#123288)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-08-25 00:03:54 +03:00
Adam Turner 6587900f22
[3.13] GH-109975: Copyedit 3.13 What's New: Improved Modules (GH-123132) (#123292)
(cherry picked from commit 127660bcdb)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2024-08-24 19:31:31 +00:00
Miss Islington (bot) 595fb38e91
[3.13] gh-109975: Copyedit What's New in Python 3.13 (GH-123150) (#123164)
gh-109975: Copyedit What's New in Python 3.13 (GH-123150)
(cherry picked from commit 0480052ea1)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-08-20 00:11:34 +00:00
Miss Islington (bot) cf444d8515
[3.13] gh-123110: correct note about _Bool in the struct module docs (GH-123111) (#123126)
gh-123110: correct note about _Bool in the struct module docs (GH-123111)
(cherry picked from commit b0f462d4c8)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2024-08-19 13:00:54 +05:30
Miss Islington (bot) 01ce10c690
[3.13] Add debug offsets for free threaded builds (GH-123041) (#123055)
* Add debug offsets for free threaded builds (GH-123041)
(cherry picked from commit d7a3df9150)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>

* Refresh ABI file

---------

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2024-08-18 15:01:16 +00:00
Miss Islington (bot) b5bba3bb6c
[3.13] Docs: Run ``latexmk`` in parallel when creating PDFs (GH-123113) (#123115)
Docs: Run ``latexmk`` in parallel when creating PDFs (GH-123113)
(cherry picked from commit 79c542b5cc)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
2024-08-17 21:15:24 +00:00
Miss Islington (bot) 6001deacb7
[3.13] GH-109975: Copyedit 3.13 What's New: Other Language Changes (GH-123086) (#123101)
GH-109975: Copyedit 3.13 What's New: Other Language Changes (GH-123086)
(cherry picked from commit d60b97a833)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-08-17 12:26:58 +00:00
Miss Islington (bot) 8d95102447
[3.13] fix typo in dis.rst (GH-121612) (#123095)
fix typo in dis.rst (GH-121612)
(cherry picked from commit e9287ea426)

Co-authored-by: mathysEthical <110499907+mathysEthical@users.noreply.github.com>
2024-08-17 09:11:33 +00:00
Miss Islington (bot) 2620c1543b
[3.13] gh-122519: Adding socket module shutdown() constants description (GH-122543) (#123093)
gh-122519: Adding socket module shutdown() constants description (GH-122543)
(cherry picked from commit 8a59deca59)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
2024-08-17 08:45:25 +00:00
Miss Islington (bot) 3ab8eafbd9
[3.13] mention pypy somewhat more prominently in the pyrepl section of whatsnew (GH-123063) (#123064) 2024-08-16 11:58:17 +00:00
Miss Islington (bot) 009f9efe65
[3.13] GH-109975: Copyedit 3.13 What's New: New Features (GH-122990) (#123032)
GH-109975: Copyedit 3.13 What's New: New Features (GH-122990)
(cherry picked from commit b106cf8d97)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
2024-08-15 09:25:33 +00:00
Miss Islington (bot) 79452b135c
[3.13] gh-123005: Add version added in enum.Flag.__len__ (GH-123007) (#123026)
gh-123005: Add version added in enum.Flag.__len__ (GH-123007)
(cherry picked from commit 8e2dc7f380)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
2024-08-14 21:31:19 +00:00
Miss Islington (bot) 7db7fcc0ef
[3.13] GH-109975: Copyedit 3.13 What's New: Release Highlights (GH-122958) (#122971)
GH-109975: Copyedit 3.13 What's New: Release Highlights (GH-122958)
(cherry picked from commit db6f5e1933)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-08-13 15:58:35 +01:00
Miss Islington (bot) fcc7c4ea66
[3.13] gh-122944: Fix incorrect prompt strings in the Python Tutorial (GH-122949) (#122954)
gh-122944: Fix incorrect prompt strings in the Python Tutorial (GH-122949)

In the REPL, top level comments are followed by a primary, not secondary prompt.
Fix the places in the in the tutorial that use the latter.
(cherry picked from commit be90648fb2)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
2024-08-12 18:56:36 +00:00