summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* Add `.. availability:: Windows` directive to COM-related function prototype ↵Jun Komoda2025-01-071-0/+2
| | | | | (GH-127436) Add a directive to prototype that "returns a foreign function that will call a COM method"
* gh-108202: Document calendar.Calendar.firstweekday (#128566)Erlend E. Aasland2025-01-071-4/+16
|
* gh-108202: Document `calendar.Calendar` methods `getfirstweekday` and ↵Stan Ulbrych2025-01-061-0/+8
| | | | `setfirstweekday` (#127579)
* gh-127350: Add Py_fopen() and Py_fclose() functions (#127821)Victor Stinner2025-01-062-0/+38
|
* gh-90241: Clarify documentation for PyUnicode_FSConverter and ↵Serhiy Storchaka2025-01-062-11/+36
| | | | | | PyUnicode_FSDecoder (GH-128451) Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-77214: Update outdated documentation for numeric PyArg_Parse formats ↵Serhiy Storchaka2025-01-061-8/+14
| | | | (GH-128454)
* Docs: fix `MessageDefect` references in email.policy docs (#128468)Yuki Kobayashi2025-01-052-3/+2
|
* gh-115765: Document and enforce Autoconf 2.72 requirement (#128502)Erlend E. Aasland2025-01-041-1/+4
|
* gh-127954: Document PyObject_DelItemString (#127986)RUANG (James Roy)2025-01-041-0/+7
|
* Docs: amend json.dump() post gh-128482 (#128489)Erlend E. Aasland2025-01-041-5/+8
|
* gh-126719: Clarify math.fmod docs (#127741)Stan Ulbrych2025-01-041-1/+2
| | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* Docs: mark up json.dump() using parameter list (#128482)Erlend E. Aasland2025-01-041-48/+70
| | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-128400: Only show the current thread in `faulthandler` if the GIL is ↵Peter Bierma2025-01-031-0/+4
| | | | disabled (GH-128425)
* gh-112015: Implement `ctypes.memoryview_at()` (GH-112018)Rian Hunter2025-01-032-0/+30
| | | | | Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-128317: Highlight today in colour in calendar CLI output (#128318)Hugo van Kemenade2025-01-032-4/+40
| | | | Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
* gh-115765: Upgrade to GNU Autoconf 2.72 (#128411)Erlend E. Aasland2025-01-031-0/+3
|
* gh-108202: Document calendar.TextCalendar formatting helpers (#127608)Stan Ulbrych2025-01-031-1/+26
| | | | | | | Document the following TextCalendar methods: - formatday() - formatmonthname() - formatweekday() - formatweekheader()
* gh-128426: Mention PySequence_Fast in free-threading C API HOWTO (#128428)Nathan Goldbaum2025-01-031-2/+4
|
* Revert "Doc: Show object descriptions in the table of contents (#125757)" ↵Hugo van Kemenade2025-01-023-10/+1
| | | | (#128406)
* gh-126624: Expose error code ``XML_ERROR_NOT_STARTED`` of Expat >=2.6.4 ↵Sebastian Pipping2025-01-021-0/+7
| | | | | | | | | (#126625) Expose error code ``XML_ERROR_NOT_STARTED`` in `xml.parsers.expat.errors` which was introduced in Expat 2.6.4. Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-124130: Fix a bug in matching regular expression \B in empty string ↵Serhiy Storchaka2025-01-022-5/+6
| | | | (GH-127007)
* gh-95371: Add support for other image formats(e.g. PNG) to the turtle… ↵Shin-myoung-serp2025-01-021-5/+19
| | | | | | | | (#95378) Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* gh-128349: Use `.. data::` instead of `.. class::` for pre-defined decimal ↵abkmystery2025-01-022-5/+5
| | | | `Context` objects (#128379)
* gh-121676: Raise a ``DeprecationWarning`` if the Python implementation of ↵Kirill Podoprigora2025-01-012-0/+10
| | | | | | | | | | | | | | | | | | ``functools.reduce`` is called with `function` or `sequence` as a keyword args (#121677) Python implementation of `functools` allows calling `reduce` with `function` or `sequence` as keyword args. This doesn't match behavior of our C accelerator and our documentation for `functools.reduce` states that `function`and `sequence` are positional-only arguments. Now calling a Python implementation of `functools.reduce` with `function` or `sequence` as keyword args would raise a `DeprecationWarning` and is planned to be prohibited in Python 3.16. Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* Reword `about.rst` to not limit Sphinx (#128325)Stan Ulbrych2024-12-311-7/+8
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* gh-128317: Document `calendar.TextCalendar.formatweek` (#128353)Hugo van Kemenade2024-12-301-0/+8
|
* Docs: correctly markup sys.monitoring "What's New" entry (#128346)Erlend E. Aasland2024-12-301-2/+2
| | | The sys.monitoring entry was added with commit d2f1d917e.
* gh-123424: add `ZipInfo._for_archive` to set suitable default properties ↵Bénédikt Tran2024-12-292-0/+19
| | | | | | | (#123429) --------- Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* expand the `asyncio.run_coroutine_threadsafe` recipes (#127576)Thomas Grainger2024-12-291-8/+53
| | | Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* gh-128192: support HTTP sha-256 digest authentication as per RFC-7617 ↵Calvin Bui2024-12-282-0/+11
| | | | | | | | | (GH-128193) support sha-256 digest authentication Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Gregory P. Smith <greg@krypto.org>
* 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.