summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* gh-126862: Use `Py_ssize_t` instead of `int` when processing the number of ↵Bénédikt Tran2025-01-102-4/+6
| | | | super-classes (#127523)
* gh-128691: Use deferred reference counting on `_thread._local` (#128693)Sam Gross2025-01-101-0/+4
| | | | | This change, along with the LOAD_ATTR specializations, makes the "thread_local_read" micro benchmark in Tools/ftscalingbench/ftscalingbench.py scale well to multiple threads.
* gh-127196: Fix crash in `_interpreters`, when `shared` had invalid encodings ↵sobolevn2025-01-093-2/+20
| | | | (#127220)
* gh-128650: Fix incorrect statement in partial documentation (gh-128651)dgpb2025-01-091-2/+2
|
* gh-128002: fix `asyncio.all_tasks` against concurrent deallocations of tasks ↵Kumar Aditya2025-01-092-6/+15
| | | | (#128541)
* gh-128661: Fix `typing.evaluate_forward_ref` not showing deprecation (#128663)sobolevn2025-01-093-1/+49
| | | gh-128661: Fix `typing.evaluate_forward_ref` not showing deprecataion
* gh-128673: Increase coverage of `typing.get_type_hints` (#128674)sobolevn2025-01-091-0/+19
|
* gh-118915: Document `PyUnstable_InterpreterState_GetMainModule` (GH-128483)Peter Bierma2025-01-091-0/+11
|
* 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-128629: Add Py_PACK_VERSION and Py_PACK_FULL_VERSION (GH-128630)Petr Viktorin2025-01-0918-33/+358
|
* 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
* acks: add myself (#128652)Filipe Laíns 🇵🇸2025-01-081-0/+1
|
* GH-66409: check if exec_prefix is the same as prefix before searching ↵Filipe Laíns 🇵🇸2025-01-082-0/+5
| | | | executable_dir (#127974)
* Remove unnecessary LIST_TO_TUPLE conversions (GH-126558)Brandt Bucher2025-01-082-0/+58
|
* gh-111178: fix UBSan failures in `Objects/capsule.c` (GH-128239)Bénédikt Tran2025-01-081-11/+12
| | | fix UBSan failures for `PyCapsule`
* gh-111178: fix UBSan failures in `Python/context.c` (GH-128242)Bénédikt Tran2025-01-081-53/+68
| | | | | | * fix UBSan failures for `PyContext` * fix UBSan failures for `PyContextVar` * fix UBSan failures for `PyContextToken` * fix UBSan failures for `_PyContextTokenMissing`
* gh-111178: fix UBSan failures in `Python/hamt.c` (GH-128247)Bénédikt Tran2025-01-081-90/+84
| | | | | | | * fix UBSan failures for `PyHamtObject` * fix UBSan failures for `PyHamtNode_Array` * fix UBSan failures for `PyHamtNode_Collision` * fix UBSan failures for `PyHamtNode_Bitmap`
* gh-128615: Cover pickling of `ParamSpecArgs` and `ParamSpecKwargs` (#128616)sobolevn2025-01-081-0/+12
|
* GH-127970: find the runtime library when dladdr is available (#127972)Filipe Laíns 🇵🇸2025-01-085-24/+31
|
* gh-128613: Increase `typing.Concatenate` coverage (#128614)sobolevn2025-01-081-0/+12
|
* gh-128617: Fix `test_typing.test_readonly_inheritance` (#128618)sobolevn2025-01-081-4/+4
|
* gh-41872: Fix quick extraction of module docstrings from a file in pydoc ↵Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి)2025-01-083-15/+104
| | | | | | | | | (GH-127520) It now supports docstrings with single quotes, escape sequences, raw string literals, and other Python syntax. Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* 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>
* GH-127809: Fix the JIT's understanding of ** (GH-127844)Brandt Bucher2025-01-088-26/+199
|
* gh-127614: Correctly check for ttyname_r() in configure (#128503)Erlend E. Aasland2025-01-075-10/+10
| | | | PR #14868 replaced the ttyname() call with ttyname_r(), but the old check remained.
* gh-127350: Add more tests for Py_fopen() (GH-128587)Serhiy Storchaka2025-01-073-25/+33
|
* Docs: mark up json.load() using parameter list (#128488)Erlend E. Aasland2025-01-071-44/+69
|
* gh-115999: Add free-threaded specialization for COMPARE_OP (#126410)T. Wouters2025-01-074-12/+42
| | | | | Add free-threaded specialization for COMPARE_OP, and tests for COMPARE_OP specialization in general. Co-authored-by: Donghee Na <donghee.na92@gmail.com>
* gh-111178: fix UBSan failures in `Modules/_sre/sre.c` (GH-128250)Bénédikt Tran2025-01-071-35/+56
| | | fix UBSan failures for `PatternObject`, `MatchObject`, `TemplateObject`, `ScannerObject`
* gh-111178: fix UBSan failures in `Modules/_abc.c` (GH-128253)Bénédikt Tran2025-01-071-5/+9
| | | | * fix UBSan failures in `_abc.c` * suppress unused return values
* gh-128552: fix refcycles in eager task creation (#128553)Thomas Grainger2025-01-074-6/+71
|
* gh-128302: Fix bugs in xml.dom.xmlbuilder (GH-128284)Stephen Morton2025-01-074-5/+100
| | | | | | | | * Allow DOMParser.parse() to correctly handle DOMInputSource instances that only have a systemId attribute set. * Fix DOMEntityResolver.resolveEntity(), which was broken by the Python 3.0 transition. * Add Lib/test/test_xml_dom_xmlbuilder.py with few tests.
* 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-128146: Exclude os/log.h import on older macOS versions. (#128165)Russell Keith-Magee2025-01-072-11/+24
| | | | Reworks the handling of Apple system log handling to account for older macOS versions that don't provide os-log.
* gh-128472: Add `-skip-funcs` to BOLT options to fix computed goto errors ↵Zanie Blue2025-01-073-2/+11
| | | | | | | | | | | | | (gh-128511) * Add `-skip-funcs` to BOLT options to fix computed goto errors Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com> * NEWS --------- Co-authored-by: Gregory Szorc <gregory.szorc@gmail.com>
* gh-108202: Document `calendar.Calendar` methods `getfirstweekday` and ↵Stan Ulbrych2025-01-061-0/+8
| | | | `setfirstweekday` (#127579)
* gh-128559: Remove typing import from asyncio.timeouts (#128560)Michael H2025-01-062-13/+12
|
* gh-127146: Strip dash from Emscripten compiler version (#128557)Hood Chatham2025-01-062-2/+2
| | | | | `emcc -dumpversion` will sometimes say e.g., `4.0.0-git` but in this case uname does not include `-git` in the version string. Use cut to delete everything after the dash.
* gh-127146: Skip Emscripten tests with pending fixes (#128549)Hood Chatham2025-01-066-1/+8
| | | | Marks some additional tests as skipped on Emscripten. Many of these skips can be reverted when the next Emscripten release is available.
* GH-128533: Add `NOT_TAKEN` instruction after bytecode optimization. (GH-128554)Mark Shannon2025-01-064-139/+127
|
* gh-127146: Fix test_sysconfigdata_json for Emscripten (#128556)Hood Chatham2025-01-061-4/+4
|
* GH-128375: Better instrument for `FOR_ITER` (GH-128445)Mark Shannon2025-01-0627-544/+827
|
* GH-128073: Include `EXIT_IF` when checking for escaping calls (GH-128537)Mark Shannon2025-01-062-1/+26
|
* gh-127350: Add Py_fopen() and Py_fclose() functions (#127821)Victor Stinner2025-01-0618-53/+270
|
* gh-128340: add thread safe handle for `loop.call_soon_threadsafe` (#128369)Kumar Aditya2025-01-064-1/+151
| | | Adds `_ThreadSafeHandle` to be used for callbacks scheduled with `loop.call_soon_threadsafe`.
* 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>