summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* [3.10] bpo-44305: Improve syntax error for try blocks without except or ↵Pablo Galindo2021-06-031-0/+14
| | | | | | | finally (GH-26523) (GH-26524) (cherry picked from commit b250f89bb7e05e72a4641d44b988866b919575db) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* Add bpo-42914 to What's New (GH-25124)Miss Islington (bot)2021-06-031-0/+3
| | | | | | | | BPO-42914 was not added to the What's New in GH-24864. This includes it in the "Improved Modules" section. Automerge-Triggered-By: GH:gpshead (cherry picked from commit 4846ea95d1a121df5e8081e2a290f63d1419cad8) Co-authored-by: Wm. Keith van der Meulen <keith@wkeithvan.com>
* [3.10] bpo-44279: [doc] reword contextlib.suppress documentation (GH-26428) ↵Irit Katriel2021-06-011-2/+3
| | | | | | | | (GH-26480) (cherry picked from commit 87272b70f157af76cb14ff90d73dfc5d9bfb945a) Co-authored-by: MapleCCC <littlelittlemaple@gmail.com>
* bpo-44246: Remove note about access by index now that a compatibility shim ↵Miss Islington (bot)2021-05-311-4/+1
| | | | | | | | | is offered. (GH-26472) (#26473) (cherry picked from commit 78d9a9b1904f0e1d9db1e941c19782f4f5a881d4) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* bpo-42085: [docs] Add versionadded for am_send in type object documentation ↵Miss Islington (bot)2021-05-291-0/+2
| | | | | | | (GH-25465) (GH-26453) (cherry picked from commit 0b11c429c7f1721d9ffb9ae19e3e8e2e7bd6444d) Co-authored-by: Martmists <mail@martmists.com>
* bpo-44263: Mention PyType_Ready in the gc protocol warning (GH-26445) (#26446)Miss Islington (bot)2021-05-292-9/+12
| | | | | | | (cherry picked from commit 43cf7c864a2941b3f8f823e5928721dd286b7778) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-44263: Better explain the GC contract for PyType_FromSpecWithBases ↵Miss Islington (bot)2021-05-292-0/+18
| | | | | | | | | (GH-26442) (GH-26443) (cherry picked from commit 8b55bc3f93a655bc803bff79725d5fe3f124e2f0) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com> Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* [3.10] bpo-44246: Update What's New for importlib.metadata. (GH-26408) ↵Miss Islington (bot)2021-05-271-3/+9
| | | | | | | | | | | | | | | | | | | | | | | (GH-26415) * [bpo-44246](): Update What's New for importlib.metadata. Bump version of importlib_metadata included. Add note about compatibility notice and fix link to entry_points documentation. Add note about removal of access by index on Distribution.entry_points. * Fix syntax mistake in issue reference. Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> * Fix broken reference in entry-points. Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 28f12c9f4f39d283d823d81e311d863526dfdb54) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com> Automerge-Triggered-By: GH:jaraco
* [3.10] bpo-38908: [docs] Add changes to 3.10 whatsnew and fix some minor ↵Miss Islington (bot)2021-05-271-0/+8
| | | | | | | | | inaccuracies in news (GH-26096) (GH-26337) The fix only applies to ``isinstance``. ``issubclass`` isn't affected (because it was always working to begin with). So I also fixed the news to reflect that. (cherry picked from commit 8450e8a81f6d54f45e1fc5c13a03878c9978750d) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* [3.10] bpo-42392: [docs] Add deprecated-removed loop labels for asyncio ↵Miss Islington (bot)2021-05-266-0/+151
| | | | | | | | | | | (GH-26357) (GH-26390) * Add deprecated-removed loop labels for all reelvant functions/classes in asyncio (cherry picked from commit d8fd8c8568cbc2f53c1abeda3596a89a46f0e3d7) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Automerge-Triggered-By: GH:gpshead
* bpo-41147: [doc] contextlib.redirect_stdout() provides the new stream as ↵Miss Islington (bot)2021-05-261-3/+4
| | | | | | | context var (GH-21199) (GH-26379) (cherry picked from commit 46db39d7bd67fb9fea133cd4f18cdf7eacb0f6d9) Co-authored-by: Peter Law <PeterJCLaw@gmail.com>
* Point to recent link to PyFLTK (GH-26315) (GH-26366)Miss Islington (bot)2021-05-251-1/+1
| | | | | | | (cherry picked from commit ee3d78ef730116f2c43afc248d207ca1d47eee08) Co-authored-by: Mark <mark@qtrac.eu> Co-authored-by: Mark <mark@qtrac.eu>
* bpo-20408: Fix memoryview() signature in docs (GH-24431)Miss Islington (bot)2021-05-252-9/+8
| | | | | (cherry picked from commit d18e5dae914b1db49b25ed7729c07a535d1f0c52) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* bpo-43795: Remove Py_FrozenMain from the Limited API & Stable ABI ↵Miss Islington (bot)2021-05-252-1/+4
| | | | | | | | | | | | | | | | | | (GH-26241) (GH-26353) Py_FrozenMain was added to the Limited C API in [bpo-42591]() (3.10.0a4); but to fix that issue it would be enough to add it to the regular C API. The function is undocumented, tests were added very recently ([bpo-44131]()), and most importantly, it is not present in all builds of Python, as the linker sometimes omits it as unused. It should be added back when these issues are fixed. Note that this does not affect Python's regular C API. (cherry picked from commit d16856960e33bc5f64fc5b842f132058becafa37) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
* bpo-43109: configure doc: LTO requires "ar" on macOS (GH-26349)Miss Islington (bot)2021-05-251-2/+2
| | | | | (cherry picked from commit 63f17c252ab1b9357c5f022296213c42d9629458) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-44151: Various grammar, word order, and markup fixes (GH-26344) (GH-26345)Miss Islington (bot)2021-05-251-10/+10
|
* bpo-44151: linear_regression() minor API improvements (GH-26199) (GH-26338)Miss Islington (bot)2021-05-251-10/+11
|
* bpo-44195: Use 'TraversableResources' in the docs to match the ↵Miss Islington (bot)2021-05-241-2/+2
| | | | | | | implementation. (GH-26317) (cherry picked from commit 7148293d96843ca868961313b00361504ec0c242) Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Fix typo in whatsnew/3.10.rst (GH-26310) (GH-26323)Miss Islington (bot)2021-05-231-1/+1
| | | | | (cherry picked from commit 3ad101b3175c102e252161a1b8b928e694de8c94) Co-authored-by: Tushar Sadhwani <tushar.sadhwani000@gmail.com>
* bpo-43207: InspectLoader.is_package is not an abstract method (GH-24517)Miss Islington (bot)2021-05-231-1/+1
| | | | | | | | Making the description of `InspectLoader.is_package` aligned with the current implementation. Automerge-Triggered-By: GH:jaraco (cherry picked from commit 8b9310d90281d4bd3643f4e0767b2d0390f0cb05) Co-authored-by: Junnosuke Kuroda <Isa-rentacs@users.noreply.github.com>
* bpo-30757: Improve "How to make stand-alone binaries" FAQ (GH-26309) (GH-26311)Miss Islington (bot)2021-05-222-10/+12
| | | | | | | | | Co-authored-by: denfromufa <denfromufa@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 2a1e6698b10a7b58c6ac66429de0f51cb739da35) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* Remove duplicate words in docs. (GH-26167) (GH-26296)Miss Islington (bot)2021-05-226-9/+9
| | | | | (cherry picked from commit b06ed1d883cd79c920c514d8a1f4643cf93dc5e0) Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Specify Python Cookbook edition for reference (GH-26301) (#26302)Miss Islington (bot)2021-05-211-2/+2
| | | | | (cherry picked from commit 604cd71e501b3bb1ede2b8abc797643fc2e9129c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-43927: Change 'IOError' to 'OSError' (GH-26289)Miss Islington (bot)2021-05-211-1/+1
| | | | | | This is the last remaining instance, at least for this chapter, in 3.10 & 3.11. (cherry picked from commit 2f47d8dcc735234bf9c7f92fbdacd8c5a6ee7761) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [doc] Fix indentation in inspect documentation (GH-24846) (GH-26287)Miss Islington (bot)2021-05-211-4/+4
| | | | | (cherry picked from commit 642fdfdc04e8e40c2cd3e65d67b09fac472bb345) Co-authored-by: Numerlor <25886452+Numerlor@users.noreply.github.com>
* [3.10] bpo-43882 - Mention urllib.parse changes in Whats new section. (GH-26275)Senthil Kumaran2021-05-211-0/+7
| | | | | | | | | * [3.10] bpo-43882 - Mention urllib.parse changes in Whats new section. * escape the \n chars, ReSTify :rfc:, urllib.parse is a :mod: * minor formatting. Co-authored-by: Gregory P. Smith <greg@krypto.org>
* [doc] Fix typo in asyncio-eventloop documentation (GH-22311) (GH-26256)Miss Islington (bot)2021-05-191-2/+2
| | | | | (cherry picked from commit b66a03a49157076cb15a002aaf44a011cc79be3b) Co-authored-by: Bruno <brunogeninatti@gmail.com>
* bpo-40975: [doc] Identify AsyncExitStack.enter_async_context()/aclose() as ↵Miss Islington (bot)2021-05-191-2/+2
| | | | | | | coroutine methods (GH-20870) (GH-26254) (cherry picked from commit c054e8f78f53035e06d6dc58c423d76c8a5fa39a) Co-authored-by: naglis <naglis@users.noreply.github.com>
* bpo-44010: IDLE: colorize pattern-matching soft keywords (GH-25851)Miss Islington (bot)2021-05-192-0/+12
| | | | | (cherry picked from commit 60d343a81679ea90ae0e08fadcd132c16906a51a) Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com>
* bpo-35765: Clarify references to "object x" in the JSON tutorial (GH-22411) ↵Miss Islington (bot)2021-05-191-1/+2
| | | | | | | | (GH-26218) (cherry picked from commit 4fdcc39f711e1b586a94e2c5088fdd7e78fd9f58) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-44106: Purge unused sqlite3 doc includes (GH-26234)Miss Islington (bot)2021-05-198-138/+0
| | | | | (cherry picked from commit d798acc8733b605f7fc9c3c1a85cd14ee2a56add) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-44106: Improve sqlite3 example database contents (GH-26027)Miss Islington (bot)2021-05-199-42/+37
| | | | | (cherry picked from commit 92d1064727d6b7f4136f9c09ab52ae15e3676afe) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-30593: Doc'ed that executescript() disregards isolation level (GH-26220)Miss Islington (bot)2021-05-191-1/+5
| | | | | (cherry picked from commit 901443757333a66ff2b5c85eba30dc1c48eac321) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* [3.10] bpo-41963: document that ConfigParser strips off comments (GH-26197) ↵Łukasz Langa2021-05-181-0/+7
| | | | | | | | | (GH-26214) Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Laura Gutierrez Funderburk <58710704+lgfunderburk@users.noreply.github.com> Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com> (cherry picked from commit 02ee8191263848f8c8999f72286148946b83e5c9)
* Apply edits from Allen Downey's review of the linear_regression docs. ↵Miss Islington (bot)2021-05-171-17/+9
| | | | (GH-26176) (GH-26185)
* [doc] Fix typo in os module (GH-24464)Miss Islington (bot)2021-05-161-1/+1
| | | | | | Automerge-Triggered-By: GH:iritkatriel (cherry picked from commit fdc7e52f5f1853e350407c472ae031339ac7f60c) Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
* bpo-32133: Improve numbers docs (GH-26124) (GH-26149)Miss Islington (bot)2021-05-151-1/+1
|
* bpo-44139: Use a more descriptive syntax error comprehension case in the ↵Miss Islington (bot)2021-05-151-2/+2
| | | | | | | What's New for 3.10 (GH-26145) (GH-26146) (cherry picked from commit c5b833046d9dbb2063f776703fc513b71664b859) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
* bpo-44072: fix Complex, Integral docs for `**` (GH-25986)Miss Islington (bot)2021-05-141-4/+5
| | | | | | In numbers module docstrings and docs. (cherry picked from commit 4aa63d65a9971d14f1a2131b989dca0dab514a9d) Co-authored-by: Rory Yorke <rory.yorke@gmail.com>
* bpo-43729: Clarify comment in tutorial example (GH-25191) (#26136)Miss Islington (bot)2021-05-141-1/+1
| | | | | | | (cherry picked from commit 07797121cc290ede0b3d3cf02068f3d993cddd15) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* Subprocess Protocols Documentation (GH-20950) (GH-26133)Miss Islington (bot)2021-05-141-1/+1
|
* [3.10] [doc] Fix typos in cgi.rst (GH-24766) (GH-26132)Irit Katriel2021-05-141-4/+4
| | | | | (cherry picked from commit 19d839ae20db9c6f740646e99df7f4601cb9f4dc) Co-authored-by: Géry Ogam <gery.ogam@gmail.com>
* Update doc as relative import can be used with star import (GH-25667) (GH-26121)Miss Islington (bot)2021-05-141-1/+1
| | | | | | | (cherry picked from commit 3d4b5f1019123a7d74801500eb18ec8fa12136bc) Co-authored-by: Saiyang Gou <gousaiyang@163.com> Co-authored-by: Saiyang Gou <gousaiyang@163.com>
* Reword paragraph on specific value for Py_LIMITED_API (GH-26101) (GH-26123)Miss Islington (bot)2021-05-141-12/+12
| | | | | (cherry picked from commit ddd30b2dd207c3c963874f0644cdff2ee5989575) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* Updated code example for asyncio.gather (GH-20604) (GH-26119)Miss Islington (bot)2021-05-141-8/+11
| | | | | | | | | | The previous example did not fully showcase the interest of using gather. Here the example showcases "the result is an aggregate list of returned values". (cherry picked from commit 56b8ea65d28bd865e2363e10e9f1c2ca3433ffc2) Co-authored-by: josephernest <nouvellecollection@gmail.com> Co-authored-by: josephernest <nouvellecollection@gmail.com>
* bpo-43977: Update pattern matching language reference docs (GH-25917) (GH-26117)Miss Islington (bot)2021-05-142-8/+36
| | | | | | | | | | * Update patma language reference with new changes to sequence and mapping * update 3.10 whatsnew too (cherry picked from commit 53c91ac5253bf1cb3cb20e1345e798a53f4c3517) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-43795: PEP 652 user documentation (GH-25668) (GH-26034)Miss Islington (bot)2021-05-145-1038/+1156
| | | | | | | | | | | - Reformat the C API and ABI Versioning page (and extend/clarify a bit) - Rewrite the stable ABI docs into a general text on C API Compatibility - Add a list of Limited API contents, and notes for the individual items. - Replace `Include/README.rst` with a link to a devguide page with the same info (cherry picked from commit b05955d6f5f149523b5855a335444b7c6324bdb7) Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Petr Viktorin <encukou@gmail.com>
* bpo-43757: Document os.path.realpath(strict=True) in 3.10 whatsnew. ↵Miss Islington (bot)2021-05-141-0/+8
| | | | | | | | | (GH-26090) (#26099) (cherry picked from commit d1560d2429dff8e7d397801786e966dd33bb1bd7) Co-authored-by: Barney Gale <barney.gale@gmail.com> Co-authored-by: Barney Gale <barney.gale@gmail.com>
* [3.10] bpo-43908: Add What's New entry for Py_TPFLAGS_IMMUTABLETYPE flag ↵Miss Islington (bot)2021-05-131-0/+10
| | | | | | | | | | (GH-25816) (GH-26115) (cherry picked from commit a09fc9c63f1b5980c62ff2712f67500bacb92b04) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Automerge-Triggered-By: GH:gvanrossum
* bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat() and ↵Miss Islington (bot)2021-05-131-0/+5
| | | | | | | chmod() in 3.10 whatsnew. (GH-26089) (cherry picked from commit 366c69f3f63a2a1cce57dabe8f7c2e67d1df625d) Co-authored-by: Barney Gale <barney.gale@gmail.com>