Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-100488: Add is_integer method to fractions.Fraction (#100489) | Shantanu | 2023-01-01 | 1 | -0/+6 |
| | |||||
* | gh-100546: Remove incorrect positional-only marker from eval (#100547) | Shantanu | 2023-01-01 | 1 | -1/+1 |
| | | | | | | All the arguments are positional-only. The current status after #99476 seems to be to not use positional-only markers in documentation, hence I've simply removed it. | ||||
* | GH-87002: fix caching documentation in `struct` module (#24164) | Sandeep Subramanian | 2022-12-31 | 1 | -3/+3 |
| | |||||
* | gh-100633 Tutorial: Fix dataclasses import (#100638) | Owain Davies | 2022-12-31 | 1 | -1/+1 |
| | | | import dataclass not dataclasses from dataclasses | ||||
* | GH-85979: Clarify specification of `object.__await__` (#22320) | Paolo Lammens | 2022-12-31 | 1 | -0/+8 |
| | | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> | ||||
* | Improve comments in itertools uniquification recipes (GH-100631) | Raymond Hettinger | 2022-12-31 | 1 | -7/+12 |
| | |||||
* | gh-100616: Document 'attr' parameter for window.vline() in curses module ↵ | mathieui | 2022-12-30 | 1 | -3/+3 |
| | | | | | (#24961) Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> | ||||
* | gh-100583: Improve the `pydoc` documentation (#100590) | ram vikram singh | 2022-12-29 | 1 | -4/+4 |
| | |||||
* | GH-100101: Clarify documentation of zip's strict option (GH-100103) | JustAnotherArchivist | 2022-12-28 | 1 | -4/+14 |
| | |||||
* | Restore early-out to factor(). Strengthen tests. (GH-100591) | Raymond Hettinger | 2022-12-28 | 1 | -5/+15 |
| | |||||
* | gh-94172: Update docs for params removed in 3.12 (#100431) | Hugo van Kemenade | 2022-12-28 | 6 | -53/+53 |
| | | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com> | ||||
* | gh-100540: Remove obsolete '--with-system-ffi' configure option (GH-100544) | Zachary Ware | 2022-12-28 | 1 | -5/+0 |
| | | | | | It has had no effect on non-macOS platforms for a long time, and has had the non-obvious effect of invoking `pkg_config` and not setting `-DUSING_APPLE_OS_LIBFFI` on macOS since GH-22855. | ||||
* | Improve factor() recipe and fix its tests (GH-100576) | Raymond Hettinger | 2022-12-28 | 1 | -20/+20 |
| | |||||
* | gh-55688: Add note about ending backslashes for raw strings (#94768) | Stanley | 2022-12-28 | 2 | -0/+45 |
| | | | Co-authored-by: hauntsaninja <hauntsaninja@gmail.com> | ||||
* | gh-92446: Improve argparse choices docs; revert bad change to lzma docs (#94627) | Guy Yagev | 2022-12-26 | 2 | -7/+7 |
| | | | | | | | Based on the definition of the collections.abc classes, it is more accurate to use "sequence" instead of "container" when describing argparse choices. A previous attempt at fixing this in #92450 was mistaken; this PR reverts that change. Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | ||||
* | gh-99308: Clarify re docs for byte pattern group names (#99311) | Ilya Kulakov | 2022-12-25 | 1 | -7/+9 |
| | |||||
* | gh-100472: Fix docs claim that compileall parameters could be bytes (#100473) | Shantanu | 2022-12-24 | 1 | -2/+2 |
| | |||||
* | [Minor PR] Quotes in documentation changed into code blocks (#99536) | Bart Broere | 2022-12-24 | 1 | -0/+4 |
| | | | | | Minor formatting fix in documentation Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | ||||
* | gh-100428: Make float documentation more accurate (#100437) | Shantanu | 2022-12-24 | 1 | -9/+12 |
| | | | | Previously, the grammar did not accept `float("10")`. Also implement mdickinson's suggestion of removing the indirection. | ||||
* | gh-99535: Add test for inheritance of annotations and update documentation ↵ | MonadChains | 2022-12-24 | 2 | -0/+10 |
| | | | | (#99990) | ||||
* | gh-99908: Tutorial: Modernize the 'data-record class' example (#100499) | JosephSBoyle | 2022-12-24 | 1 | -9/+15 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | Misc Itertools recipe tweaks (GH-100493) | Raymond Hettinger | 2022-12-24 | 1 | -5/+49 |
| | |||||
* | gh-77771: Add enterabs example in sched (#92716) | Stanley | 2022-12-24 | 1 | -5/+11 |
| | | | Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> | ||||
* | gh-100268: Add is_integer method to int (#100439) | Shantanu | 2022-12-24 | 1 | -0/+6 |
| | | | This improves the lives of type annotation users of `float` - which type checkers implicitly treat as `int|float` because that is what most code actually wants. Before this change a `.is_integer()` method could not be assumed to exist on things annotated as `: float` due to the method not existing on both types. | ||||
* | Add "strict" to dotproduct(). Add docstring. Factor-out common code. (GH-100480) | Raymond Hettinger | 2022-12-23 | 1 | -2/+3 |
| | |||||
* | GH-100425: Improve accuracy of builtin sum() for float inputs (GH-100426) | Raymond Hettinger | 2022-12-23 | 3 | -7/+6 |
| | |||||
* | gh-99482: remove `jython` compatibility parts from stdlib and tests (#99484) | Nikita Sobolev | 2022-12-23 | 1 | -0/+3 |
| | |||||
* | gh-98712: Clarify "readonly bytes-like object" semantics in C arg-parsing ↵ | Petr Viktorin | 2022-12-23 | 1 | -19/+35 |
| | | | | docs (#98710) | ||||
* | Fix typo in 3.12 What's New (#100449) | Shantanu | 2022-12-23 | 1 | -1/+1 |
| | |||||
* | gh-48496: Added example and link to faq for UnboundLocalError in reference ↵ | Stanley | 2022-12-22 | 2 | -0/+4 |
| | | | | (#93068) | ||||
* | gh-100344: Add C implementation for `asyncio.current_task` (#100345) | Itamar Ostricher | 2022-12-22 | 1 | -0/+3 |
| | | | Co-authored-by: pranavtbhat | ||||
* | gh-91081: Add note on WeakKeyDictionary behavior when deleting a replaced ↵ | Stanley | 2022-12-21 | 1 | -0/+24 |
| | | | | | | entry (#91499) Co-authored-by: Pieter Eendebak <P.T.eendebak@tudelft.nl> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | gh-99991: improve docs on str.encode and bytes.decode (#100198) | Bisola Olasehinde | 2022-12-21 | 1 | -27/+33 |
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | Clarify that every thread has its own default context in contextvars (#99246) | Pablo Galindo Salgado | 2022-12-20 | 1 | -0/+5 |
| | |||||
* | gh-88211: Change lower-case and upper-case to match recommendations in ↵ | Brad Wolfe | 2022-12-20 | 1 | -1/+1 |
| | | | | imaplib docs (#99625) | ||||
* | gh-89051: Add ssl.OP_LEGACY_SERVER_CONNECT (#93927) | Thomas Grainger | 2022-12-20 | 1 | -0/+7 |
| | | | | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Fixes https://github.com/python/cpython/issues/89051 | ||||
* | gh-69929: re docs: Add more specific definition of \w (#92015) | Stanley | 2022-12-20 | 1 | -4/+3 |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | gh-94912: Added marker for non-standard coroutine function detection (#99247) | Carlton Gibson | 2022-12-18 | 2 | -2/+29 |
| | | | | | This introduces a new decorator `@inspect.markcoroutinefunction`, which, applied to a sync function, makes it appear async to `inspect.iscoroutinefunction()`. | ||||
* | Correct CVE-2020-10735 documentation (#100306) | Jeremy Paige | 2022-12-18 | 1 | -3/+3 |
| | |||||
* | Docs: Use `PY_VERSION_HEX` for version comparison (#100179) | Hugo van Kemenade | 2022-12-17 | 2 | -1/+3 |
| | |||||
* | gh-97909: Fix markup for `PyMethodDef` members (#100089) | ram vikram singh | 2022-12-17 | 1 | -17/+18 |
| | |||||
* | gh-78707: deprecate passing >1 argument to `PurePath.[is_]relative_to()` ↵ | Barney Gale | 2022-12-17 | 1 | -3/+11 |
| | | | | | | | (GH-94469) This brings `relative_to()` and `is_relative_to()` more in line with other pathlib methods like `rename()` and `symlink_to()`. Resolves #78707. | ||||
* | gh-99830: asyncio: Document returns of remove_{reader,writer} (#100302) | Ben Darnell | 2022-12-16 | 1 | -2/+4 |
| | |||||
* | "Compound statement" docs: Fix with-statement step indexing (#100286) | Frank Dana | 2022-12-16 | 1 | -1/+1 |
| | | | | | Back in commit 226e6e7d4326cf91ef37e13528eb1f62de1bb832 an item was added to the list, renumbering all the rest of the items, but the forward-reference wasn't updated to match. | ||||
* | Document that zipfile's pwd parameter is a `bytes` object (#100209) | JustAnotherArchivist | 2022-12-16 | 1 | -7/+8 |
| | |||||
* | gh-99767: mark `PyTypeObject.tp_watched` as internal use only in table (#100271) | Carl Meyer | 2022-12-16 | 1 | -1/+1 |
| | |||||
* | Fix typo in introduction.rst (#100266) | Mikhail Berkov | 2022-12-16 | 1 | -1/+1 |
| | |||||
* | GH-100234: Set a default value for random.expovariate() (GH-100235) | Raymond Hettinger | 2022-12-15 | 1 | -1/+4 |
| | |||||
* | Remove uninformative itertools recipe (GH-100253) | Raymond Hettinger | 2022-12-15 | 1 | -7/+0 |
| | |||||
* | GH-99767: update PyTypeObject docs for type watchers (GH-99928) | Carl Meyer | 2022-12-15 | 2 | -0/+12 |
| |