summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* gh-93738: Documentation C syntax (Use `c:struct`) (#97772)Adam Turner2022-10-042-8/+8
| | | Use `c:struct`
* gh-93738: Documentation C syntax (:c:type:`PyObject` -> :c:expr:`PyObject`) ↵Adam Turner2022-10-041-2/+2
| | | | | (#97776) :c:type:`PyObject` -> :c:expr:`PyObject`
* gh-88355: Fix backslashes in AF_PIPE (#96543)cousteau2022-10-041-2/+2
| | | | | Fix backslashes in AF_PIPE (#88355) The correct syntax for AF_PIPE addresses is `\\.\pipe\blahblah`, not `\.\pipe{blahblah}`, but the syntax markup messed up the backslashes.
* gh-58451: Add optional delete_on_close parameter to NamedTemporaryFile ↵Ev2geny2022-10-041-14/+71
| | | | (GH-97015)
* gh-96448: fix documentation for _thread.lock.acquire (#96449)Daniel Giger2022-10-041-5/+5
| | | | | * fix documentation for _thread.lock.acquire * update formatting of _thread.lock.acquire() doc
* gh-90301: Doc: Add references to PEP 686 (#96816)Inada Naoki2022-10-042-7/+14
| | | Doc: Add references to PEP 686.
* GH-82604: fix docs about configuring selector (#97755)Kumar Aditya2022-10-041-3/+6
|
* Minor grammar changes to http.client docs (#96221)Rohan Shah2022-10-031-2/+2
| | | Minor grammar changes
* Update http.client.rst (#24803)Géry Ogam2022-10-031-9/+8
| | | | | | | | | | | | * Update http.client.rst * Apply suggestions from code review Co-authored-by: Éric <merwok@netwok.org> * Update http.client.rst Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Senthil Kumaran <senthil@python.org>
* multiprocessing docs: Remove extra option ELLIPSIS from section with code ↵Ivan Kapeykin2022-10-031-1/+0
| | | | (#96625)
* Document that MozillaCookieJar works for curl's cookie files (#91852)Boris Verkhovskiy2022-10-031-2/+2
| | | MozillaCookieJar works for curl's cookies
* gh-97681: Remove Tools/demo/ directory (#97682)Victor Stinner2022-10-031-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove the Tools/demo/ directory which contained old demo scripts. A copy can be found in the old-demos project: https://github.com/gvanrossum/old-demos Remove the following old demo scripts: * beer.py * eiffel.py * hanoi.py * life.py * markov.py * mcast.py * queens.py * redemo.py * rpython.py * rpythond.py * sortvisu.py * spreadsheet.py * vector.py Changes: * Remove a reference to the redemo.py script in the regex howto documentation. * Remove a reference to the removed Tools/demo/ directory in the curses documentation. * Update PC/layout/ to remove the reference to Tools/demo/ directory.
* Fix typo in unittest docs (#97742)annonm2022-10-031-1/+1
|
* GH-85447: Clarify docs about awaiting future multiple times (#97738)Kumar Aditya2022-10-021-1/+2
|
* gh-95588: Drop the safety claim from `ast.literal_eval` docs. (#95919)Gregory P. Smith2022-10-021-8/+16
| | | It was never really safe and this claim conflicts directly with the big warning in the docs about it being able to crash the interpreter.
* Fix capitalization of Unix in documentation (#96913)Will Hawkins2022-10-015-8/+8
|
* gh-90908: Document asyncio.Task.cancelling() and asyncio.Task.uncancel() ↵Łukasz Langa2022-10-011-74/+128
| | | | | | (#95253) Co-authored-by: Thomas Grainger <tagrain@gmail.com>
* gh-87597: Document TimeoutExpired.stdout & .stderr types (#97685)Gregory P. Smith2022-09-301-2/+7
| | | | This documents the behavior that has always been the case since timeout support was introduced in Python 3.3.
* gh-96397: Document that attributes need not be identifiers (#96454)Jeff Allen2022-09-291-0/+8
| | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-52597: Add position-only markers for os functions (#94735)Stanley2022-09-291-67/+67
|
* GH-82448: Add thread timeout for loop.shutdown_default_executor (#97561)Kumar Aditya2022-09-282-2/+15
| | | | Co-authored-by: Kyle Stanley <aeros167@gmail.com>
* fixup policy docs (#97618)Kumar Aditya2022-09-281-1/+1
|
* gh-96377: Update asyncio policy doc intro paras to be clear and accurate ↵C.A.M. Gerlach2022-09-274-15/+32
| | | | | (#97603) Also fix up some cross-references in the asyncio docs.
* gh-96959: Update more HTTP links (GH-97536)Serhiy Storchaka2022-09-278-84/+84
| | | | Use HTTPS for documents which are available by both HTTP and HTTPS links, but there is no redirection from HTTP to HTTPS or vice versa.
* GH-65046: Fix docs about logging in `asyncio` (#97559)Kumar Aditya2022-09-261-0/+4
| | | Explain that logging should not use network I/O.
* gh-96959: Update HTTP links which are redirected to HTTPS (GH-96961)Serhiy Storchaka2022-09-246-7/+7
|
* gh-77171: Fixes SubFormat check to compare the entire value. Add docs (GH-97509)Steve Dower2022-09-231-1/+6
|