summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.14.0a4v3.14.0a4Hugo van Kemenade2025-01-1412-24/+24
|
* gh-71339: Add additional assertion methods for unittest (GH-128707)Serhiy Storchaka2025-01-141-0/+61
| | | | | | | | | | | | Add the following methods: * assertHasAttr() and assertNotHasAttr() * assertIsSubclass() and assertNotIsSubclass() * assertStartsWith() and assertNotStartsWith() * assertEndsWith() and assertNotEndsWith() Also improve error messages for assertIsInstance() and assertNotIsInstance().
* gh-128182: Add per-object memory access synchronization to `ctypes` (GH-128490)Peter Bierma2025-01-131-0/+30
|
* gh-67748: DOC:Add summary table for str methods in stdtypes.rst (GH-1709)Cheryl Sabella2025-01-131-0/+94
| | | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net> Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* gh-123345: improve `fnmatch` docs (#123346)Bénédikt Tran2025-01-131-6/+12
|
* gh-128696: Add arm64 to the get_platform return val description (#128701)RUANG (James Roy)2025-01-111-1/+2
|
* gh-128409: Document that pdb.post_mortem() accepts exceptions (#128410)Adam Johnson2025-01-101-5/+7
| | | Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* gh-128650: Fix incorrect statement in partial documentation (gh-128651)dgpb2025-01-091-2/+2
|
* gh-124433: fix docs for `asyncio.Queue.task_done` (#128669)Kumar Aditya2025-01-091-3/+3
|
* gh-126137: improve docs for `loop.add_reader` and `loop.add_writer` (#128666)Kumar Aditya2025-01-091-0/+6
|
* gh-79149: document reentrant safety of `loop.call_soon_threadsafe` (#128662)Kumar Aditya2025-01-091-0/+3
| | | Co-authored-by: Thomas Grainger <tagrain@gmail.com>
* gh-97850: Remove the mention of removal from `ResourceReader` docs (#128602)Tomas R.2025-01-081-1/+1
| | | Remove the mention of removal from ResourceReader docs
* gh-87506: Amend json.loads() post PR #127355 (#128609)Erlend E. Aasland2025-01-081-6/+2
|
* gh-87506: Document that json.load*() can raise UnicodeDecodeError (#127355)Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)2025-01-081-0/+4
| | | Co-authored-by: Erlend Aasland <erlend@python.org>
* Docs: mark up json.load() using parameter list (#128488)Erlend E. Aasland2025-01-071-44/+69
|
* 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)
* Docs: fix `MessageDefect` references in email.policy docs (#128468)Yuki Kobayashi2025-01-051-2/+2
|
* 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-031-0/+22
| | | | | 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-031-4/+27
| | | | Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
* gh-108202: Document calendar.TextCalendar formatting helpers (#127608)Stan Ulbrych2025-01-031-1/+26
| | | | | | | Document the following TextCalendar methods: - formatday() - formatmonthname() - formatweekday() - formatweekheader()
* 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-021-5/+2
| | | | (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-021-3/+3
| | | | `Context` objects (#128379)
* gh-128317: Document `calendar.TextCalendar.formatweek` (#128353)Hugo van Kemenade2024-12-301-0/+8
|
* gh-123424: add `ZipInfo._for_archive` to set suitable default properties ↵Bénédikt Tran2024-12-291-0/+11
| | | | | | | (#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-281-0/+3
| | | | | | | | | (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-272-5/+17
| | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-124761: add `socket.SO_REUSEPORT_LB` (#124961)Thomas Grainger2024-12-261-0/+8
|
* gh-127949: add docs for asyncio policy deprecation (#128269)Kumar Aditya2024-12-261-0/+8
|
* gh-128035: Add ssl.HAS_PHA to detect libssl PHA support (GH-128036)Will Childs-Klein2024-12-241-0/+6
| | | | | | * 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-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-238-39/+211
| | | | | | | | | | | | | * 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-112328: Make EnumDict usable on its own and document it (GH-123669)Petr Viktorin2024-12-201-8/+18
| | | | | 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>
* gh-112328: Document EnumDict in docs and release notes (GH-121720)Md Rokibul Islam2024-12-191-1/+16
| | | | 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-191-6/+23
| | | | (GH-122564)
* gh-127688: Add `SCHED_DEADLINE` and `SCHED_NORMAL` constants to `os` module ↵RUANG (James Roy)2024-12-191-0/+12
| | | | (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-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-174-6/+6
|