summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* gh-96471: Correct documentation for asyncio queue shutdown (#117621)Laurie O2024-04-082-4/+5
|
* gh-106023: Update What's New in 3.13: _PyObject_FastCall() (#117633)Victor Stinner2024-04-081-5/+0
| | | The function _PyObject_FastCall() was restored.
* gh-111726: Explicitly close database connections in sqlite3 doctests (#111730)Nikita Sobolev2024-04-081-0/+27
| | | Co-authored-by: Erlend E. Aasland <erlend@python.org>
* gh-111726: Remove some doctests from sqlite3 docs (#117623)Erlend E. Aasland2024-04-081-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 Kemenade2024-04-081-0/+8
| | | | Remove all temporary databases in a dedicated 'testcleanup' step at the end of the file.
* Fix reference in code.rst (#117615)Anita Hammer2024-04-071-1/+1
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-96471: Add asyncio queue shutdown (#104228)Laurie O2024-04-062-0/+35
| | | Co-authored-by: Duprat <yduprat@gmail.com>
* GH-77609: Add recurse_symlinks argument to `pathlib.Path.glob()` (#117311)Barney Gale2024-04-052-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 Dower2024-04-051-45/+97
| | | | *endianness* (GH-116053)
* gh-116608: importlib.resources: Un-deprecate functional API & add ↵Petr Viktorin2024-04-052-15/+202
| | | | subdirectory support (GH-116609)
* gh-117478: Add `@support.requires_gil_enabled` decorator (#117479)Sam Gross2024-04-041-0/+6
| | | Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
* [doc] Update logging documentation to improve grammar and elucidate an ↵Vinay Sajip2024-04-042-11/+72
| | | | example. (GH-117541)
* gh-59215: unittest: restore _top_level_dir at end of discovery (GH-15242)Zackery Spytz2024-04-031-5/+10
|
* GH-70647: Deprecate strptime day of month parsing without a year present to ↵Gregory P. Smith2024-04-031-0/+37
| | | | avoid leap-year bugs (GH-117107)
* gh-117074: Update Traversable.joinpath docs to the 3.11+ protocol (GH-117113)Petr Viktorin2024-04-021-2/+24
|
* Docs: specify XML document name in xml.etree.elementtree example (#24223)Moshe Kaplan2024-04-011-1/+1
|
* Docs: add more links to PIPE in subprocess docs (#25416)Matthew Davis2024-04-011-5/+8
|
* GH-117337: Deprecate `glob.glob0()` and `glob.glob1()`. (#117371)Barney Gale2024-04-011-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 Arthur2024-04-012-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 Bezerra2024-03-311-1/+7
|
* Link to the Python type system specification (#117400)Shantanu2024-03-311-73/+15
|
* GH-114575: Rename `PurePath.pathmod` to `PurePath.parser` (#116513)Barney Gale2024-03-312-2/+6
| | | And rename the private base class from `PathModuleBase` to `ParserBase`.
* gh-66449: configparser: Add support for unnamed sections (#117273)Pedro Lacerda2024-03-292-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 Chianelli2024-03-281-1/+1
|
* gh-117294: Report DocTestCase as skipped if all examples in the doctest are ↵Malcolm Smith2024-03-281-2/+4
| | | | skipped (GH-117297)
* bpo-43848: explain optional argument mtime in gzip.py. (GH-25410)Joachim Wuttke2024-03-281-13/+10
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-114099: Add documentation for iOS platform (GH-117057)Russell Keith-Magee2024-03-2822-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-Magee2024-03-283-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 Hatch2024-03-282-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 Smith2024-03-272-1/+39
|
* gh-117225: doctest: only print "and X failed" when non-zero, don't pluralise ↵Hugo van Kemenade2024-03-271-5/+5
| | | | "1 items" (#117228)
* Add statistics recipe for sampling from an estimated probability density ↵Raymond Hettinger2024-03-271-0/+58
| | | | distribution (#117221)
* Change links on the index page (#117230)Adorilson Bezerra2024-03-261-2/+2
|
* Sync main docs and docstring for median_grouped(). (gh-117214)Raymond Hettinger2024-03-251-38/+39
|
* gh-117114: Make os.path.isdevdrive available on all platforms (GH-117115)Nice Zombies2024-03-251-13/+4
|
* Add information about negative indexes to sequence datamodel doc (#110903)Adorilson Bezerra2024-03-251-3/+6
| | | Co-authored by Terry Jan Reedy
* gh-116936: Add PyType_GetModuleByDef() to the limited C API (#116937)Victor Stinner2024-03-252-0/+4
|
* gh-87193: Support bytes objects with refcount > 1 in _PyBytes_Resize() ↵Serhiy Storchaka2024-03-251-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 Hettinger2024-03-251-3/+3
|
* gh-117194: Properly format 'base64' header in What's New (#117198)Terry Jan Reedy2024-03-241-1/+1
| | | It needs 6, not 3, '-'s.
* GH-115986 Docs: promote pprint.pp usage as a default (#116614)Kerim Kabirov2024-03-241-15/+18
| | | | Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
* gh-101760: Improve the imaplib.IMAP4 example (#101764)LilKS2024-03-241-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 Hettinger2024-03-241-5/+8
|
* GH-106747: Document another difference between `glob` and `pathlib`. (#116518)Barney Gale2024-03-221-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 Storchaka2024-03-223-0/+19
|
* [docs] Fix typo in docstring and add example to logging cookbook. (GH-117157)Vinay Sajip2024-03-221-14/+126
|
* GH-113171: Fix "private" (non-global) IP address ranges (GH-113179)Jakub Stasiak2024-03-222-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 Batchelder2024-03-211-78/+80
|
* gh-85283: Build _testconsole extension with limited C API (#117125)Victor Stinner2024-03-211-1/+1
|
* gh-115754: Add Py_GetConstant() function (#116883)Victor Stinner2024-03-213-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.