summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* [doc] Refresh the venv introduction documentation, and correct the statement ↵Phil Elson2022-10-191-53/+84
| | | | | about VIRTUAL_ENV (GH-98350) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Fix markup indentation (GH-98424)Raymond Hettinger2022-10-191-1/+1
| | | Fix markup
* General improvements to the itertools docs (GH-98408)Raymond Hettinger2022-10-181-51/+92
|
* Doc: Found some remaining default roles. (GH-98392)Julien Palard2022-10-183-3/+3
|
* Doc: missing underscore in hyperlink. (GH-98391)Julien Palard2022-10-181-1/+1
|
* GH-98363: Add itertools.batched() (GH-98364)Raymond Hettinger2022-10-171-37/+39
|
* Move random selection recipes from itertools.rst to random.rst (GH-98369)Raymond Hettinger2022-10-172-25/+31
|
* gh-97669: Create Tools/build/ directory (#97963)Victor Stinner2022-10-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Create Tools/build/ directory. Move the following scripts from Tools/scripts/ to Tools/build/: * check_extension_modules.py * deepfreeze.py * freeze_modules.py * generate_global_objects.py * generate_levenshtein_examples.py * generate_opcode_h.py * generate_re_casefix.py * generate_sre_constants.py * generate_stdlib_module_names.py * generate_token.py * parse_html5_entities.py * smelly.py * stable_abi.py * umarshal.py * update_file.py * verify_ensurepip_wheels.py Update references to these scripts.
* gh-85525: Remove extra row in doc (#98337)Joannah Nanjekye2022-10-161-1/+0
| | | | | | | * remove extra row * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-85299: Add note warning about entry point guard for asyncio example (#93457)Stanley2022-10-162-1/+9
|
* gh-98307: Add docstring and documentation for SysLogHandler.createSocket ↵Vinay Sajip2022-10-161-0/+11
| | | | | (GH-98319) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* GH-94597: Deprecate child watcher getters and setters (#98215)Kumar Aditya2022-10-151-0/+14
| | | | | | | This is the next step for deprecating child watchers. Until we've removed the API completely we have to use it, so this PR is mostly suppressing a lot of warnings when using the API internally. Once the child watcher API is totally removed, the two child watcher implementations we actually use and need (Pidfd and Thread) will be turned into internal helpers.
* Improve speed. Reduce auxiliary memory to 16.6% of the main array. (GH-98294)Raymond Hettinger2022-10-151-4/+5
|
* docs(typing): harmonize "See PEP x for more details" (#97927)Simon Legner2022-10-151-10/+8
|
* Faster sieve() recipe (#98287)Raymond Hettinger2022-10-151-8/+27
|
* gh-85455: Add missing doc strings and improve docs (#21573)Joannah Nanjekye2022-10-151-2/+2
| | | | | | | * Add missing doc strings and improve docs * Use imperative form * Modify docstring wording
* gh-85525: Indicate supported sound header formats (#21575)Joannah Nanjekye2022-10-151-0/+49
| | | | | | | * Indicate supported sound header formats * modify file names Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-91485: Doc: Using Python syntax to document builtin Python functions. ↵Julien Palard2022-10-151-65/+84
| | | | (GH-96579)
* gh-65046: Link to logging cookbook from asyncio docs (#98207)Shantanu2022-10-121-1/+2
|
* Formatting fixes in contextlib docs (#98111)Stanley2022-10-121-11/+17
|
* gh-96130: Rephrase use of "typecheck" verb for clarity (#98144)Shantanu2022-10-121-10/+10
| | | | I'm sympathetic to the issue report, especially in case this helps clarify to new users that Python itself does not do type checking at runtime
* gh-71616: Add note to warn against general translation of saxutils.escape() ↵Stanley2022-10-111-0/+5
| | | | | | | (#93450) * Add note to warn against general translation of saxutils.escape() * Use more direct wording
* gh-88452: Add a warning about non-portability of environments. (GH-98155)Vinay Sajip2022-10-101-0/+13
|
* gh-83940: os docs: Improve wording for getenv/getenvb (#98113)Stanley2022-10-101-4/+4
|
* gh-56133: copyreg docs: Clarify function/constructor parameter (#95497)Stanley2022-10-101-9/+6
|
* gh-97822: Fix http.server documentation reference to test() function (#98027)JasonYZ2022-10-081-2/+2
| | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* gh-57179: Add note on symlinks for os.walk (#94799)Stanley2022-10-071-1/+2
|
* gh-61105: Add default param, note on using cookiejar subclass (#95427)Stanley2022-10-071-3/+5
|
* gh-91708: Revert params note in urllib.parse.urlparse table (#96699)Stanley2022-10-071-1/+2
| | | Revert params note in urllib.parse.urlparse table
* gh-65496: Correct wording on csv's skipinitialspace argument (#96170)Stanley2022-10-071-1/+1
|
* gh-64921: Clarify wording for open()'s newline arg (#96171)Stanley2022-10-071-2/+2
|
* gh-97669: Move difflib examples to Doc/includes/ (#97964)Victor Stinner2022-10-071-7/+8
| | | | | | | | | | | Remove diff.py and ndiff.py scripts of Tools/scripts/: move them to Doc/includes/. * diff.py and ndiff.py files are no longer executable. Remove also their shebang ("#!/usr/bin/env python3"). * Remove the -profile command from ndiff.py to simply the code. * Remove ndiff.py copyright and history command. The Python documentation examples are distributed under the "Zero Clause BSD License".
* gh-71316: Update dis documentation to include changes to jump arguments ↵Christopher Chianelli2022-10-071-0/+4
| | | | (GH-95798)
* Misc updates to the itertools recipes and tests (GH-98018)Raymond Hettinger2022-10-071-6/+40
|
* Doc: sphinx-lint finds two other default roles. (GH-98019)Julien Palard2022-10-071-2/+2
|
* Docs: Fix backtick errors found by sphinx-lint (#97998)Hugo van Kemenade2022-10-0725-42/+42
| | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-97850: Remove deprecated functions from `importlib.utils` (#97898)Nikita Sobolev2022-10-071-53/+1
| | | | | * gh-97850: Remove deprecated functions from `importlib.utils` * Rebase and remove `set_package` from diff
* GH-90985: Revert "Deprecate passing a message into cancel()" (#97999)Guido van Rossum2022-10-072-14/+2
| | | | | Reason: we were too hasty in deprecating this. We shouldn't deprecate it before we have a replacement.
* gh-65961: Do not rely solely on `__cached__` (GH-97990)Brett Cannon2022-10-061-0/+9
| | | Make sure `__spec__.cached` (at minimum) can be used.
* gh-97781: Apply changes from importlib_metadata 5. (GH-97785)Jason R. Coombs2022-10-061-35/+73
| | | | | | | * gh-97781: Apply changes from importlib_metadata 5. * Apply changes from upstream * Apply changes from upstream.
* gh-95691: Doc BufferedWriter and BufferedReader (#95703)1809092022-10-051-1/+1
|
* GH-88968: Add notes about socket ownership transfers (#97936)Guido van Rossum2022-10-052-0/+48
|
* gh-65961: Raise `DeprecationWarning` when `__package__` differs from ↵Brett Cannon2022-10-051-9/+0
| | | | | | | `__spec__.parent` (#97879) Also remove `importlib.util.set_package()` which was already slated for removal. Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
* docs(typing): add "see PEP 675" to LiteralString (#97926)Simon Legner2022-10-051-0/+2
|
* gh-93738: Documentation C syntax (:c:type:<C type> -> :c:expr:<C type>) (#97768)Adam Turner2022-10-055-85/+85
| | | | | :c:type:`<C type>` -> :c:expr:`<C type>` Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* GH-95172 Make the same version `versionadded` oneline (#95172)1809092022-10-051-2/+1
| | | | | | | | | | | * Make the same version versionadded oneline * Format versionadded for enum.rst * Format versionadded A single line versionadded was reading better. Co-authored-by: Senthil Kumaran <senthil@python.org>
* gh-74696: Pass root_dir to custom archivers which support it (GH-94251)Serhiy Storchaka2022-10-051-2/+12
| | | | Co-authored-by: Éric <merwok@netwok.org>
* gh-97661: Improve accuracy of sqlite3.Cursor.fetchone docs (#97662)Jia Junjie2022-10-051-1/+3
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* GH-96704: Add {Task,Handle}.get_context(), use it in ↵Guido van Rossum2022-10-052-0/+23
| | | | | call_exception_handler() (#96756) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* Add re.VERBOSE flag documentation example (#97678)Athos Ribeiro2022-10-051-1/+2
| | | | | | The current re.VERBOSE documentation example leaves space for ambiguous interpretation. One may read that spaces within the `(?:` token are spaces inside the non-capturing group (such as `(?: )`). This patch removes the ambiguity by including examples after the statement.