summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* bpo-44394: Update libexpat copy to 2.4.1 (GH-26945) (GH-28032)Miss Islington (bot)2021-08-291-14/+18
| | | | | | | | | | Update the vendored copy of libexpat to 2.4.1 (from 2.2.8) to get the fix for the CVE-2013-0340 "Billion Laughs" vulnerability. This copy is most used on Windows and macOS. Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 3fc5d84046ddbd66abac5b598956ea34605a4e5d) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-40635: Fix getfqdn() docstring and docs (GH-27971)Miss Islington (bot)2021-08-261-2/+3
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit fdcb675eed47b1f6054fae381af4388b16a6fff4) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [doc] Fix typo in idle.rst (GH-27903)Miss Islington (bot)2021-08-231-1/+1
| | | | | | intially -> initially (cherry picked from commit 0e8695ece0d3569eeb1b89c91a1b0aa3d34f228e) Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
* [3.9] bpo-42560: rework external references in Tkinter docs (GH-27838) ↵Łukasz Langa2021-08-221-32/+19
| | | | | | | | | | | | | | | (GH-27896) - reorganized from two sections (tkinter vs. tcl/tk) into three (tkinter, tcl/tk, and books) - main (recommended) tkinter docs have one tutorial (tkdocs) and one reference (shipman), added better descriptions - dropped link to Tkinter page on wiki (suggestion by E. Paine; outdated, most material already linked to from python.org) - replaced Tcl/Tk recent man pages and core dev home with single link to main Tcl/Tk page (which holds both of these) - updated Modern Tkinter link to book page on TkDocs site (was Amazon link to old version), dropped description - replaced Grayson book by Moore book (newer, covers ttk) - changed Ousterhout ref to second edition, covers ttk - dropped link to Welch book (old). (cherry picked from commit d1049d1d6b43296d4db1aa8668aa4ca807bf7adb) Co-authored-by: Mark Roseman <mark@markroseman.com>
* bpo-42560: reorganize Tkinter docs modules section for clarity (GH-27840) ↵Miss Islington (bot)2021-08-221-17/+36
| | | | | | | | | | (GH-27895) - move description of internal modules (_tkinter and tkinter.constants) from section intro to list of additional modules at end of section, as not most important info - added missing ttk and tix here - emphasized up front that most apps will need tkinter and ttk (cherry picked from commit d5dbe8bca792350f4997c027535e0ca498abd1bb) Co-authored-by: Mark Roseman <mark@markroseman.com>
* bpo-42560: tweaks to intro of Tkinter docs- add macOS, drop ActiveState ↵Miss Islington (bot)2021-08-221-3/+2
| | | | | | | (GH-27835) (GH-27892) (cherry picked from commit 141c7a4fce8def67baa9d24f542c105b8502893e) Co-authored-by: Mark Roseman <mark@markroseman.com>
* bpo-44940: Clarify the documentation of re.findall() (GH-27849) (GH-27880)Miss Islington (bot)2021-08-221-4/+14
| | | | | | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Vedran Čačić <vedgar+github@gmail.com> (cherry picked from commit 64f9e7b19dc1603fcbd07c17c9860085b9d21465) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824) (GH-27827)Miss Islington (bot)2021-08-191-0/+5
| | | | | (cherry picked from commit 0fd66e46b2f472d0d206a185dc8892f4f0347cb6) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44508: [Doc] Document failure mode for loop.call_soon_threadsafe ↵Miss Islington (bot)2021-08-171-0/+4
| | | | | | | | (GH-27688) (GH-27805) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 3240bc62f4e0afa09964f3afc845697f0a0806b9) Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
* bpo-44903: Removed othergui.rst and list of GUI frameworks (GH-27762) (GH-27790)Miss Islington (bot)2021-08-172-60/+2
| | | | | (cherry picked from commit 6a358bb9482f7595b858ea7b800cbe66f0de5fa1) Co-authored-by: Gautam Chaudhuri <gautam.chaudhuri.1803@gmail.com>
* bpo-33479: Remove unqualified tkinter threadsafe claim. (GH-6990) (GH-27705)Miss Islington (bot)2021-08-101-2/+1
| | | | | | It has not been true for several years and likely never was. (cherry picked from commit 6b37d0d5300813de31d66df1c77dad7e1027e4d8) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-39498 Start linking the security warnings in the stdlib modules ↵Miss Islington (bot)2021-08-109-0/+44
| | | | | | | | (GH-18272) (GH-27699) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit c5c5326d4799fe4ae566aff32ed3461af95859cc) Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
* bpo-44522: Fix inaccurate information in open() function (GH-27650) (GH-27682)Miss Islington (bot)2021-08-091-3/+3
| | | | | | - Use "Low surrogate code units" instead of "Unicode Private Use Area" (cherry picked from commit b05e9b63fcfcd4bd7a6434fa9f9a7028d12f91c4) Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
* bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile ↵Miss Islington (bot)2021-08-091-0/+3
| | | | | | | | (GH-21470) (GH-27674) Co-Authored-By: Bo Bayles <bbayles@gmail.com> (cherry picked from commit eb2d4a66ff07aa6e51cfaaa31afed31addf76936) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-27752: improve documentation of csv.Dialect (GH-26795) (GH-27644)Miss Islington (bot)2021-08-061-11/+23
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 0ffdced3b64ba5886fcde64266a31a15712da284) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618) (GH-27619)Miss Islington (bot)2021-08-061-1/+1
| | | | | (cherry picked from commit 938e84b4fa410f1a86f5e0708ebc3af6bb8efb0e) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166) ↵Miss Islington (bot)2021-08-041-2/+5
| | | | | | | | | (GH-27608) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Alexander Vandenbulcke <alexander.vandenbulcke95@gmail.com> (cherry picked from commit a8dc4893d2b28827e82447326ea47759c161a722) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [doc] bpo-43066: zipfile - add note on leading slash in the filename arg ↵Miss Islington (bot)2021-08-041-1/+5
| | | | | | | | (GH-26899) (GH-27606) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 7c5dab4340032eb15d3797d8b601ef11649bbab3) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* Fix typo in 'xml.dom.minidom' documentation (GH-27602) (GH-27604)Miss Islington (bot)2021-08-041-1/+1
| | | | | (cherry picked from commit cc77193127381be16467ad10f421d3ba147ed972) Co-authored-by: Cristián Maureira-Fredes <cmaureir@users.noreply.github.com>
* Fix hyperlink conflict in turtle docs (GH-27592) (GH-27595)Miss Islington (bot)2021-08-041-12/+16
| | | | | (cherry picked from commit 3d2b4c6f18d7e644e5850d2af74ac5dc530eb24c) Co-authored-by: Harry <harry.lees@gmail.com>
* bpo-41737: expand doc for NotADirectoryError (GH-27471) (GH-27577)Miss Islington (bot)2021-08-031-2/+4
| | | | | (cherry picked from commit f7c23a99cd4f8179b6ba2cffaeb78b852c0f6488) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-44782: Improve OrderedDict recipe for LRU cache variants (GH-27536) ↵Miss Islington (bot)2021-08-021-16/+32
| | | | (GH-27567)
* bpo-35183: Add typical examples to os.path.splitext docs (GH-27286) (GH-27564)Miss Islington (bot)2021-08-021-7/+26
| | | | | (cherry picked from commit aa0894b3792901adb91e5f6d049154b7bcb980ec) Co-authored-by: Jake Stockwin <jake.stockwin@optimorlabs.com>
* doc: "Mac OS " -> "macOS" (GH-27534) (GH-27549)Miss Islington (bot)2021-08-021-1/+1
| | | | | (cherry picked from commit 1342248f3a2b321b7b00867f47c92ba6549f9497) Co-authored-by: partev <petrosyan@gmail.com>
* doc: "Mac OS X" -> "macOS" (GH-27535) (GH-27547)Miss Islington (bot)2021-08-021-3/+3
| | | | | (cherry picked from commit 414dcb13aaa4fd42f264fdee47782dede5c83d6c) Co-authored-by: partev <petrosyan@gmail.com>
* [3.9] Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27480)Łukasz Langa2021-07-305-7/+7
| | | | | (cherry picked from commit be42c06bb01206209430f3ac08b72643dc7cad1c) Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
* Fix typo in ast.rst (GH-27449) (GH-27455)Miss Islington (bot)2021-07-291-1/+1
| | | | Co-authored-by: HaeckelK <haeckelk.github@gmail.com> (cherry picked from commit 6b61d74a3bab43a44fa47b1facd1bec3d74e12b1)
* bpo-44765: [doc] fix typo (GH-27430) (GH-27451)Miss Islington (bot)2021-07-291-1/+1
| | | | | (cherry picked from commit ccefa8a905c797e4a60078d5e1de846f929c6928) Co-authored-by: Pavel <69010336+pavel-lexyr@users.noreply.github.com>
* [doc] Remove reference to obsolute opcode (GH-27402)Dennis Sweeney2021-07-281-1/+1
|
* bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423) ↵Miss Islington (bot)2021-07-281-1/+1
| | | | | | | (GH-27427) (cherry picked from commit cb1d76f10ab33dddd0dbd64e6506bf7c065d499b) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27425)Miss Islington (bot)2021-07-281-4/+14
| | | | | (cherry picked from commit c1e39d6b1167376fdaf3f288ba9a689e61c7fdd1) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* Add missing end of sentence in docs (GH-27280) (GH-27420)Miss Islington (bot)2021-07-281-1/+1
| | | | | (cherry picked from commit 531e2fbc52ce07a9cf37e0db05a5337e404dfccd) Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
* Fix typo in sqlite3.rst (GH-27415) (GH-27418)Miss Islington (bot)2021-07-281-1/+1
| | | | | | preceeding -> preceding (cherry picked from commit fbe87023bf33e941373a5fca023652a825db7baf) Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
* Spell out 's.pop() or s.pop(i)' (GH-27398) (GH-27413)Miss Islington (bot)2021-07-281-1/+1
| | | | | (cherry picked from commit 2ff5bb4908975976031ba738866de619cafadc4d) Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
* docs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27375)Miss Islington (bot)2021-07-261-6/+6
| | | | | | | | | "Mac OS X" has been rebranded as macOS https://www.apple.com/macos (cherry picked from commit 5fdd2a14ce3f81a7db47bb79421c426dec4b25bd) Co-authored-by: partev <petrosyan@gmail.com>
* The current documentation says it returns None if the name is not found, but ↵Miss Islington (bot)2021-07-261-1/+1
| | | | | | | | | | (GH-26785) (GH-27372) the implementation uses [] and will raise KeyError instead. Noticed by @srittau in python/typeshed@5659. (cherry picked from commit f22737abfa07605f4ed1a99cfa97a26520b6c5c2) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-43443: Clarify difference between shelve objects and dicts (GH-27004) ↵Miss Islington (bot)2021-07-261-1/+2
| | | | | | | (GH-27370) (cherry picked from commit c97c2a050cf753003012ae3f08e035326b8f6167) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.9] bpo-43184: Add information about added attribute and method. ↵Miss Islington (bot)2021-07-251-0/+4
| | | | | (GH-27347) (GH-27353) (cherry picked from commit 50b72768ffe6413424dc4eba916dd1ff89a2fe7b)
* bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) (#27327)Miss Islington (bot)2021-07-241-1/+1
| | | | | | | This fixes a small typo. The code fragment should not be quoted. Thank you @merwok for the feedback. (cherry picked from commit 7d25254cf0763b62f4c4a3019e56385cab597b9f) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-14879: [doc] clarify how to check for errors from subprocess.Popen(..., ↵Miss Islington (bot)2021-07-221-1/+4
| | | | | | | | shell=True) (GH-26755) (GH-27289) (cherry picked from commit 50ffbe3dafcae7826d114df61d56c7ac45a6358c) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* Fix typo in collections.rst (GH-27270) (#27284)Miss Islington (bot)2021-07-221-1/+1
|
* bpo-30511: Add note on thread safety to shutil.make_archive() (GH-26933) ↵Miss Islington (bot)2021-07-211-0/+4
| | | | | | | | (GH-27275) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 64f54b7ccd49764b0304e076bfd79b5482988f53) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [3.9] bpo-43958: Document importlib.metadata.PackagePath.locate method ↵Miss Islington (bot)2021-07-181-1/+7
| | | | | | | | | | (GH-25669) (GH-27221) (cherry picked from commit b38b2fa0218911ccc20d576ff504f39c9c9d47ec) Co-authored-by: Paul Moore <p.f.moore@gmail.com> Automerge-Triggered-By: GH:jaraco
* bpo-44639: fix typo in sqlite.rst (transation => transaction) (GH-27145) ↵Miss Islington (bot)2021-07-141-1/+1
| | | | | | | | | | | | | | (GH-27149) To my understanding, this is supposed to say "transaction". See the relevant source: https://github.com/python/cpython/blob/a158b20019b50e3ece6e4743ec4e6ae8d818b690/Modules/_sqlite/connection.cGH-L1434-L1467 (cherry picked from commit 1ca27f264730abaaa48b3c5e7c6eafb45017b824) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com> Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-43126: Expand docs on io.IOBase.readlines() method (GH-27061) (#27114)Miss Islington (bot)2021-07-131-0/+3
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 3b5b99da4b256a31933112f4a2385386149c19e1) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-44514: Add doctest testcleanup for configparser and bz2 (GH-26909) (#27111)Miss Islington (bot)2021-07-132-0/+10
| | | | | | | | Add testcleanup section to configparser and bz2 documentation which removes temporary files created in the filesystem when 'make doctest' is run. (cherry picked from commit 48a5aa7f128caf5a46e4326c1fd285cd5fc8e59d) Co-authored-by: Kevin Follstad <kfollstad@gmail.com>
* bpo-42194: Add "New in version: 3.9" to argparse.BooleanOptionalAction ↵Miss Islington (bot)2021-07-121-0/+2
| | | | | | | (GH-23026) (#27098) (cherry picked from commit da2e673c53974641a0e13941950e7976bbda64d5) Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com>
* bpo-26329: update os.path.normpath documentation (GH-20138) (#27095)Miss Islington (bot)2021-07-121-0/+8
| | | | | (cherry picked from commit 66c5853406bbcccecf35372795078c0641a5f385) Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
* bpo-43207: InspectLoader.is_package is not an abstract method (GH-24517) ↵Miss Islington (bot)2021-07-121-1/+1
| | | | | | | | | | (#26322) 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-41180: Replace marshal code.__new__ audit event with marshal.load[s] and ↵Steve Dower2021-06-301-0/+18
| | | | marshal.dumps (GH-26971)