summaryrefslogtreecommitdiffstats
path: root/Doc/library
Commit message (Collapse)AuthorAgeFilesLines
* More useful OrderedDict LRU recipes (GH-28164)Miss Islington (bot)2021-09-051-19/+76
| | | | | (cherry picked from commit c860d30fa055ada336c75157b488c7baafb5bdad) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-44571: Add itertool recipe for a variant of takewhile() (GH-28167)Miss Islington (bot)2021-09-051-1/+28
| | | | | (cherry picked from commit 91be41ad933e24bff26353a19f56447e17fb6367) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* [3.10] bpo-45060: Get rid of few uses of the equality operators with None ↵Serhiy Storchaka2021-09-041-1/+1
| | | | | | | (GH-28087). (GH-28092) (cherry picked from commit 3c65457156d87e55010507d616b4eecb7a02883d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-42255: Update webbrowser doc for macOS (GH-28144)Dong-hee Na2021-09-031-2/+2
|
* [doc] Reword sentinel object summary in dataclasses (GH-27792)Miss Islington (bot)2021-09-021-4/+3
| | | | | | | | This sentinel value (`MISSING`) is also used as default value for the `kw_only` parameter introduced in Python 3.10. It's cleaner to simply omit the usage here. Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 767a17f35a581da664ac8cf5d67281da9485eebf) Co-authored-by: Ville Korhonen <ville@xd.fi>
* [3.10] [doc] Link to deprecation policy PEP from the DeprecationWarning ↵Łukasz Langa2021-09-021-0/+4
| | | | | | | documentation (GH-28123) (#28126) (cherry picked from commit a7ef15aae8608560bffeeaba412c10e52cab07dd) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-40360: [doc] Rephrase deprecation note about lib2to3 (GH-28122)Miss Islington (bot)2021-09-021-6/+9
| | | | | (cherry picked from commit f0b63d5b56a6324f5f86807d9548c7b38aa2a8f7) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44135: [docs] Fix inline markup (GH-28095)Miss Islington (bot)2021-08-311-1/+1
| | | | | (cherry picked from commit 9a7ec2fcdee2da9e080ca459d4c240776df72567) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-44135: Refine explanation of how passing tuples to issubclass() behaves ↵Miss Islington (bot)2021-08-311-3/+3
| | | | | | | | (GH-26193) Co-authored-by: Zachary Kneupper <zachary.kneupper@gmail.com> (cherry picked from commit 08767c73b5bf1f28792d5fef7f41d52822a4989f) Co-authored-by: Zack Kneupper <zachary.kneupper@gmail.com>
* bpo-44925: [docs] Fix confusing deprecation notice for typing.IO (GH-28004)Miss Islington (bot)2021-08-311-4/+4
| | | | | (cherry picked from commit edae42f99f8153b92ccf365dbd1c2fa954f913b4) Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
* bpo-44394: Update libexpat copy to 2.4.1 (GH-26945)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>
* bpo-39452: Rewrite and expand __main__.rst (GH-26883)Miss Islington (bot)2021-08-241-17/+360
| | | | | | | | | | Broadened scope of the document to explicitly discuss and differentiate between ``__main__.py`` in packages versus the ``__name__ == '__main__'`` expression (and the idioms that surround it), as well as ``import __main__``. Co-authored-by: Géry Ogam <gery.ogam@gmail.com> Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 7cba23164cf82f6619db002cd30021b5dfb1f809) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* Update susp-ignored.csv line numbersMiss Islington (bot)2021-08-231-144/+175
|
* bpo-42560: simplify/merge architecture info in Tkinter docs (GH-27839)Miss Islington (bot)2021-08-231-39/+9
| | | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com> (cherry picked from commit e41912c6348362489d2514565a70782591f23902) Co-authored-by: Mark Roseman <mark@markroseman.com>
* bpo-42560: add warning to Tkinter docs about outdated pre-8.5 documentation ↵Miss Islington (bot)2021-08-231-0/+7
| | | | | | | | | online (GH-27836) Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com> (cherry picked from commit 1eb451031a64b4f28d737ee7f394252ae9a76118) Co-authored-by: Mark Roseman <mark@markroseman.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>
* Move susp-ignored locationsMiss Islington (bot)2021-08-221-14/+16
|
* [3.10] bpo-42560: rework external references in Tkinter docs (GH-27838) ↵Łukasz Langa2021-08-221-32/+19
| | | | | | | | | | | | | | | (GH-27893) - 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
| | | | | | | | - 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) (cherry picked from commit 141c7a4fce8def67baa9d24f542c105b8502893e) Co-authored-by: Mark Roseman <mark@markroseman.com>
* bpo-44926: `get_type_hints`: Add note about type aliases with forward refs ↵Miss Islington (bot)2021-08-221-0/+7
| | | | | | | (GH-27859) (GH-27860) (cherry picked from commit 16b9be4861e007ad483611ba0479feb2b90ea783) Co-authored-by: Maximilian Hils <git@maximilianhils.com>
* bpo-44940: Clarify the documentation of re.findall() (GH-27849)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>
* Fix reST markup in dataclasses.rst (GH-27843) (GH-27845)Miss Islington (bot)2021-08-191-1/+1
| | | | | | | | | The signature of field() had an extraneous colon at the end, causing it to appear all bold and without the module name. (cherry picked from commit d26dbba9297adb59bc49a6583c647804ef56fc58) Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com> Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
* bpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824)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 (GH-27688)Miss Islington (bot)2021-08-171-0/+4
| | | | | | 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)Miss Islington (bot)2021-08-172-60/+2
| | | | | (cherry picked from commit 6a358bb9482f7595b858ea7b800cbe66f0de5fa1) Co-authored-by: Gautam Chaudhuri <gautam.chaudhuri.1803@gmail.com>
* bpo-36700: [doc] Update base64 RFC references to RFC 4648 (GH-27700)Miss Islington (bot)2021-08-132-4/+13
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit e43b9bbc31c22a0d97dc4fc420300e40c2d74166) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-26228: [doc] Adapt PTY documentation updates from GH-4167 (GH-27754)Miss Islington (bot)2021-08-131-5/+9
| | | | | | Co-authored-by: Cornelius Diekmann <c.diekmann@googlemail.com> (cherry picked from commit dd8eb303b90d63e1f56684bedadca6674bb74a29) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-26228: Fix pty EOF handling (GH-12049) (GH-27732)Miss Islington (bot)2021-08-121-5/+1
| | | | | | | | | | | | | On non-Linux POSIX platforms, like FreeBSD or macOS, the FD used to read a forked PTY may signal its exit not by raising an error but by sending empty data to the read syscall. This case wasn't handled, leading to hanging `pty.spawn` calls. Co-authored-by: Reilly Tucker Siemens <reilly@tuckersiemens.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 81ab8db235580317edcb0e559cd4c983f70883f5) Co-authored-by: Zephyr Shannon <geoffpshannon@gmail.com>
* bpo-33479: Add architecture and threading model sections to Tkinter module ↵Miss Islington (bot)2021-08-111-0/+104
| | | | | | | | docs (GH-27717) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 08caf2d5d4a9994976e9eafaf345b5a1a4012a81) Co-authored-by: Mark Roseman <mark@markroseman.com>
* bpo-33479: Remove unqualified tkinter threadsafe claim. (GH-6990)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 (GH-18272)Miss Islington (bot)2021-08-109-0/+44
| | | | | | 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)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) 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)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)Miss Islington (bot)2021-08-051-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
| | | | | | | 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) 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)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)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)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
| | | | | (cherry picked from commit 54f185b6d321a6354aef2b2886c766677f487ecb) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-35183: Add typical examples to os.path.splitext docs (GH-27286) (GH-27563)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)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)Miss Islington (bot)2021-08-021-3/+3
| | | | | (cherry picked from commit 414dcb13aaa4fd42f264fdee47782dede5c83d6c) Co-authored-by: partev <petrosyan@gmail.com>
* bpo-43625: Enhance csv sniffer has_headers() to be more accurate (GH-26939) ↵Miss Islington (bot)2021-07-301-0/+14
| | | | | | | (GH-27494) (cherry picked from commit ceea579ccc51791f3e115155d6f27905bc7544a9) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27478)Miss Islington (bot)2021-07-305-7/+7
| | | | | (cherry picked from commit be42c06bb01206209430f3ac08b72643dc7cad1c) Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
* Doc: Change errant 3.10.0 to 3.10, to match other mentions (GH-27459) (GH-27479)Miss Islington (bot)2021-07-301-2/+2
| | | | | (cherry picked from commit f4367ba3c533fc2dc9e32aa431d674f715b911f2) Co-authored-by: Ori Avtalion <ori@avtalion.name>
* Fix typo in ast.rst (GH-27449) (GH-27454)Miss Islington (bot)2021-07-291-1/+1
| | | | | | Co-authored-by: HaeckelK <haeckelk.github@gmail.com> (cherry picked from commit 6b61d74a3bab43a44fa47b1facd1bec3d74e12b1) Co-authored-by: HaeckelK <51128712+HaeckelK@users.noreply.github.com>