summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41426 Fix grammar in curses.getmouse() documentation (GH-21677)Miss Islington (bot)2020-07-291-1/+1
| | | | | | Automerge-Triggered-By: @brettcannon (cherry picked from commit ba18c0b13ba3c08077ea3db6658328523823a33f) Co-authored-by: Sebastien Williams-Wynn <s.williamswynn.mail@gmail.com>
* Remove incorrect mention of method.__class__ in descriptor docs (GH-21665) ↵Miss Islington (bot)2020-07-291-4/+2
| | | | (GH-21668)
* Fix `List_Append` description, list is extracted at TOS1[-i] (GH-21465)Miss Islington (bot)2020-07-281-1/+1
| | | | | (cherry picked from commit 34cd3e9f6a87f9c50edac893b0d5ae46c4e48ee3) Co-authored-by: Xiang Zhang <angwerzx@126.com>
* bpo-41328: Replace mention of Hudson CI with Travis CI and AppVeyor (GH-21653)Miss Islington (bot)2020-07-281-1/+1
| | | | | (cherry picked from commit 5e3826785dcc64f8e1a8a7bde11b88fbb40943be) Co-authored-by: Dmytro Litvinov <litvinov.dmytro.it@gmail.com>
* [3.8] bpo-41045: Document debug feature of f-strings ('=') (GH-21509) (#21647)Guido van Rossum2020-07-271-5/+32
| | | | | | | Co-Authored-By: Rishi <rishi93dev@gmail.com> (cherry picked from commit 13efaec) Co-authored-by: amaajemyfren <32741226+amaajemyfren@users.noreply.github.com>
* bpo-39868: Add documentation for Assignment Expressions (walrus, PEP 572) ↵Miss Islington (bot)2020-07-251-2/+19
| | | | | | | (GH-18851) (cherry picked from commit f117cef25b5ffc4db9fbe373ddb65e14f59f0397) Co-authored-by: Shankar Jha <shankarj67@gmail.com>
* bpo-41314: fixed annotations __future__ version (GH-21616)Miss Islington (bot)2020-07-251-1/+1
| | | | | | PEP 563 was updated to change the release where `from __future__ import annotations` becomes the default (and only) behavior from 4.0 to 3.10. Update `__future__.py` and its docs to reflect this. (cherry picked from commit 0028c14073109595e7532ec00bb1e8bf39ecfb4d) Co-authored-by: YoSTEALTH <35307184+YoSTEALTH@users.noreply.github.com>
* Simple Documentation fix: Missing link to return type class. (GH-21291)Miss Islington (bot)2020-07-201-2/+4
| | | | | | Just a simple documentation fix: apply_async and map_async return a "multiprocessing.pool.AsyncResult Object", not a "result object". (cherry picked from commit f9bf0157999cb4adbcfd7e9bf526bfa48601e128) Co-authored-by: Volker-Weissmann <39418860+Volker-Weissmann@users.noreply.github.com>
* bpo-37703: improve asyncio.gather documentation regarding cancellation ↵Miss Islington (bot)2020-07-201-0/+8
| | | | | | | | | | (GH-15312) These changes updates the doc to comprehensively mention the behaviour of gather.cancel() Automerge-Triggered-By: @asvetlov (cherry picked from commit d42528a3a2c7d79fd2e6c9f2a02f3ce12d44c8cc) Co-authored-by: Vinay Sharma <vinay04sharma@icloud.com>
* bpo-41205: Document Decimal power 0 to the 0 (GH-21386)Miss Islington (bot)2020-07-191-0/+3
| | | | | | Co-authored-by: Mark Dickinson <dickinsm@gmail.com> (cherry picked from commit 10e466448f67850ed7bb2e2a4e7f017f2b050cad) Co-authored-by: Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) <thatiparthysreenivas@gmail.com>
* bpo-32528: Document the change in inheritance of asyncio.CancelledError ↵Miss Islington (bot)2020-07-191-2/+4
| | | | | | | | | | | | (GH-21474) GH-msg373510 [bpo-32528]()/GH-13528 changed `asyncio.CancelledError` such that it no longer inherits from `concurrent.futures.CancelledError`. As this affects existing code, specifically when catching the latter instead of the former in exception handling, it should be documented in the "What's new in 3.8?" document. Automerge-Triggered-By: @1st1 (cherry picked from commit 2a5181829af394b82e8e8c917183c709ee72a2b7) Co-authored-by: JustAnotherArchivist <JustAnotherArchivist@users.noreply.github.com>
* bpo-41325: Add version note for args and kwargs property in call object ↵Miss Islington (bot)2020-07-181-0/+3
| | | | | | | (GH-21525) (cherry picked from commit 9b01c598ca2576a1056816e85dd84bf5f9c74688) Co-authored-by: Jordan Speicher <uSpike@users.noreply.github.com>
* Remove unnecessary spaces in code blocks in urllib.parse.rst (GH-21500)Miss Islington (bot)2020-07-161-15/+15
| | | | | | | | This should also fix the syntax highlighting for these code blocks Automerge-Triggered-By: @csabella (cherry picked from commit 5e5c0f98667c9280c6d27b3db98a6cad2cc89077) Co-authored-by: Christopher Yeh <chrisyeh96@users.noreply.github.com>
* Fix repeated words in Classes tutorial (GH-21455)Miss Islington (bot)2020-07-141-2/+2
| | | | | | | | The phrase "At any time during execution," was repeated twice. Automerge-Triggered-By: @Mariatta (cherry picked from commit 4f28f75deefc6e8f65694f96f1a40b0a26fc385d) Co-authored-by: Paul McMillan <paul@mcmillan.ws>
* bpo-41228: Fix /a/are/ in monthcalendar() descripton (GH-21372)Miss Islington (bot)2020-07-111-1/+1
| | | | | (cherry picked from commit 344dce312a0cf86d5a5772d54843cc179acaf6e3) Co-authored-by: Nima Dini <nima.dini@gmail.com>
* Fix typo in docs: 'created by th' -> 'created by the' (GH-21384)Miss Islington (bot)2020-07-101-1/+1
| | | | | (cherry picked from commit 6fc732a2116e2c42b0431bb7e2a21719351af755) Co-authored-by: marload <rladhkstn8@gmail.com>
* bpo-37765: Add keywords to IDLE tab completions (GH-15138)Miss Islington (bot)2020-07-091-42/+48
| | | | | | | | | | Keywords are present in the main module tab completion lists generated by rlcompleter, which is used by REPLs on *nix. Add all keywords to IDLE's main module name list except those already added from builtins (True, False, and None) . This list may also be used by Show Completions on the Edit menu, and its hot key. Rewrite Completions doc. Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> (cherry picked from commit bce2eb4646021910aa4074d86f44a09b32d0b2b2) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-41199: Docstring convention not followed for dataclasses documentation ↵Miss Islington (bot)2020-07-091-1/+1
| | | | | | | | page (GH-21413) Automerge-Triggered-By: @ericvsmith (cherry picked from commit 61bb24a270d15106decb1c7983bf4c2831671a75) Co-authored-by: marload <rladhkstn8@gmail.com>
* bpo-39417: Fix broken link to guide to building venvs (GH-18432)Miss Islington (bot)2020-07-071-1/+1
| | | | | (cherry picked from commit c4a65ed7fe342bd18b5a5b0eea3470dc4fc31160) Co-authored-by: Ogi Moore <ognyan.moore@jacobs.ucsd.edu>
* bpo-28681: Clarify multiple function names in the tutorial (GH-21340) (GH-21344)Miss Islington (bot)2020-07-061-5/+4
| | | | | | | | | | | | | | * improve control flow docs * Add also Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit d12af71047f0eae86440654d3ea74c032c7c3558) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
* bpo-26205: Specify the number of nested scopes (GH-21324) (GH-21342)Miss Islington (bot)2020-07-061-2/+2
| | | | | | | | | | | | | | * Clarify number of scopes * Indicate 3 or 4 Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 9ed3cd8ba052b395ab50692bb65988b065d68e27) Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com> Co-authored-by: Joannah Nanjekye <33177550+nanjekyejoannah@users.noreply.github.com>
* bpo-41211: Doc: Fix PyLong_FromUnicode (GH-21331)Miss Islington (bot)2020-07-051-3/+1
| | | | | | PyUnicode_EncodeDecimal is not used actually. (cherry picked from commit 16f451744b7f4653ca9db4b4bedbb6fc5c0de154) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-41211: Doc: Fix PyLong_FromUnicodeObject (GH-21325)Miss Islington (bot)2020-07-051-3/+1
| | | | | | It doesn't use PyUnicode_EncodeDecimal. It uses a private API instead. (cherry picked from commit 9c8441712230660fedac818ed50e7cdd89e4c51d) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-33864: Clarify the docs for typing.ByteString (GH-21311)Miss Islington (bot)2020-07-041-1/+1
| | | | | (cherry picked from commit b40e434386cd94a367d4a256e3364771140160e7) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* Doc: Minor fix to init config C API documentation (GH-21198)Miss Islington (bot)2020-07-011-2/+2
| | | | | | Co-authored-by: Tomer Vromen <tomer.vromen@intel.com> (cherry picked from commit 741008a57bdc95090b8be6ded5a9fd3f17f7bf21) Co-authored-by: tomerv <tomerv@gmail.com>
* Update FAQ release schedule and estimated users (GH-21180)Miss Islington (bot)2020-06-301-4/+4
| | | | | | | | Update FAQ to include: * The new yearly release schedule from PEP 602 * Estimated users from "tens of thousands" to "millions" (cherry picked from commit 3fa4799c3f9d9de7cac30e5db3627e9e125b9ce5) Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
* bpo-41123: Remove PyUnicode_AsUnicodeCopy in 3.10 (GH-21227)Miss Islington (bot)2020-06-301-0/+2
| | | | | (cherry picked from commit 2ea6a9928e4fa135888cc8f4733c28d93e642301) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Update ssl.rstMiss Islington (bot)2020-06-291-0/+3
|
* bpo-41123: Doc: PyLong_FromUnicode will be removed in 3.10 (GH-21205)Miss Islington (bot)2020-06-291-1/+1
| | | | | (cherry picked from commit 02134dae448c7885c9c07adfc6970f878db33372) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-40204: Pin Sphinx version to 2.3.1 in ``Doc/Makefile``. (GH-21141) ↵Ned Deily2020-06-251-1/+1
| | | | (GH-21147)
* bpo-40773: Fix rendering for 'retval' on the pdb page (GH-21081)Miss Islington (bot)2020-06-241-0/+1
| | | | | | Automerge-Triggered-By: @merwok (cherry picked from commit cf18c9e9d4d44f6671a3fe6011bb53d8ee9bd92b) Co-authored-by: Arisaka97 <solitaire2312@gmail.com>
* bpo-40707: Document that Popen.communicate sets the returncode attribute ↵Miss Islington (bot)2020-06-241-4/+5
| | | | | | | (GH-20283) (cherry picked from commit bf2e515fa43406d4bd9c4c53ecc9364034d8f9f6) Co-authored-by: Gareth Rees <gdr@garethrees.org>
* bpo-39699: Remove accidentally committed test change (GH-21089)Ammar Askar2020-06-231-2/+0
|
* Improve asyncio.loop.call_soon() documentation (GH-20883)Miss Islington (bot)2020-06-233-3/+7
| | | | | | | | | * Add a glossary entry for the term "callback" * Link to it in loop.call_soon() and in the "Concurrency and Multithreading" section Co-authored-by: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit a16d6970496cae5ecab5aaea2b416a4b77527cc2) Co-authored-by: Roger Iyengar <ri@rogeriyengar.com>
* Add link to .pypirc specification (GH-20680) (#21019)Miss Islington (bot)2020-06-201-0/+3
| | | | | | | | | | Related to https://github.com/pypa/twine/issues/638 and https://github.com/pypa/packaging.python.org/issues/730, I wrote a spec based on the one that was removed in https://github.com/python/cpython/pull/13087. However, a Google search for "pypirc" turned up at least one [blog post](https://truveris.github.io/articles/configuring-pypirc/) that links to https://docs.python.org/3/distutils/packageindex.htmlGH-the-pypirc-file, which now just links to this document. So, I thought a link to the spec would be handy. Automerge-Triggered-By: @jaraco (cherry picked from commit af157fad286c00ff204e86d8556648cbb53ba99e) Co-authored-by: Brian Rutledge <brian@bhrutledge.com> Co-authored-by: Brian Rutledge <brian@bhrutledge.com>
* [3.8] bpo-37674: Tweak imp module deprecation note in the docs (GH-20480) ↵Miss Islington (bot)2020-06-131-1/+1
| | | | | | | | | | (GH-20860) (cherry picked from commit dea3223740127ac13f984c1d38f127ab6701af44) Co-authored-by: Zackery Spytz <zspytz@gmail.com> Automerge-Triggered-By: @brettcannon
* [3.8] bpo-40895: Update weakref documentation to remove old warnings ↵Antoine Pitrou2020-06-101-14/+0
| | | | | | | | | | | | | | | | | (GH-20687) (GH-20792) The doccumentation at https://docs.python.org/3.10/library/weakref.html cautions that the `WeakKeyDictionary` and `WeakValueDictionary` are susceptible to the problem of dictionary mutation during iteration. These notes present the user with a problem that has no easy solution. I dug into the implementation and found that fortunately, Antoine Pitrou already addressed this challenge (10 years ago!) by introducing an `_IterationGuard` context manager to the implementation, which delays mutation while an iteration is in progress. I asked for confirmation and @pitrou agreed that these notes could be removed: https://github.com/python/cpython/commit/c1baa601e2b558deb690edfdf334fceee3b03327GH-commitcomment-39514438. (cherry picked from commit 1642c0ef750f96664a98cadb09301d492098d2fb) Co-authored-by: Daniel Fortunov <asqui@users.noreply.github.com> Automerge-Triggered-By: @pitrou
* [3.8] bpo-34003: Re-add versionchanged entry in csv docs (GH-20657) (GH-20771)Miss Islington (bot)2020-06-101-0/+3
| | | | | | | | | Follow-up to GH-8014 (cherry picked from commit 7aed0524d4129766a6032326949ef7f91f6f6dfc) Co-authored-by: Éric Araujo <merwok@netwok.org> Automerge-Triggered-By: @merwok
* [3.8] Revert bpo-39576: docs: set context for decimal arbitrary precision ↵Stefan Krah2020-06-081-58/+8
| | | | | arithmetic (GH-20745) This reverts commit d6965ff026f35498e554bc964ef2be8f4d80eb7f.
* [3.8] Revert bpo-39576: Clarify the word size for the 32-bit build. (GH-20743)Stefan Krah2020-06-081-2/+2
| | | This reverts commit c6ecd9c14081a787959e13df33e250102a658154.
* bpo-24914: mention Python supports multiple paradigms in the FAQ (GH-20658) ↵Miss Islington (bot)2020-06-081-6/+7
| | | | | | | | | (GH-20738) (cherry picked from commit 3ab3475c42c8ee5580f4ea1aeda73ebc8e5d5478) Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Brett Cannon <brett@python.org>
* bpo-22021: Update root_dir and base_dir documentation in shutil (GH-10367)Miss Islington (bot)2020-06-081-3/+47
| | | | | | | | Also added an example in shutil in order to make more clear how they are to be used. Initially reported by Weinan Li on bpo. (cherry picked from commit 7633371dace67aaa21eb4b86f889441571ec4167) Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
* Fix spacing in docs for tarfile (GH-20629)Miss Islington (bot)2020-06-041-1/+1
| | | | | | | | | | | | | | | | | | | | Before ``` content.txt is 42 bytes in size and isa regular file. folder is 420 bytes in size and isa directory. magic is 4200 bytes in size and issomething else. ``` After: ``` content.txt is 42 bytes in size and is a regular file. folder is 420 bytes in size and is a directory. magic is 4200 bytes in size and is something else. ``` Automerge-Triggered-By: @orsenthil (cherry picked from commit 7a280197f4162e5fcdde6f34701a9fa6e669190d) Co-authored-by: Harsha Laxman <HarshaLaxman@users.noreply.github.com>
* Ensure correct version of Sphinx is used for Windows builds (GH-20582)Miss Islington (bot)2020-06-011-1/+1
| | | | | (cherry picked from commit fe5dd78182dbf4937bcc2b113ca7526bfad0192b) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-40831: Remove an incorrect statement in the Windows docs (GH-20570)Miss Islington (bot)2020-06-011-3/+1
| | | | | (cherry picked from commit c8966667bbdb284c3780ef6cec8a3870935a6bb7) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-40798: Generate a different message for already removed elements (GH-20483)Miss Islington (bot)2020-05-302-2/+12
| | | | | (cherry picked from commit 735d902b363b759df9ff00e58bbf4f7e2bde78cd) Co-authored-by: Florian Dahlitz <f2dahlitz@freenet.de>
* closes bpo-29017: Update the bindings for Qt information with PySide2 (GH-20149)Miss Islington (bot)2020-05-301-5/+6
| | | | | | Reference to PySide has been removed has it is for Qt 4, which has reached end of life. (cherry picked from commit 4649202ea75d48e1496e99911709824ca2d3170e) Co-authored-by: Samuel Gaist <samuel.gaist@idiap.ch>
* Note the output ordering of combinatoric functions (GH-19732) (GH-20502)Miss Islington (bot)2020-05-281-9/+9
|
* Improve IO tutorial's "Old string formatting" section (GH-16251)Miss Islington (bot)2020-05-281-5/+5
| | | | | | | | * Use a more universal explanation of string interpolation rather than specifically referencing sprintf(), which depends on the reader having a C background. Co-authored-by: Kyle Stanley <aeros167@gmail.com> (cherry picked from commit eaca2aa117d663acf8160a0b4543ee2c7006fcc7) Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
* bpo-40025: Require _generate_next_value_ to be defined before members(GH-19763)Miss Islington (bot)2020-05-271-0/+4
| | | require `_generate_next_value_` to be defined before members