summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32892: Update the documentation for handling constants in AST. (GH-18514)Miss Islington (bot)2020-02-172-3/+13
| | | | | (cherry picked from commit 85a2eef473a2c9ed3ab9c6ee339891fe99adbbc9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-39545: Document changes in the support of await in f-strings. (GH-18456)Miss Islington (bot)2020-02-142-0/+10
| | | | | | https://bugs.python.org/issue39545 (cherry picked from commit f632736023502816f2e6bd714d1b48c81aa2ccc1) 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-112-9/+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>
* Improve grammar in the import system reference documentation (GH-18209)Miss Islington (bot)2020-02-101-1/+1
| | | | | | | | Replaced the period with a comma. Automerge-Triggered-By: @Mariatta (cherry picked from commit d47d0c8e9f2ca0f9f5d1bf0b35006a9a4d5ca684) Co-authored-by: Bonifacio de Oliveira <bonifacio.segundo@gmail.com>
* 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>
* Grammar fix in tutorial (GH-18425) (GH-18426)Miss Islington (bot)2020-02-101-1/+1
| | | | | | (cherry picked from commit 3ed4d251587c36c3853daf42602eaad121b59bba) Co-authored-by: Don Kirkby <donkirkby@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-39534: Doc: Clarify return in finally (GH-18324)Miss Islington (bot)2020-02-061-9/+27
| | | | | (cherry picked from commit 446463f8dbce0556be8020914f37089b63bb8ab6) Co-authored-by: Julien Palard <julien@palard.fr>
* Fix MinGW library generation command (GH-17917)Miss Islington (bot)2020-02-061-1/+1
| | | | | | | | To print the exports to stdout, the gendef command requires the option "-". Without this option, no output is generated. (cherry picked from commit 2545fa87628b4caca519da8aeb0eeef368b9dc0d) Co-authored-by: Baljak <baljci@hotmail.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>
* bpo-38558: Link to further docs from walrus operator mention in tutorial ↵Miss Islington (bot)2020-02-032-3/+6
| | | | | | | (GH-16973) (cherry picked from commit 5807efd4c396d5718325e21f5a14e324a77ff77c) Co-authored-by: Adorilson Bezerra <adorilson@gmail.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>
* Doc: Fix external links to functional programming tutorial. (GH-18249)Miss Islington (bot)2020-01-291-3/+3
| | | | | (cherry picked from commit 35eac4500a8bd89b087407f59ba337343b22d403) Co-authored-by: Julien Palard <julien@palard.fr>
* bpo-39153: Clarify C API *SetItem refcounting semantics (GH-18220)Miss Islington (bot)2020-01-293-6/+9
| | | | | | | | | | | | | | Some of the *SetItem methods in the C API steal a reference to the given value. This annotates the better behaved ones to assure the reader that these are not the ones with the inconsistent behaviour. * 📜🤖 Added by blurb_it. * make docs consistent with signature Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> (cherry picked from commit e1e80002e28e1055f399a20918c49d50d093709e) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
* bpo-39287: Doc: Add UTF-8 mode section in using/windows. (GH-17935)Miss Islington (bot)2020-01-282-2/+44
| | | | | | Co-Authored-By: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit 148610d88a2785751ed435a4e60f07a9f1bc50a6) Co-authored-by: Inada Naoki <songofacandy@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>
* [3.8] bpo-39390 shutil: fix argument types for ignore callback (GH-18122)mbarkhau2020-01-271-0/+7
|
* 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-15243: Document __prepare__ as classmethod (GH-17124)Miss Islington (bot)2020-01-251-1/+2
| | | | | | (cherry picked from commit 7de617455ed788e6730c40cf854c4b72b0432194) Co-authored-by: alclarks <57201106+alclarks@users.noreply.github.com>
* Update 3.8.rst (GH-18173) (#18182)Miss Islington (bot)2020-01-251-1/+1
| | | | | | | | Fixed the name of the contributor (@selik). (cherry picked from commit 9bfb4a7061a3bc4fc5632bccfdf9ed61f62679f7) Co-authored-by: fireattack <human.peng@gmail.com>
* bpo-39431: Also mention nonlocal in assignment quirk (GH-17375)Miss Islington (bot)2020-01-231-4/+4
| | | | | (cherry picked from commit 7142df5ea23b4ce0efb72746b4b3b65414e8dcb1) Co-authored-by: Shanavas M <shanavas.m2@gmail.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.
* PyLong_AsLongLong() docs should say 'long long' (GH-18082) (GH-18110)Miss Islington (bot)2020-01-211-1/+1
| | | | | | | | (cherry picked from commit 47be7d0108b4021ede111dbd15a095c725be46b7) Co-authored-by: Keith Erskine <toastie604@gmail.com> Co-authored-by: Keith Erskine <toastie604@gmail.com>
* 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-39233: Update positional-only section in the glossary (GH-17874)Miss Islington (bot)2020-01-121-3/+5
| | | | | | https://bugs.python.org/issue39233 (cherry picked from commit 9a669d58e8cb586fba38c84d5b631cd8a95d0c0c) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-39161: Document multi-phase init modules under Py_NewInterpreter() ↵Miss Islington (bot)2020-01-091-17/+35
| | | | | | | | | | (GH-17896) \+ this also adds a stronger warning against sharing objects between (sub-)interpreters. https://bugs.python.org/issue39161 (cherry picked from commit 6c5d661342d12f6836580b0e75e3569c764527ae) Co-authored-by: Petr Viktorin <encukou@gmail.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>
* Doc: Change Python 2 status to EOL. (GH-17885)Miss Islington (bot)2020-01-071-1/+1
| | | | | (cherry picked from commit f4800b8ed3dbe15a0078869a836d968ab3362b8c) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-39041: Add GitHub Actions support (GH-17594)Miss Islington (bot)2020-01-061-3/+3
| | | | | (cherry picked from commit a76ba362c4d86adf5e7f8254398135d12d7afd25) Co-authored-by: Steve Dower <steve.dower@python.org>
* 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>
* Fix the parameter list of object. _rpow_ (GH-GH-16477)Miss Islington (bot)2020-01-051-1/+1
| | | | | (cherry picked from commit abc0c4fa9970931849b3da598c5980a5b170661e) Co-authored-by: HongWeipeng <961365124@qq.com>
* Replace links in howto/pyporting.rst with sphinx references (GH-17781)Miss Islington (bot)2020-01-051-7/+3
| | | | | | Signed-off-by: Oleg Höfling <oleg.hoefling@gmail.com> (cherry picked from commit e6ae90dede07e8599cc6906417ca4aa99d8aa6e4) Co-authored-by: Oleg Höfling <hoefling@users.noreply.github.com>
* Bring Python into the next decade. (GH-17801)Miss Islington (bot)2020-01-032-2/+2
| | | | | (cherry picked from commit 946b29ea0b3b386ed05e87e60b8617c9dc19cd53) Co-authored-by: Benjamin Peterson <benjamin@python.org>