Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-127896: Add missing documentation of `PySequence_In` (GH-127979) | Yuki Kobayashi | 2024-12-16 | 2 | -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 C | 2024-12-15 | 1 | -2/+2 |
| | | | Fix typo in ast docs: ParamSpec defaults | ||||
* | gh-127852: add remark about ',' separator (#127854) | Sergey B Kirpichev | 2024-12-14 | 1 | -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 Hettinger | 2024-12-13 | 1 | -39/+35 |
| | |||||
* | gh-127691: add type checks when using `PyUnicodeError` objects (GH-127694) | Bénédikt Tran | 2024-12-13 | 1 | -0/+6 |
| | |||||
* | gh-102471, PEP 757: Add PyLong import and export API (#121339) | Victor Stinner | 2024-12-13 | 3 | -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án | 2024-12-13 | 1 | -1/+1 |
| | |||||
* | Document PyObject_SelfIter (#127861) | Miro Hrončok | 2024-12-13 | 2 | -0/+9 |
| | |||||
* | Fix typo in traceback docs (#127884) | Daniel Haag | 2024-12-12 | 1 | -1/+1 |
| | |||||
* | Simplify and speed-up an itertools recipe (gh-127848) | Raymond Hettinger | 2024-12-12 | 1 | -6/+6 |
| | |||||
* | gh-118915: C API: Document frame locals proxies. (#127720) | Peter Bierma | 2024-12-11 | 1 | -1/+21 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-127791: Fix, document, and test `PyUnstable_AtExit` (#127793) | Peter Bierma | 2024-12-11 | 2 | -0/+13 |
| | |||||
* | gh-126821: Add versionadded annotation to use_system_logger feature. (#127755) | Russell Keith-Magee | 2024-12-10 | 1 | -0/+2 |
| | | | Add versionadded annotation to use_system_logger feature. | ||||
* | Docs: Fix indents in `xmlrpc.client.rst` (#127782) | Yuki Kobayashi | 2024-12-10 | 1 | -4/+4 |
| | |||||
* | gh-59705: Set OS thread name when Thread.name is changed (#127702) | Victor Stinner | 2024-12-10 | 1 | -0/+12 |
| | | | Co-authored-by: Petr Viktorin <encukou@gmail.com> | ||||
* | gh-101100: Fix sphinx warnings in `whatsnew/3.0.rst` (#127662) | Yuki Kobayashi | 2024-12-10 | 3 | -57/+59 |
| | |||||
* | gh-125420: implement `Sequence.count` API on `memoryview` objects (#125443) | Bénédikt Tran | 2024-12-10 | 1 | -1/+7 |
| | |||||
* | gh-127718: Add colour to `test.regrtest` output (#127719) | Hugo van Kemenade | 2024-12-10 | 1 | -0/+4 |
| | |||||
* | gh-125420: implement `Sequence.index` API on `memoryview` objects (#125446) | Bénédikt Tran | 2024-12-10 | 1 | -0/+9 |
| | |||||
* | gh-126925: Modify how iOS test results are gathered (#127592) | Russell Keith-Magee | 2024-12-09 | 3 | -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 Kobayashi | 2024-12-06 | 1 | -5/+5 |
| | |||||
* | GH-125413: Revert addition of `pathlib.Path.scandir()` method (#127377) | Barney Gale | 2024-12-05 | 2 | -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 Olko | 2024-12-05 | 1 | -1/+1 |
| | |||||
* | gh-127221: Add colour to unittest output (#127223) | Hugo van Kemenade | 2024-12-05 | 7 | -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 Tran | 2024-12-05 | 2 | -1/+13 |
| | |||||
* | gh-119182: Complete PyUnicodeWriter documentation (#127607) | Victor Stinner | 2024-12-05 | 1 | -0/+9 |
| | |||||
* | gh-127481: Add `EPOLLWAKEUP` to the `select` module (GH-127482) | RUANG (James Roy) | 2024-12-04 | 1 | -0/+6 |
| | |||||
* | gh-123378: Ensure results of `PyUnicode*Error_Get{Start,End}` are clamped ↵ | Bénédikt Tran | 2024-12-04 | 2 | -2/+24 |
| | | | | | | (GH-123380) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> | ||||
* | Itertool recipe additions (gh-127483) | Raymond Hettinger | 2024-12-04 | 1 | -0/+37 |
| | |||||
* | gh-127271: Replace use of PyCell_GET/SET (gh-127272) | Neil Schemenauer | 2024-12-03 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | * Replace uses of `PyCell_GET` and `PyCell_SET`. These macros are not safe to use in the free-threaded build. Use `PyCell_GetRef()` and `PyCell_SetTakeRef()` instead. * Since `PyCell_GetRef()` returns a strong rather than borrowed ref, some code restructuring was required, e.g. `frame_get_var()` returns a strong ref now. * Add critical sections to `PyCell_GET` and `PyCell_SET`. * Move critical_section.h earlier in the Python.h file. * Add `PyCell_GET` to the free-threading howto table of APIs that return borrowed refs. * Add additional unit tests for free-threading. | ||||
* | gh-127347: Document `traceback.print_list` (#127348) | Tomas R. | 2024-12-03 | 1 | -0/+7 |
| | | | Previously, `traceback.print_list` didn't have a documentation entry and was not exposed in `traceback.__all__`. Now it has a documentation entry and is exposed in `__all__`. | ||||
* | gh-127255: Make `CopyComPointer` public and add to `ctypes` doc. (GH-127275) | Jun Komoda | 2024-12-03 | 2 | -1/+22 |
| | |||||
* | gh-126585: Add EHWPOISON error code (#126586) | RUANG (James Roy) | 2024-12-03 | 2 | -0/+12 |
| | |||||
* | gh-127253: Note that Stable ABI is about ABI stability (GH-127254) | Petr Viktorin | 2024-12-03 | 1 | -3/+11 |
| | |||||
* | docs(logging): fix phrasing from "operation on" to "operate on" (#127543) | Alexander Stepchenko | 2024-12-03 | 1 | -1/+1 |
| | |||||
* | gh-101100: Fix Sphinx warnings about list methods (#127054) | Yuki Kobayashi | 2024-12-02 | 3 | -8/+7 |
| | |||||
* | gh-109523: Raise a BlockingIOError if reading text from a non-blocking ↵ | Giovanni Siragusa | 2024-12-02 | 2 | -0/+29 |
| | | | | stream cannot immediately return bytes. (GH-122933) | ||||
* | gh-127443: Fix some entries in `Doc/data/refcounts.dat` (#127451) | Bénédikt Tran | 2024-12-02 | 1 | -19/+21 |
| | | | Fix incorrect entries in `Doc/data/refcounts.dat` | ||||
* | gh-126899: Add `**kw` to `tkinter.Misc.after` and `tkinter.Misc.after_idle` ↵ | Zhikang Yan | 2024-12-01 | 1 | -0/+8 |
| | | | | | | | (#126900) --------- Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> | ||||
* | gh-127356: Fix prepend doctrees directory for gettext target (#127357) | Rafael Fontenelle | 2024-12-01 | 1 | -1/+1 |
| | |||||
* | Docs: Fix incorrect indents in `c-api/type.rst` (#127449) | Yuki Kobayashi | 2024-11-30 | 1 | -25/+23 |
| | |||||
* | Link to correct class methods in asyncio primitives docs (#127270) | Ollanta Cuba Gyllensten | 2024-11-29 | 1 | -4/+4 |
| | |||||
* | fix param type in PyObject_HasAttrWithError (docs) (#127403) | biggus-developerus | 2024-11-29 | 1 | -1/+1 |
| | |||||
* | gh-127303: Add docs for token.EXACT_TOKEN_TYPES (#127304) | Илья Любавский | 2024-11-29 | 1 | -0/+7 |
| | | | | | | | --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Tomas R. <tomas.roun8@gmail.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | ||||
* | Touch up docs for ctypes.FormatError & WinError (GH-127210) | Jun Komoda | 2024-11-28 | 1 | -6/+5 |
| | | | | Reformat paragraphs, add backquotes, and directives. | ||||
* | Fix indentation for contextlib.asynccontextmanager docs (#127333) | Jelle Zijlstra | 2024-11-27 | 1 | -3/+3 |
| | |||||
* | gh-69639: Add mixed-mode rules for complex arithmetic (C-like) (GH-124829) | Sergey B Kirpichev | 2024-11-26 | 5 | -18/+93 |
| | | | | | | | | | | | | | | | "Generally, mixed-mode arithmetic combining real and complex variables should be performed directly, not by first coercing the real to complex, lest the sign of zero be rendered uninformative; the same goes for combinations of pure imaginary quantities with complex variables." (c) Kahan, W: Branch cuts for complex elementary functions. This patch implements mixed-mode arithmetic rules, combining real and complex variables as specified by C standards since C99 (in particular, there is no special version for the true division with real lhs operand). Most C compilers implementing C99+ Annex G have only these special rules (without support for imaginary type, which is going to be deprecated in C2y). | ||||
* | gh-119180: Add VALUE_WITH_FAKE_GLOBALS format to annotationlib (#124415) | Jelle Zijlstra | 2024-11-26 | 1 | -0/+11 |
| | |||||
* | GH-126985: move pyvenv.cfg detection from site to getpath (#126987) | Filipe Laíns 🇵🇸 | 2024-11-26 | 5 | -41/+112 |
| | |||||
* | Doc: Typo fix: nrace -> race (#127288) | Richard Hansen | 2024-11-26 | 1 | -1/+1 |
| |