summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* bpo-39128: Added algorithm description (GH-18624)Miss Islington (bot)2020-02-241-0/+11
| | | | | | | | | | | GH- [bpo-39128](https://bugs.python.org/issue39128): happy eyeballs description GH- [3.9] 39128 - happy eyeballs description (GH-18624) GH- [3.8] 39128 - happy eyeballs description (GH-18624) https://bugs.python.org/issue39128 (cherry picked from commit 8af4712a16e4b7d1b60f1faec13cd7a88da95f6a) Co-authored-by: idomic <michael.ido@gmail.com>
* bpo-39654: Update pyclbr doc to reflect additional information returned ↵Miss Islington (bot)2020-02-241-3/+6
| | | | | | | | | | | (GH-18528) Full nested function and class info makes it a module browser. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit aea045adb8c90394264908670cbc495c5a41b65e) Co-authored-by: Hakan Çelik <hakancelik96@outlook.com>
* bpo-39576: Clarify the word size for the 32-bit build. (GH-18616) (#18618)Miss Islington (bot)2020-02-231-2/+2
| | | | | | | (cherry picked from commit b76518d43fb82ed9e5d27025d18c90a23d525c90) Authored-by: Stefan Krah <skrah@bytereef.org>
* bpo-39576: docs: set context for decimal arbitrary precision arithmetic ↵Miss Islington (bot)2020-02-211-8/+58
| | | | | | | | (GH-18594) (#18597) (cherry picked from commit a025d4ca99fb4c652465368e0b4eb03cf4b316b9) Authored-by: Stefan Krah <skrah@bytereef.org>
* bpo-38657: Clarify numeric padding behaviour in string formatting (GH-17036)Miss Islington (bot)2020-02-211-2/+3
| | | | | | | | | | | Make the definition of the width more explicit that it includes any extra signs added by other options. https://bugs.python.org/issue38657 Automerge-Triggered-By: @Mariatta (cherry picked from commit 424e5686d82235e08f8108b8bbe034bc91421689) Co-authored-by: Pete Wicken <2273100+JamoBox@users.noreply.github.com>
* bpo-39572: Document ’total’ flag of TypedDict (GH-18554)Miss Islington (bot)2020-02-191-2/+14
| | | | | (cherry picked from commit ab6423fe2de0ed5f8a0dc86a9c7070229326b0f0) Co-authored-by: ananthan-123 <ananthakrishnan15.2001@gmail.com>
* bpo-32892: Update the documentation for handling constants in AST. (GH-18514)Miss Islington (bot)2020-02-171-3/+7
| | | | | (cherry picked from commit 85a2eef473a2c9ed3ab9c6ee339891fe99adbbc9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-39184: Add audit events to functions in `fcntl`, `msvcrt`, `os`, ↵Steve Dower2020-02-137-0/+117
| | | | | | `resource`, `shutil`, `signal`, `syslog` (GH-18407) Co-authored-by: Saiyang Gou <gousaiyang@163.com>
* bpo-38374: Remove weakref.ReferenceError from docs (GH-18452)Miss Islington (bot)2020-02-111-6/+0
| | | | | | | | | | | | Reflecting changes to the code, removed weakref.ReferenceError from weakref.rst and exceptions.rst. Issue submitter provided evidence that the `weakref.ReferenceError` alias for `ReferenceError` was removed from the code in 2007. Working with @gvanrossum at PyCascades CPython sprint we looked at the code and confirmed that `weakref.ReferenceError` was no longer in `weakref.py`. Based on that analysis I removed references `weakref.ReferenceError` from the two documents where it was still being referenced: `weakref.rst` and `exceptions.rst`. https://bugs.python.org/issue38374 (cherry picked from commit 4eb9f4313cfaea6a9611221024a1c54f5662cc37) Co-authored-by: Roger Hurwitz <rogerhurwitz@gmail.com>
* bpo-39594: Fix typo in os.times documentation (GH-18443)Miss Islington (bot)2020-02-101-4/+2
| | | | | | | | There was an extra space in the url markup, causing the documentation not rendered properly. https://bugs.python.org/issue39594 (cherry picked from commit 37c55b2b49a3acb7c56c9f6a5062bc6e4e35bc1c) Co-authored-by: Roger Hurwitz <rogerhurwitz@gmail.com>
* bpo-13826: Clarify Popen constructor example (GH-18438)Miss Islington (bot)2020-02-101-2/+8
| | | | | | | | | Clarifies that the use of `shlex.split` is more instructive than normative, and provides a simpler example. https://bugs.python.org/issue13826 (cherry picked from commit 95d024d585bd3ed627437a2f0cbc783c8a014c8a) Co-authored-by: Tim D. Smith <github@tim-smith.us>
* Issue3950: Fix docs for default locale used by gettext to match ↵Miss Islington (bot)2020-02-101-2/+2
| | | | | | | | implementation (GH-18435) documentation for default locale directory Doc/library/gettext.rst changed to match gettext implementation line 63. (cherry picked from commit d68e0a8a165761604e820c8cb4f20abc735e717f) Co-authored-by: Carl <Carl-Ty@users.noreply.github.com>
* bpo-39128: Added happy_eyeballs_delay, interleave to function signature ↵Miss Islington (bot)2020-02-101-2/+3
| | | | | | | (GH-18315) (cherry picked from commit 5305cc9dbfe8a5a0ab666511f3ba7f026c8983f8) Co-authored-by: idomic <michael.ido@gmail.com>
* Doc: sys.__unraisablehook__ and bytearray.hex separators are new in 3.8 ↵Miss Islington (bot)2020-02-082-3/+15
| | | | | | | | | | | (GH-17884) Minor fix in documentation: - `sys.__unraisablehook__` is new in version 3.8 - Optional `sep` and `bytes_per_sep` parameters for `bytearray.hex` is also supported in Python 3.8 (just like `bytes.hex`) (cherry picked from commit 0edc2c7678266c39a7ceb2df885cb050f887e32b) Co-authored-by: Saiyang Gou <gousaiyang@163.com>
* bpo-39184: Add audit events to command execution functions in os and pty ↵Miss Islington (bot)2020-02-052-0/+11
| | | | | | | modules (GH-17824) (cherry picked from commit 95f60010219e142a436fae18e1695cbc45407afe) Co-authored-by: Saiyang Gou <gousaiyang@163.com>
* fixes typos in http.client documentation (GH-18300)Miss Islington (bot)2020-02-031-2/+2
| | | | | (cherry picked from commit b94737a4af96b29bd4c025724f671e7bc0f6b6f1) Co-authored-by: James Corbett <james.h.corbett@gmail.com>
* bpo-36018: Minor fixes to the NormalDist() examples and recipes. (GH-18226) ↵Miss Islington (bot)2020-01-281-5/+5
| | | | | | | | | | | | | (GH-18227) * Change the source for the SAT data to a primary source. * Fix typo in the standard deviation * Clarify that the binomial probabalities are just for the Python room. (cherry picked from commit 01bf2196d842fc20667c5336e0a7a77eb4fdc25c) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-39392: Turtle overlap fill depends on OS (GH-18223)Miss Islington (bot)2020-01-271-0/+5
| | | | | | | | Whether or not overlap regions for self-intersecting polygons or multiple shapes are filled depends on the operating system graphics, typeof overlap, and number of overlaps. (cherry picked from commit 2824c45a0a020f12f27da7e7162e8636c21bf869) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-36018: Add another example for NormalDist() (GH-18191) (GH-18192)Miss Islington (bot)2020-01-261-0/+36
|
* bpo-39234: Doc: `enum.auto()` incrementation value not specified. (GH-17872) ↵Miss Islington (bot)2020-01-251-1/+1
| | | | | | | | (GH-17875) (cherry picked from commit 2e9012a3e1e316c54e27f51ba5849ba06eab7da2) Co-authored-by: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com>
* bpo-36654: Add examples for using tokenize module programmatically (GH-18187)Miss Islington (bot)2020-01-251-0/+19
| | | | | | (cherry picked from commit 4b09dc79f4d08d85f2cc945563e9c8ef1e531d7b) Co-authored-by: Windson yang <wiwindson@outlook.com>
* bpo-39413: os.unsetenv() is not available on Windows (GH-18108)Victor Stinner2020-01-221-1/+1
| | | Update os.unsetenv() documentation: it is not available on Windows.
* improve the documentation of the LOAD_METHOD and CALL_METHOD (GH-18079)Miss Islington (bot)2020-01-211-8/+10
| | | | | (cherry picked from commit 8698b34b68065b80bd9bd18b8decb425208fa386) Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
* bpo-39383: Mention Darwin as a potential value for platform.system() (GH-18054)Miss Islington (bot)2020-01-201-3/+2
| | | | | (cherry picked from commit 8d57a4182f0aa68e16d66dea31ba59e732612b4f) Co-authored-by: Peter Bittner <django@bittner.it>
* Fix asyncio.get_event_loop() documentation (GH-18051)Miss Islington (bot)2020-01-201-2/+4
| | | | | | Mention that the function implicitly creates new event loop only if called from the main thread. (cherry picked from commit 2c49becc69c05934996a00b902e4a4f089b91954) Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* Fix Lock.locked() to remove extra bold highlighting (GH-18042) (#18043)Miss Islington (bot)2020-01-171-0/+1
| | | | | | | | (cherry picked from commit ef8844f1bcbea994a2a69b5a70309369d08b555c) Co-authored-by: Grant Jenks <grant.jenks@gmail.com> Co-authored-by: Grant Jenks <grant.jenks@gmail.com>
* bpo-39348: Fix code highlight for the SOCK_NONBLOCK example (GH-18018)Miss Islington (bot)2020-01-161-1/+3
| | | | | | | | | | | The previous double colon was wrongly place directly after Therefore. Which produced a block without syntax highlighting. This fixes it by separating the double colon from the text. As a result, sphinx now properly highlights the python code. https://bugs.python.org/issue39348 (cherry picked from commit fad8b5674c66d9e00bb788e30adddb0c256c787b) Co-authored-by: Oz N Tiram <oz.tiram@noris.de>
* [3.8] Fix typo in multiprocessing.pool.AsyncResult.successful doc. ↵Miss Islington (bot)2020-01-151-1/+1
| | | | | | | | | | | | | | | | (GH-17932) (GH-18015) Since 3.7 `successful` raises a `ValueError` as explained in the next text block from the documentation: _Changed in version 3.7: If the result is not ready, ValueError is raised instead of AssertionError._ No issue associated with this PR. Should be backported in 3.7 and 3.8. (cherry picked from commit dc0284ee8f7a270b6005467f26d8e5773d76e959) Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com> Automerge-Triggered-By: @pitrou
* Fix documentation in code.py (GH-17988)Miss Islington (bot)2020-01-141-1/+1
| | | | | (cherry picked from commit b4cdb3f60e71888d7f3d4e0d40cb31e968ea160c) Co-authored-by: Kyle Pollina <kylepollina@protonmail.com>
* bpo-39310: Update sys.float_info documentation (GH-17982)Victor Stinner2020-01-131-8/+8
| | | Specify that sys.float_info.min is only the minimum normalized float.
* bpo-3530: Add advice on when to correctly use fix_missing_locations in the ↵Miss Islington (bot)2020-01-121-1/+9
| | | | | | | | AST docs (GH-17172) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> (cherry picked from commit 6680f4a9f5d15ab82b2ab6266c6f917cb78c919a) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
* bpo-39242: Updated the Gmane domain into news.gmane.io (GH-17903)Miss Islington (bot)2020-01-081-4/+4
| | | | | (cherry picked from commit 2e6a8efa837410327b593dc83c57492253b1201e) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
* bpo-38623: Doc: Add section for site module CLI. (GH-17858)Miss Islington (bot)2020-01-071-2/+7
| | | | | (cherry picked from commit ca94677a6216e2d41b04574986ce49d31a0b329c) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Minor formatting improvements and fixes to idle.rst (GH-17165)Miss Islington (bot)2020-01-061-7/+8
| | | | | (cherry picked from commit d6c08db8538d046d783db44fe4e70a60af0fb02e) Co-authored-by: Tal Einat <taleinat+github@gmail.com>
* bpo-39130: Dict reversed was added in v3.8 so should say in the doc as well ↵Miss Islington (bot)2020-01-051-0/+2
| | | | | | | | | | | (GH-17694) To be consistent with document layout, it should say when the feature was added. Although it's mentioned few other places in the doc but it's not explicitly say that at that place. https://bugs.python.org/issue39130 (cherry picked from commit 94d9cfc4ed9dd3c4a3a359bc194b4dc3f6ba63eb) Co-authored-by: Khalid Mammadov <khalidmammadov9@gmail.com>
* bpo-39183: Fix formatting in library/ensurepip (GH-17787)Miss Islington (bot)2020-01-011-1/+1
| | | | | | | | Remove extra space to fix formatting and avoid from splitting text in to strings. https://bugs.python.org/issue39183 (cherry picked from commit 149175c6dfc8455023e4335575f3fe3d606729f9) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
* Document CodeType.replace (GH-17776)Miss Islington (bot)2020-01-011-1/+7
| | | | | (cherry picked from commit 22424c02e51fab3b62cbe255d0b87d1b55b9a6c3) Co-authored-by: Anthony Sottile <asottile@umich.edu>
* bpo-34118: memoryview, range, and tuple are classes (GH-17761)Miss Islington (bot)2019-12-301-3/+3
| | | | | | | Tag memoryview, range, and tuple as classes, the same as list, etcetera, in the library manual built-in functions list. (cherry picked from commit ee9ff05ec22ecd47dbffdd361967ccd55963dad2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Fix typos and remove deprecated deprecation warning. (GH-17741)Miss Islington (bot)2019-12-291-11/+4
| | | | | (cherry picked from commit 32a12aed6da41f49a5ca05e6de34f5f93ea1dc33) Co-authored-by: Antoine <43954001+awecx@users.noreply.github.com>
* bpo-38731: Fix function signature of quiet in docs (GH-17719)Miss Islington (bot)2019-12-281-1/+1
| | | | | (cherry picked from commit 98f0f04b5016e63561d313a3446b7b58f2c12611) Co-authored-by: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
* [3.8] closes bpo-39135: Remove 'time.clock()' mention in docs. (GH-17713)Benjamin Peterson2019-12-271-1/+0
| | | | | | | | | `time.clock()` was removed in Python 3.8, but it was still mentioned in the documentation for when `time.get_clock_info()` is given the argument `'clock'`. This commit removes that mention. (cherry picked from commit 91874bb07161bb481b6f5ea18ffafe69cb8cac30) Co-authored-by: Michael Wayne Goodman <goodman.m.w@gmail.com>
* bpo-33961: Adjusted dataclasses docs to correct exceptions raised. (GH-7917) ↵Miss Islington (bot)2019-12-251-3/+4
| | | | | | | (GH-17677) (cherry picked from commit e28aff54d95236ea1b64b648d89a1516e446e621) Co-authored-by: Fabio Sangiovanni <4040184+sanjioh@users.noreply.github.com>
* bpo-38753: AsyncMock added in version 3.8 (GH-17102)Miss Islington (bot)2019-12-251-0/+1
| | | | | (cherry picked from commit 279d8df5e5e8bbd4429420649359f7afcb4c8cce) Co-authored-by: John Belmonte <john@neggie.net>
* Doc typo (GH-17667) (#17668)Miss Islington (bot)2019-12-231-1/+1
| | | | | | | | (cherry picked from commit b0d4949f1fb04f83691e10a5453d1e10e4598bb9) Co-authored-by: Jesús Cea <jcea@jcea.es> Co-authored-by: Jesús Cea <jcea@jcea.es>
* [typo] fix dupe in datetime.fromisoformat docs (GH-17295)Miss Islington (bot)2019-12-231-2/+0
| | | | | | | | | | | | Fixes a nearly word for word duplication of a sentence that appears earlier in the caution section of datetime.datetime.fromisoformat in Doc/Library/datetime.rst. No issue created as it's a trivial change. Automerge-Triggered-By: @pganssle (cherry picked from commit e7b406f4e20e248d24079f97d7c8b93e5a45249e) Co-authored-by: Michael Morehouse <640167+yawpitch@users.noreply.github.com>
* Add missing markup (GH-17680)Miss Islington (bot)2019-12-221-1/+1
| | | | | | "HH", "MM" and "ffffff" are enclosed with double back quotes, but "SS" is left being bare (cherry picked from commit 068768faf6b82478de239d7ab903dfb249ad96a4) Co-authored-by: cocoatomo <cocoatomo77@gmail.com>
* bpo-38918: Add __module__ entry for function & method type in inspect docs ↵Miss Islington (bot)2019-12-201-0/+6
| | | | | | | | | | table (GH-17408) Adds` __module__ ` entries for function & method types in inspect docs table. https://bugs.python.org/issue38918 (cherry picked from commit f522a6ddb67a238bab5673608111f74ec4e22205) Co-authored-by: Parth Sharma <parthsharma2@users.noreply.github.com>
* bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 (GH-17568) (GH-17569)Miss Islington (bot)2019-12-111-6/+6
| | | | | | | | | | * bpo-39022, bpo-38594: Sync with importlib_metadata 1.3 including improved docs for custom finders and better serialization support in EntryPoints. * 📜🤖 Added by blurb_it. * Correct module reference (cherry picked from commit b7a0109cd2bafaa21a4d50aad307e901c68f9156) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* bpo-39007: Add auditing events to functions in winreg (GH-17541)Miss Islington (bot)2019-12-091-0/+49
| | | | | | Also allows winreg.CloseKey() to accept same types as other functions. (cherry picked from commit ee17e3735634c5fe15a43f897707de8011618627) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-37228: Fix loop.create_datagram_endpoint()'s usage of SO_REUSEADDR ↵Miss Islington (bot)2019-12-091-5/+19
| | | | | | | (GH-17311) (#17529) (cherry picked from commit ab513a38c98695f271e448fe2cb7c5e39eeaaaaf) Co-authored-by: Kyle Stanley <aeros167@gmail.com>