Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-71042: Add `platform.android_ver` (#116674) | Malcolm Smith | 2024-03-27 | 2 | -1/+39 |
| | |||||
* | gh-117225: doctest: only print "and X failed" when non-zero, don't pluralise ↵ | Hugo van Kemenade | 2024-03-27 | 1 | -5/+5 |
| | | | | "1 items" (#117228) | ||||
* | Add statistics recipe for sampling from an estimated probability density ↵ | Raymond Hettinger | 2024-03-27 | 1 | -0/+58 |
| | | | | distribution (#117221) | ||||
* | Change links on the index page (#117230) | Adorilson Bezerra | 2024-03-26 | 1 | -2/+2 |
| | |||||
* | Sync main docs and docstring for median_grouped(). (gh-117214) | Raymond Hettinger | 2024-03-25 | 1 | -38/+39 |
| | |||||
* | gh-117114: Make os.path.isdevdrive available on all platforms (GH-117115) | Nice Zombies | 2024-03-25 | 1 | -13/+4 |
| | |||||
* | Add information about negative indexes to sequence datamodel doc (#110903) | Adorilson Bezerra | 2024-03-25 | 1 | -3/+6 |
| | | | Co-authored by Terry Jan Reedy | ||||
* | gh-116936: Add PyType_GetModuleByDef() to the limited C API (#116937) | Victor Stinner | 2024-03-25 | 2 | -0/+4 |
| | |||||
* | gh-87193: Support bytes objects with refcount > 1 in _PyBytes_Resize() ↵ | Serhiy Storchaka | 2024-03-25 | 1 | -4/+4 |
| | | | | | (GH-117160) Create a new bytes object and destroy the old one if it has refcount > 1. | ||||
* | Minor markup and grammar fixes in the statistics docs (gh-117216) | Raymond Hettinger | 2024-03-25 | 1 | -3/+3 |
| | |||||
* | gh-117194: Properly format 'base64' header in What's New (#117198) | Terry Jan Reedy | 2024-03-24 | 1 | -1/+1 |
| | | | It needs 6, not 3, '-'s. | ||||
* | GH-115986 Docs: promote pprint.pp usage as a default (#116614) | Kerim Kabirov | 2024-03-24 | 1 | -15/+18 |
| | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> | ||||
* | gh-101760: Improve the imaplib.IMAP4 example (#101764) | LilKS | 2024-03-24 | 1 | -1/+1 |
| | | | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> | ||||
* | Add cumulative option for the new statistics.kde() function. (#117033) | Raymond Hettinger | 2024-03-24 | 1 | -5/+8 |
| | |||||
* | GH-106747: Document another difference between `glob` and `pathlib`. (#116518) | Barney Gale | 2024-03-22 | 1 | -0/+4 |
| | | | | | Document that `path.glob()` might return *path*, whereas `glob.glob(root_dir=path)` will never return an empty string corresponding to *path*. | ||||
* | gh-113024: C API: Add PyObject_GenericHash() function (GH-113025) | Serhiy Storchaka | 2024-03-22 | 3 | -0/+19 |
| | |||||
* | [docs] Fix typo in docstring and add example to logging cookbook. (GH-117157) | Vinay Sajip | 2024-03-22 | 1 | -14/+126 |
| | |||||
* | GH-113171: Fix "private" (non-global) IP address ranges (GH-113179) | Jakub Stasiak | 2024-03-22 | 2 | -0/+18 |
| | | | | | | | | | | | | | | | | | | | | | * GH-113171: Fix "private" (really non-global) IP address ranges The _private_networks variables, used by various is_private implementations, were missing some ranges and at the same time had overly strict ranges (where there are more specific ranges considered globally reachable by the IANA registries). This patch updates the ranges with what was missing or otherwise incorrect. I left 100.64.0.0/10 alone, for now, as it's been made special in [1] and I'm not sure if we want to undo that as I don't quite understand the motivation behind it. The _address_exclude_many() call returns 8 networks for IPv4, 121 networks for IPv6. [1] https://github.com/python/cpython/issues/61602 | ||||
* | docs: fix over-linking in dataclasses.rst (#117005) | Ned Batchelder | 2024-03-21 | 1 | -78/+80 |
| | |||||
* | gh-85283: Build _testconsole extension with limited C API (#117125) | Victor Stinner | 2024-03-21 | 1 | -1/+1 |
| | |||||
* | gh-115754: Add Py_GetConstant() function (#116883) | Victor Stinner | 2024-03-21 | 3 | -0/+56 |
| | | | | | | | | | | | | Add Py_GetConstant() and Py_GetConstantBorrowed() functions. In the limited C API version 3.13, getting Py_None, Py_False, Py_True, Py_Ellipsis and Py_NotImplemented singletons is now implemented as function calls at the stable ABI level to hide implementation details. Getting these constants still return borrowed references. Add _testlimitedcapi/object.c and test_capi/test_object.py to test Py_GetConstant() and Py_GetConstantBorrowed() functions. | ||||
* | gh-71052: Implement `ctypes.util.find_library` on Android (GH-116379) | Malcolm Smith | 2024-03-21 | 1 | -2/+3 |
| | |||||
* | Fix sort order for "locale encoding" glossary item (#115794) | Carol Willing | 2024-03-20 | 1 | -12/+12 |
| | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> | ||||
* | gh-117058: Update GUI and packaging recommendations for macOS. (#117059) | Russell Keith-Magee | 2024-03-20 | 1 | -11/+25 |
| | |||||
* | GH-108362: Incremental Cycle GC (GH-116206) | Mark Shannon | 2024-03-20 | 1 | -0/+30 |
| | |||||
* | docs: announce venv creation before installing packages (#117036) | Ned Batchelder | 2024-03-19 | 1 | -0/+1 |
| | |||||
* | gh-101100: Fix Sphinx warnings in `library/pydoc.rst` (#116913) | Hugo van Kemenade | 2024-03-19 | 2 | -8/+7 |
| | |||||
* | gh-56374: Clarify documentation of nonlocal (#116942) | Terry Jan Reedy | 2024-03-19 | 1 | -13/+17 |
| | | | | | Define 'nonlocal scopes' in a way that excludes class scopes. Rearrange the rest of the doc. Add "Programmer's note". | ||||
* | gh-107607: Update comment about utf-8 BOM being ignored (#107858) | Sunghyun Kim | 2024-03-19 | 1 | -4/+3 |
| | | | | | --------- Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> | ||||
* | gh-114099 - Add iOS framework loading machinery. (GH-116454) | Russell Keith-Magee | 2024-03-19 | 2 | -1/+64 |
| | | | | Co-authored-by: Malcolm Smith <smith@chaquo.com> Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com> | ||||
* | gh-115756: make PyCode_GetFirstFree an unstable API (GH-115781) | Bogdan Romanyuk | 2024-03-19 | 2 | -1/+11 |
| | |||||
* | gh-113538: Add asycio.Server.{close,abort}_clients (redo) (#116784) | Pierre Ossman (ThinLinc team) | 2024-03-18 | 2 | -0/+30 |
| | | | | | | | These give applications the option of more forcefully terminating client connections for asyncio servers. Useful when terminating a service and there is limited time to wait for clients to finish up their work. This is a do-over with a test fix for gh-114432, which was reverted. | ||||
* | gh-63207: Use GetSystemTimePreciseAsFileTime() in time.time() (#116822) | Victor Stinner | 2024-03-18 | 1 | -0/+6 |
| | |||||
* | Revert "gh-96844: Improve error message of list.remove (gh-106455)" (#116956) | Victor Stinner | 2024-03-18 | 1 | -3/+3 |
| | | | This reverts commit 217f47d6e5e56bca78b8556e910cd00890f6f84a. | ||||
* | GH-65056: Improve the IP address' is_global/is_private documentation (GH-113186) | Jakub Stasiak | 2024-03-18 | 1 | -4/+23 |
| | | | | | | | | | * GH-65056: Improve the IP address' is_global/is_private documentation It wasn't clear what the semantics of is_global/is_private are and, when one gets to the bottom of it, it's not quite so simple (hence the exceptions listed). Co-authored-by: Petr Viktorin <encukou@gmail.com> | ||||
* | gh-116881: Remove erroneous or redundant grammar NULL (GH-116885) | Terry Jan Reedy | 2024-03-18 | 1 | -1/+1 |
| | | | | | | In Lexical Analysis f-strings section, NULL in the description of 'literal character' means '\0'. In the format_spec grammar production, it is wrong with that meaning and redundant if instead interpreted as <nothing>. Remove it there. | ||||
* | gh-85283: Build _statistics extension with the limited C API (#116927) | Victor Stinner | 2024-03-17 | 1 | -1/+2 |
| | | | | | Argument Clinic now inlines _PyArg_CheckPositional() for the limited C API. The generated code should be as fast or even a little bit faster. | ||||
* | GH-116377: Stop raising `ValueError` from `glob.translate()`. (#116378) | Barney Gale | 2024-03-17 | 1 | -2/+1 |
| | | | | | Stop raising `ValueError` from `glob.translate()` when a `**` sub-string appears in a non-recursive pattern segment. This matches `glob.glob()` behaviour. | ||||
* | gh-85283: Build termios extension with the limited C API (#116928) | Victor Stinner | 2024-03-17 | 1 | -1/+2 |
| | |||||
* | gh-73468: Add math.fma() function (#116667) | Victor Stinner | 2024-03-17 | 2 | -0/+26 |
| | | | | | | Added new math.fma() function, wrapping C99's ``fma()`` operation: fused multiply-add function. Co-authored-by: Mark Dickinson <mdickinson@enthought.com> | ||||
* | Update titles and subtitles on landing page template (#116914) | Carol Willing | 2024-03-17 | 1 | -31/+31 |
| | | | | | | | | | * Update titles and subtitles on landing page template * address review from gvanrossum * Edits from hugovk review * Change word order back. Down the road we should split license and history | ||||
* | gh-116851: Remove "from ctypes import *" from a ctypes example (GH-116852) | jnchen | 2024-03-16 | 1 | -1/+0 |
| | | | | It is confusing, because libc is not imported from ctypes, but defined in previous examples, which already contain the import. | ||||
* | gh-116782: Mention `__type_params__` in `inspect.getmembers` docs (#116783) | Nikita Sobolev | 2024-03-15 | 1 | -0/+10 |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | gh-90095: Ignore empty lines and comments in `.pdbrc` (#116834) | Tian Gao | 2024-03-15 | 1 | -1/+2 |
| | |||||
* | gh-85283: Build pwd extension with the limited C API (#116841) | Victor Stinner | 2024-03-15 | 1 | -1/+1 |
| | | | | Argument Clinic now uses the PEP 737 "%T" format to format type name for the limited C API. | ||||
* | gh-116842: Improve test comment and fix a doctest (gh-116846) | Raymond Hettinger | 2024-03-15 | 1 | -2/+2 |
| | |||||
* | GH-113838: Add "Comparison to os.path" section to pathlib docs (#115926) | Barney Gale | 2024-03-15 | 1 | -19/+44 |
| | |||||
* | gh-111696, PEP 737: Add %T and %N to PyUnicode_FromFormat() (#116839) | Victor Stinner | 2024-03-14 | 2 | -0/+29 |
| | |||||
* | Minor improvements to the itertools documentation (gh-116833) | Raymond Hettinger | 2024-03-14 | 1 | -84/+94 |
| | |||||
* | gh-111696, PEP 737: Add PyType_GetModuleName() function (#116824) | Victor Stinner | 2024-03-14 | 3 | -0/+12 |
| | | | Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com> |