summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.13] gh-110383: Document `socket.makefile()` accepts combined modes ↵Miss Islington (bot)2024-05-211-1/+2
| | | | | | | | (GH-119150) (#119324) The supported mode values are 'r', 'w', and 'b', or a combination of those. (cherry picked from commit 62a29be5bb01c2d0f72d8f9b1b5539816e65310c) Co-authored-by: Daniel Williams <dann0a@gmail.com>
* [3.13] GH-110383: Improve Tutorial for Input Ouput (GH-119230) (GH-119326)Miss Islington (bot)2024-05-211-4/+16
| | | | | | | | GH-110383: Improve Tutorial for Input Ouput (GH-119230) (cherry picked from commit 9db2fd7edaa9d03e8c649c3bb0e8d963233cde22) Co-authored-by: Blaise Pabon <blaise@gmail.com> Co-authored-by: edson duarte <eduarte.uatach@gmail.com>
* [3.13] Docs: Ensure no warnings are found in the NEWS file before a given ↵Hugo van Kemenade2024-05-211-0/+40
| | | | line number (GH-119221) (#119261)
* [3.13] gh-74929: PEP 667 general docs update (gh-119291)Miss Islington (bot)2024-05-219-59/+153
| | | | | | | | | | | * expand on What's New entry for PEP 667 (including porting notes) * define 'optimized scope' as a glossary term * cover comprehensions and generator expressions in locals() docs * review all mentions of "locals" in documentation (updating if needed) * review all mentions of "f_locals" in documentation (updating if needed) (cherry picked from commit e870c852c0ea96fa4e4569e9c39c7ceb80ce858d) Co-authored-by: Alyssa Coghlan <ncoghlan@gmail.com>
* [3.13] gh-118912: Remove description of issue fixed in 3.5 from autospeccing ↵Miss Islington (bot)2024-05-201-32/+8
| | | | | | | | | | | | | | | | | | guide (GH-119232) (#119284) gh-118912: Remove description of issue fixed in 3.5 from autospeccing guide (GH-119232) * Remove description of issue fixed in 3.5 from autospeccing guide * Make autospeccing note text more succint and lint whitespace * Add linting changes (missed in last commit) --------- (cherry picked from commit 7e57640c7ec6b7b5ce9b5eac465f6b771fd6ae69) Co-authored-by: Shauna <shaunagm@gmail.com> Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* [3.13] gh-108267 Fix another dataclasses docs typo (GH-119277) (#119279)Miss Islington (bot)2024-05-201-1/+2
| | | | | | gh-108267 Fix another dataclasses docs typo (GH-119277) (cherry picked from commit 423bbcbbc43cacfb6a217c04f890a47d3cf7c3a9) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* [3.13] gh-118760: Restore the default value of tkinter.wantobjects to 1 ↵Miss Islington (bot)2024-05-201-10/+0
| | | | | | | | (GH-118784) (GH-119251) It was set to 2 in 65f5e586a1239ed1a66d8284773d7b02ce40e480 (GH-98592). (cherry picked from commit e188527c343c74574d481b77c30063db1436e62b) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.13] Use correct markup in unittest.mock.reset_mock documentation ↵Miss Islington (bot)2024-05-201-3/+3
| | | | | | | | (GH-119207) (GH-119250) Use correct markup in unittest.mock.reset_mock documentation (GH-119207) (cherry picked from commit 6b80a5b20f31a067bd1c374295608df5f1210f49) Co-authored-by: Tialo <65392801+Tialo@users.noreply.github.com>
* [3.13] DOCS: Suggest always calling exec with a globals argument and no ↵Miss Islington (bot)2024-05-201-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | locals argument (GH-119235) (#119239) DOCS: Suggest always calling exec with a globals argument and no locals argument (GH-119235) Many users think they want a locals argument for various reasons but they do not understand that it makes code be treated as a class definition. They do not want their code treated as a class definition and get surprised. The reason not to pass locals specifically is that the following code raises a `NameError`: ```py exec(""" def f(): print("hi") f() def g(): f() g() """, {}, {}) ``` The reason not to leave out globals is as follows: ```py def t(): exec(""" def f(): print("hi") f() def g(): f() g() """) ``` (cherry picked from commit 7e1a130b8ff1ed8b3a5f00fe0f06d3916b852216) Co-authored-by: Hood Chatham <roberthoodchatham@gmail.com>
* [3.13] [docs] TypeVarTuple default is keyword-only (GH-119215) (#119224)Miss Islington (bot)2024-05-201-1/+1
| | | | | (cherry picked from commit e406b399f9f677cda3d48ed8d7c9d29a173f51f3) Co-authored-by: Sebastian Rittau <srittau@rittau.biz>
* [3.13] typing docs: Fix formatting issue (GH-119210) (#119212)Miss Islington (bot)2024-05-201-1/+1
| | | | | | typing docs: Fix formatting issue (GH-119210) (cherry picked from commit 72d07dd30bc10751fe0298915c918eb08e555a7a) Co-authored-by: David Foster <david@dafoster.net>
* [3.13] marshal docs: Remove reference to "Sun" (GH-119161) (#119167)Miss Islington (bot)2024-05-191-1/+1
| | | | | | | | Nobody has been using a Sun machine for a long time. When I saw this sentence in a lightning talk just now, I thought it was talking about sending Python code on a spacecraft. (cherry picked from commit 697465ff88e49d98443025474e5b534adfba2cb0) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.13] docs: make mimalloc license text literal (GH-119046) (#119149)Miss Islington (bot)2024-05-181-21/+21
| | | | | | docs: make mimalloc license text literal (GH-119046) (cherry picked from commit 691429702f1cb657e65f4e5275bb5ed16121d2b7) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
* [3.13] gh-119078: Clarify venv tutorial (GH-119129) (GH-119142)Miss Islington (bot)2024-05-181-4/+4
| | | (cherry picked from commit 0f5e8bed636c2f29701e5a1965d1b088d33abbf0)
* [3.13] Minor improvements to the docs for itertools.tee() (gh-119135) ↵Miss Islington (bot)2024-05-181-10/+11
| | | | (gh-119136)
* [3.13] gh-108267: Fix object.__setattr__ regression in dataclasses docs ↵Miss Islington (bot)2024-05-161-1/+2
| | | | | | (GH-119082) (#119097) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* [3.13] Use literal syntax in origin property (GH-119029) (#119083)Miss Islington (bot)2024-05-161-1/+1
| | | | | | Use literal syntax in origin property (GH-119029) (cherry picked from commit 66b73e9724fc376715ae264c8282dc1e981e4f17) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
* [3.13] gh-119009: Add gettext target (GH-119006) (#119074)Miss Islington (bot)2024-05-152-0/+8
| | | | Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
* [3.13] 3.13 What's New: Add PEP 702 (GH-118922) (#119062)Miss Islington (bot)2024-05-151-0/+3
| | | | | | | | I honestly forgot this slipped into 3.13, but I think it's worth highlighting more, as it is a PEP-sized change that makes the type system significantly more powerful. @Yhg1s I think it's also worth mentioning in your release announcements. (cherry picked from commit ee13797dec988884f8792144fe5b3d7f5c8083c9) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.13] Misc improvements to the itertools docs (gh-119040) (#119045)Miss Islington (bot)2024-05-141-35/+26
|
* [3.13] Itertools docs: fix parameter names and indentation in Python ↵Miss Islington (bot)2024-05-141-5/+5
| | | | equivalents (gh-118977) (#119043)
* [3.13] gh-119010: Adds docs about `__type_params__` to ↵Miss Islington (bot)2024-05-131-2/+6
| | | | | | | | | `functools.update_wrapper` (GH-119012) (#119013) gh-119010: Adds docs about `__type_params__` to `functools.update_wrapper` (GH-119012) (cherry picked from commit b04c497f187b0b474e431a6d8d282269b40ffe52) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* [3.13] Improve the `rmtree` doc for `dir_fd` param addition in 3.11 ↵Miss Islington (bot)2024-05-131-1/+1
| | | | | | (GH-118964) (#118991) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* [3.13] Correct the argument names for `secrets.choice` and ↵Miss Islington (bot)2024-05-101-3/+3
| | | | | | | | | | `secrets.randbelow` in `secrets.rst` (GH-118098) (GH-118906) Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst` (GH-118098) Correct the argument names for `secrets.choice` and `secrets.randbelow` in `secrets.rst`. (cherry picked from commit c444362c6e0b6c01f49c3bee864100f52bd3b640) Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>
* gh-118209: Add Windows structured exception handling to mmap module (GH-118213)Miss Islington (bot)2024-05-101-0/+3
| | | | | (cherry picked from commit e85e8deaf3220c8d12b69294e45645aaf20187b9) Co-authored-by: Dobatymo <Dobatymo@users.noreply.github.com>
* gh-118689: Doc: fix ePub build (GH-118690)Miss Islington (bot)2024-05-104-2/+7
| | | | | (cherry picked from commit 7ac933e2609b2ef9b08ccf9c815b682b0e1ede2a) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* [3.13] gh-118851: Default ctx arguments to AST constructors to Load() ↵Miss Islington (bot)2024-05-092-6/+8
| | | | | | | | (GH-118854) (#118871) (cherry picked from commit 68fbc00dc870f6a8dcbecd2ec19298e21015867f) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-118486: Update docs for CVE-2024-4030 reference (GH-118737)Steve Dower2024-05-091-0/+14
| | | Update docs for CVE-2024-4030 reference
* [3.13] Format None, True, False and NotImplemented as literals (GH-118758) ↵Miss Islington (bot)2024-05-0829-61/+61
| | | | | | | (GH-118792) (cherry picked from commit 05c2fe1acda9ea5a57061642c36e8b73bb4fbba4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.13] docs: module page titles should not start with a link to themselves ↵Miss Islington (bot)2024-05-08220-443/+440
| | | | | | | | (GH-117099) (#118790) docs: module page titles should not start with a link to themselves (GH-117099) (cherry picked from commit bcb435ee8ff41b5ec5d879ee0b6651f146a66151) Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
* [3.13] Docs: fix typos in documentation (GH-118752) (#118787)Miss Islington (bot)2024-05-084-4/+4
| | | | | | Docs: fix typos in documentation (GH-118752) (cherry picked from commit 7b0c247f1c176e092777fce4677a00f22c738b3c) Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
* Python 3.13.0b1v3.13.0b1Thomas Wouters2024-05-081-1/+1
|
* gh-118671: Updated dead ActiveState links (#118730)trag1c2024-05-089-10/+10
| | | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
* Regen ``Doc/requirements-oldest-sphinx.txt`` (#118736)Kirill Podoprigora2024-05-081-3/+3
| | | Regen dependencies
* gh-109975: Make a rough editorial pass over What's New (#118711)T. Wouters2024-05-071-509/+542
| | | | | | Make a rough editorial pass over Python 3.13's What's New document. Add the release highlights, remove or merge some duplicated entries, and reorder some of the sections (removals should really go before future deprecations).
* gh-118650: Document `Enum._repr_*` reservation exclusion (GH-118698)chrysn2024-05-071-1/+7
|
* gh-118518: Improve perf docs (#118708)Pablo Galindo Salgado2024-05-071-22/+48
|
* gh-118660: Add second type parameter to (Async)ContextManager (#118681)Jelle Zijlstra2024-05-071-2/+18
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* Remove Python 3.5 hardcoded version in the tutorial appendix (GH-117612)Kerim Kabirov2024-05-071-2/+2
|
* gh-66410: Do not stringify arguments of Tkinter callback (GH-98592)Serhiy Storchaka2024-05-071-0/+10
| | | | | | | | | Callbacks registered in the tkinter module now take arguments as various Python objects (int, float, bytes, tuple), not just str. To restore the previous behavior set tkinter module global wantobject to 1 before creating the Tk object or call the wantobject() method of the Tk object with argument 1. Calling it with argument 2 restores the current default behavior.
* gh-118518: Rename `PYTHONPERFJITSUPPORT` and `-X perfjit` with underscores ↵Hugo van Kemenade2024-05-074-14/+14
| | | | (#118693)
* gh-118310: Fix documentation for `enum.Enum.__new__` (GH-118311)Momo Eissenhauer2024-05-071-5/+7
| | | | | | | The provided example was incorrect: - The example enum was missing the `int` mixin as implied by the context - The value of `int('1a', 16)` was incorrectly given as 17 (should be 26)
* gh-109653: What's new: Note improved import times for several stdlib modules ↵Alex Waygood2024-05-071-0/+9
| | | | in Python 3.13 (#118697)
* gh-109975: Update 'What's New in Python 3.13' for beta (#118694)Hugo van Kemenade2024-05-071-7/+2
|
* Fix several typos in documentation (GH-118625)Xie Yanbo2024-05-073-4/+4
|
* Docs: add whatsnew for free-threading (#118679)Sam Gross2024-05-071-0/+46
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* gh-117486: Improve behavior for user-defined AST subclasses (#118212)Jelle Zijlstra2024-05-062-1/+19
| | | | | | | | Now, such classes will no longer require changes in Python 3.13 in the normal case. The test suite for robotframework passes with no DeprecationWarnings under this PR. I also added a new DeprecationWarning for the case where `_field_types` exists but is incomplete, since that seems likely to indicate a user mistake.
* gh-118647: Add defaults to typing.Generator and typing.AsyncGenerator (#118648)Jelle Zijlstra2024-05-061-4/+22
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* gh-115119: Default to --with-system-libmpdec=yes (#118539)Erlend E. Aasland2024-05-062-2/+14
| | | Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
* gh-116322: Rename PyModule_ExperimentalSetGIL to PyUnstable_Module_SetGIL ↵Petr Viktorin2024-05-061-1/+1
| | | | (GH-118645)