Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-96471: Correct documentation for asyncio queue shutdown (#117621) | Laurie O | 2024-04-08 | 2 | -4/+5 |
| | |||||
* | gh-106023: Update What's New in 3.13: _PyObject_FastCall() (#117633) | Victor Stinner | 2024-04-08 | 1 | -5/+0 |
| | | | The function _PyObject_FastCall() was restored. | ||||
* | gh-111726: Explicitly close database connections in sqlite3 doctests (#111730) | Nikita Sobolev | 2024-04-08 | 1 | -0/+27 |
| | | | Co-authored-by: Erlend E. Aasland <erlend@python.org> | ||||
* | gh-111726: Remove some doctests from sqlite3 docs (#117623) | Erlend E. Aasland | 2024-04-08 | 1 | -36/+7 |
| | | | | | * remove load extension doctest since we cannot skip it conditionally * remove sys.unraisablehook example; using unraisable hooks is not "an improved debug experience" | ||||
* | gh-111726: Cleanup test files after running sqlite3 doctest (#117604) | Hugo van Kemenade | 2024-04-08 | 1 | -0/+8 |
| | | | | Remove all temporary databases in a dedicated 'testcleanup' step at the end of the file. | ||||
* | Fix reference in code.rst (#117615) | Anita Hammer | 2024-04-07 | 1 | -1/+1 |
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> | ||||
* | gh-96471: Add asyncio queue shutdown (#104228) | Laurie O | 2024-04-06 | 2 | -0/+35 |
| | | | Co-authored-by: Duprat <yduprat@gmail.com> | ||||
* | GH-77609: Add recurse_symlinks argument to `pathlib.Path.glob()` (#117311) | Barney Gale | 2024-04-05 | 2 | -17/+15 |
| | | | | | | | | | | | | | | | Replace tri-state `follow_symlinks` with boolean `recurse_symlinks` argument. The new argument controls whether symlinks are followed when expanding recursive `**` wildcards. The possible argument values correspond as follows: follow_symlinks recurse_symlinks =============== ================ False N/A None False True True We therefore drop support for not following symlinks when expanding non-recursive pattern parts; it wasn't requested in the original issue, and it's a feature not found in any shells. This makes the API a easier to grok by eliminating `None` as an option. No news blurb as `follow_symlinks` was new in 3.13. | ||||
* | gh-111140: PyLong_From/AsNativeBytes: Take *flags* rather than just ↵ | Steve Dower | 2024-04-05 | 1 | -45/+97 |
| | | | | *endianness* (GH-116053) | ||||
* | gh-116608: importlib.resources: Un-deprecate functional API & add ↵ | Petr Viktorin | 2024-04-05 | 2 | -15/+202 |
| | | | | subdirectory support (GH-116609) | ||||
* | gh-117478: Add `@support.requires_gil_enabled` decorator (#117479) | Sam Gross | 2024-04-04 | 1 | -0/+6 |
| | | | Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru> | ||||
* | [doc] Update logging documentation to improve grammar and elucidate an ↵ | Vinay Sajip | 2024-04-04 | 2 | -11/+72 |
| | | | | example. (GH-117541) | ||||
* | gh-59215: unittest: restore _top_level_dir at end of discovery (GH-15242) | Zackery Spytz | 2024-04-03 | 1 | -5/+10 |
| | |||||
* | GH-70647: Deprecate strptime day of month parsing without a year present to ↵ | Gregory P. Smith | 2024-04-03 | 1 | -0/+37 |
| | | | | avoid leap-year bugs (GH-117107) | ||||
* | gh-117074: Update Traversable.joinpath docs to the 3.11+ protocol (GH-117113) | Petr Viktorin | 2024-04-02 | 1 | -2/+24 |
| | |||||
* | Docs: specify XML document name in xml.etree.elementtree example (#24223) | Moshe Kaplan | 2024-04-01 | 1 | -1/+1 |
| | |||||
* | Docs: add more links to PIPE in subprocess docs (#25416) | Matthew Davis | 2024-04-01 | 1 | -5/+8 |
| | |||||
* | GH-117337: Deprecate `glob.glob0()` and `glob.glob1()`. (#117371) | Barney Gale | 2024-04-01 | 1 | -0/+5 |
| | | | | These undocumented functions are no longer used by `msilib`, so there's no reason to keep them around. | ||||
* | gh-77714: Provide an async iterator version of as_completed (GH-22491) | Justin Turner Arthur | 2024-04-01 | 2 | -13/+55 |
| | | | | | | | | | * as_completed returns object that is both iterator and async iterator * Existing tests adjusted to test both the old and new style * New test to ensure iterator can be resumed * New test to ensure async iterator yields any passed-in Futures as-is Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> Co-authored-by: Guido van Rossum <gvanrossum@gmail.com> | ||||
* | Doc: printf-style library/stdtype improvements (#16741) | Adorilson Bezerra | 2024-03-31 | 1 | -1/+7 |
| | |||||
* | Link to the Python type system specification (#117400) | Shantanu | 2024-03-31 | 1 | -73/+15 |
| | |||||
* | GH-114575: Rename `PurePath.pathmod` to `PurePath.parser` (#116513) | Barney Gale | 2024-03-31 | 2 | -2/+6 |
| | | | And rename the private base class from `PathModuleBase` to `ParserBase`. | ||||
* | gh-66449: configparser: Add support for unnamed sections (#117273) | Pedro Lacerda | 2024-03-29 | 2 | -0/+37 |
| | | | Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> | ||||
* | gh-117339: Use NULL instead of None for LOAD_SUPER_ATTR in dis docs (GH-117343) | Christopher Chianelli | 2024-03-28 | 1 | -1/+1 |
| | |||||
* | gh-117294: Report DocTestCase as skipped if all examples in the doctest are ↵ | Malcolm Smith | 2024-03-28 | 1 | -2/+4 |
| | | | | skipped (GH-117297) | ||||
* | bpo-43848: explain optional argument mtime in gzip.py. (GH-25410) | Joachim Wuttke | 2024-03-28 | 1 | -13/+10 |
| | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> | ||||
* | gh-114099: Add documentation for iOS platform (GH-117057) | Russell Keith-Magee | 2024-03-28 | 22 | -152/+532 |
| | | | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Jacob Coffee <jacob@z7x.org> Co-authored-by: Malcolm Smith <smith@chaquo.com> Co-authored-by: Ned Deily <nad@python.org> | ||||
* | gh-114099: Additions to standard library to support iOS (GH-117052) | Russell Keith-Magee | 2024-03-28 | 3 | -2/+44 |
| | | | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Co-authored-by: Malcolm Smith <smith@chaquo.com> Co-authored-by: Ned Deily <nad@python.org> | ||||
* | gh-89739: gh-77140: Support zip64 in zipimport (GH-94146) | Tim Hatch | 2024-03-28 | 2 | -0/+9 |
| | | | | | | | | | | | | | | | * Reads zip64 files as produced by the zipfile module * Include tests (somewhat slow, however, because of the need to create "large" zips) * About the same amount of strictness reading invalid zip files as zipfile has * Still works on files with prepended data (like pex) There are a lot more test cases at https://github.com/thatch/zipimport64/ that give me confidence that this works for real-world files. Fixes #89739 and #77140. --------- Co-authored-by: Itamar Ostricher <itamarost@gmail.com> Reviewed-by: Gregory P. Smith <greg@krypto.org> | ||||
* | 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. |