summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-127949: make deprecation of policy system more prominent (#128290)Kumar Aditya2024-12-273-6/+43
| | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-125887: Update PyObject_HasAttr exception behavior (#125907)Damien2024-12-271-1/+2
| | | | | Update PyObject_HasAttr exception behavior Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
* gh-124761: add `socket.SO_REUSEPORT_LB` (#124961)Thomas Grainger2024-12-261-0/+8
|
* Docs: Fix comment out in `c-api/typeobj.rst` (#128266)Yuki Kobayashi2024-12-261-0/+1
|
* gh-127949: add docs for asyncio policy deprecation (#128269)Kumar Aditya2024-12-262-4/+38
|
* gh-128035: Add ssl.HAS_PHA to detect libssl PHA support (GH-128036)Will Childs-Klein2024-12-242-0/+14
| | | | | | * Add ssl.HAS_PHA to detect libssl Post-Handshake-Auth support Co-authored-by: Tomas R. <tomas.roun8@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-128227: Regenerate `Doc/requirements-oldest-sphinx.txt` (#128228)Bogdan Romanyuk2024-12-241-6/+6
|
* gh-127949: deprecate `asyncio.set_event_loop` (#128218)Kumar Aditya2024-12-241-0/+4
| | | Deprecate `asyncio.set_event_loop` to be removed in Python 3.16.
* gh-127949: deprecate asyncio policy classes (#128216)Kumar Aditya2024-12-241-0/+16
|
* gh-126180: Remove getopt and optparse deprecation notices (GH-126227)Alyssa Coghlan2024-12-2311-65/+260
| | | | | | | | | | | | | * Remove getopt and optparse deprecation notices * Add new docs sections for command line app helper libraries * Add guidance on choosing a CLI parsing library to the optparse docs * Link to the new guidance from the argparse and getopt docs * Reword intro in docs section for superseded stdlib modules * Reframe the optparse->argparse guide as a migration guide rather than as an upgrade guide --------- Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-126664: revert: Use `else` instead of `finally` in docs explaining "with" ↵Gregory P. Smith2024-12-221-2/+5
| | | | | | | (#128169) Revert "gh-126664: Use `else` instead of `finally` in "The with statement" documentation. (GH-126665)" This reverts commit 25257d61cfccc3b4189f96390a5c4db73fd5302c.
* gh-112328: Make EnumDict usable on its own and document it (GH-123669)Petr Viktorin2024-12-202-10/+22
| | | | | Co-authored-by: Rafi <rafi.promit@gmail.com> Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua> Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
* Python Tutorial typo fix (#128077)shallow-beach2024-12-201-1/+1
|
* gh-112328: Document EnumDict in docs and release notes (GH-121720)Md Rokibul Islam2024-12-192-1/+21
| | | | Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <wk.cvs.github@sydorenko.org.ua> Co-authored-by: Ethan Furman <ethan@stoneleaf.us>
* gh-127274: Defer nested methods (#128012)mpage2024-12-191-0/+7
| | | | | | | Methods (functions defined in class scope) are likely to be cleaned up by the GC anyway. Add a new code flag, `CO_METHOD`, that is set for functions defined in a class scope. Use that when deciding to defer functions.
* GH-122548: Implement branch taken and not taken events for sys.monitoring ↵Mark Shannon2024-12-194-10/+47
| | | | (GH-122564)
* gh-128008: Add `PyWeakref_IsDead()` (GH-128009)Sam Gross2024-12-191-0/+9
| | | | | | | | | The `PyWeakref_IsDead()` function tests if a weak reference is dead without any side effects. Although you can also detect if a weak reference is dead using `PyWeakref_GetRef()`, that function returns a strong reference that must be `Py_DECREF()`'d, which can introduce side effects if the last reference is concurrently dropped (at least in the free threading build).
* gh-127688: Add `SCHED_DEADLINE` and `SCHED_NORMAL` constants to `os` module ↵RUANG (James Roy)2024-12-192-0/+16
| | | | (GH-127689)
* gh-122706: fix docs for asyncio ssl sockets (#128092)Kumar Aditya2024-12-191-2/+2
|
* gh-127949: deprecate `asyncio.get_event_loop_policy` (#128053)Kumar Aditya2024-12-181-0/+4
| | | This deprecates `asyncio.get_event_loop_policy` and will be removed in Python 3.16.
* gh-127174: add docs for asyncio.get_event_loop replacements (#127640)Thomas Grainger2024-12-181-0/+90
| | | Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* gh-127949: deprecate `asyncio.set_event_loop_policy` (#128024)Kumar Aditya2024-12-181-0/+4
| | | | First step towards deprecating the asyncio policy system. This deprecates `asyncio.set_event_loop_policy` and will be removed in Python 3.16.
* Python 3.14.0a3v3.14.0a3Hugo van Kemenade2024-12-175-8/+8
|
* Fix typo in itertools docs (gh-127995)Gugubo2024-12-161-1/+1
|
* gh-127896: Add missing documentation of `PySequence_In` (GH-127979)Yuki Kobayashi2024-12-162-0/+13
| | | | Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
* Clarify ast docs to use a less confusing example for `ast.ParamSpec` (#127955)Steve C2024-12-151-2/+2
| | | Fix typo in ast docs: ParamSpec defaults
* gh-127852: add remark about ',' separator (#127854)Sergey B Kirpichev2024-12-141-1/+3
| | | | | | | | | Specify that it is valid for floats and ints with 'd' presentation and an error otherwise. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Minor readability improvements for the itertools recipes (gh-127928)Raymond Hettinger2024-12-131-39/+35
|
* gh-127691: add type checks when using `PyUnicodeError` objects (GH-127694)Bénédikt Tran2024-12-131-0/+6
|
* gh-102471, PEP 757: Add PyLong import and export API (#121339)Victor Stinner2024-12-133-0/+192
| | | | | Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> Co-authored-by: Steve Dower <steve.dower@microsoft.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* link to the correct output method in documentation (#127857)Viktor Kálmán2024-12-131-1/+1
|
* Document PyObject_SelfIter (#127861)Miro Hrončok2024-12-132-0/+9
|
* Fix typo in traceback docs (#127884)Daniel Haag2024-12-121-1/+1
|
* Simplify and speed-up an itertools recipe (gh-127848)Raymond Hettinger2024-12-121-6/+6
|
* gh-118915: C API: Document frame locals proxies. (#127720)Peter Bierma2024-12-111-1/+21
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-127791: Fix, document, and test `PyUnstable_AtExit` (#127793)Peter Bierma2024-12-112-0/+13
|
* gh-126821: Add versionadded annotation to use_system_logger feature. (#127755)Russell Keith-Magee2024-12-101-0/+2
| | | Add versionadded annotation to use_system_logger feature.
* Docs: Fix indents in `xmlrpc.client.rst` (#127782)Yuki Kobayashi2024-12-101-4/+4
|
* gh-59705: Set OS thread name when Thread.name is changed (#127702)Victor Stinner2024-12-101-0/+12
| | | Co-authored-by: Petr Viktorin <encukou@gmail.com>
* gh-101100: Fix sphinx warnings in `whatsnew/3.0.rst` (#127662)Yuki Kobayashi2024-12-103-57/+59
|
* gh-125420: implement `Sequence.count` API on `memoryview` objects (#125443)Bénédikt Tran2024-12-101-1/+7
|
* gh-127718: Add colour to `test.regrtest` output (#127719)Hugo van Kemenade2024-12-101-0/+4
|
* gh-125420: implement `Sequence.index` API on `memoryview` objects (#125446)Bénédikt Tran2024-12-101-0/+9
|
* gh-126925: Modify how iOS test results are gathered (#127592)Russell Keith-Magee2024-12-093-4/+65
| | | | | | | Adds a `use_system_log` config item to enable stdout/stderr redirection for Apple platforms. This log streaming is then used by a new iOS test runner script, allowing the display of test suite output at runtime. The iOS test runner script can be used by any Python project, not just the CPython test suite.
* gh-101100: amend references starting with `!~` in gh-127054 (#127684)Yuki Kobayashi2024-12-061-5/+5
|
* GH-125413: Revert addition of `pathlib.Path.scandir()` method (#127377)Barney Gale2024-12-052-35/+0
| | | | | | | | | | Remove documentation for `pathlib.Path.scandir()`, and rename the method to `_scandir()`. In the private pathlib ABCs, make `iterdir()` abstract and call it from `_scandir()`. It's not worthwhile to add this method at the moment - see discussion: https://discuss.python.org/t/ergonomics-of-new-pathlib-path-scandir/71721 Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* [Docs] GDB howto: Fix block type of a cast example (#127621)Maciej Olko2024-12-051-1/+1
|
* gh-127221: Add colour to unittest output (#127223)Hugo van Kemenade2024-12-057-18/+25
| | | Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
* gh-127413: allow to show specialized bytecode via `dis` CLI (#127414)Bénédikt Tran2024-12-052-1/+13
|
* gh-119182: Complete PyUnicodeWriter documentation (#127607)Victor Stinner2024-12-051-0/+9
|