summaryrefslogtreecommitdiffstats
path: root/Doc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45024 and bpo-23864: Document how interface testing works with the ↵Miss Islington (bot)2021-09-101-63/+164
| | | | collections ABCs (GH-28218) (GH-28266)
* Fix minor typo in 3.10.rst (GH-28253) (GH-28259)Miss Islington (bot)2021-09-091-1/+1
| | | | | | | (cherry picked from commit 73668541357caa813e7daa8792fab6fdf755a07f) Co-authored-by: D.Lintin <diantolintin3@gmail.com> Co-authored-by: D.Lintin <diantolintin3@gmail.com>
* Fix small mistake in fileinput documentation (GH-28241)Miss Islington (bot)2021-09-091-1/+1
| | | | | (cherry picked from commit 5afb570d2e21d4c4e91802c4948569302f9c1a7b) Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
* bpo-24888: Clarify subprocess.check_call propagates exceptions if unable to ↵Miss Islington (bot)2021-09-071-0/+2
| | | | | | | start process (GH-28018) (cherry picked from commit 19a304ba990481f0381a5316096b6b3cf2dff381) Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
* Add more itertool recipes (GH-28165)Miss Islington (bot)2021-09-071-2/+20
| | | | | (cherry picked from commit 750368cbcd20393026f3bf695195f1a2cba490b5) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-45104: Clarify when __init__ is called (GH-28210)Miss Islington (bot)2021-09-071-1/+1
| | | | | (cherry picked from commit fa15df77f02ba4a66ba0b71989381a426038be01) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194) ↵Miss Islington (bot)2021-09-075-10779/+5855
| | | | | | | (GH-28199) Fix PyAiter_Check to only check for the `__anext__` presense (not for `__aiter__`). Rename `PyAiter_Check()` to `PyAIter_Check()`, `PyObject_GetAiter()` -> `PyObject_GetAIter()`.
* bpo-44964: Add a note explaining the new semantics of f_last_i in frame ↵Miss Islington (bot)2021-09-072-2/+9
| | | | | | | objects (GH-28200) (cherry picked from commit fa2c0b85a8d5c9486661083afdf38cbaadb3432a) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* 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>
* Add What's New for dataclass keyword-only parameters. (GH-28158) (GH-28163)Miss Islington (bot)2021-09-041-1/+60
| | | | | | | (cherry picked from commit a1ba3597d2d2dd5e5d73f42b1174ab5e0a2cd224) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> Co-authored-by: Eric V. Smith <ericvsmith@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>
* [3.10] bpo-45000: Update whatsnews about deleting __debug__ (GH-27956) ↵Dong-hee Na2021-08-261-0/+2
| | | | | | | (GH-27958) (cherry picked from commit c764dfbcbc12c4653fc8ab39773cf973c9db2757) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* bpo-45003: Change __div__ to __truediv__ in py3 language reference. ↵Miss Islington (bot)2021-08-261-1/+1
| | | | | | | | (GH-27951) (GH-27963) (cherry picked from commit 806e25fd3173a80021e6df87b81263b5f6056f38) Co-authored-by: Objectivitix <79152594+Objectivitix@users.noreply.github.com>
* bpo-39452: Rewrite and expand __main__.rst (GH-26883)Miss Islington (bot)2021-08-244-17/+365
| | | | | | | | | | 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-232-144/+181
|
* 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>
* [doc] Fix typo c-api/exceptions.rst (GH-27847)Miss Islington (bot)2021-08-231-1/+1
| | | | | | Co-authored-by: Tianqing Peng <pengtianqing@yimian.com.cn> (cherry picked from commit dcbf7ff6a700b63e637a0445d68866670a398024) Co-authored-by: Sunny Bean <ptq008@gmail.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>
* bpo-38291: Update 3.10 WhatsNew with typing.{io|re} DeprecationWarning ↵Miss Islington (bot)2021-08-231-0/+13
| | | | | | | (GH-27872) (cherry picked from commit 1a995b0ceefdf7eb59963f3ab395c47d8da226e3) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* Move susp-ignored locationsMiss Islington (bot)2021-08-222-18/+20
|
* bpo-4442: Document use of __new__ for subclasses of immutable types (GH-27866)Miss Islington (bot)2021-08-221-0/+49
| | | | | (cherry picked from commit eec340ea3af27887fcaac4029ebdee99f3713bff) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* [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>
* bpo-44966: Fix out-of-date traceback message (GH-27867)Miss Islington (bot)2021-08-221-1/+1
| | | | | (cherry picked from commit 15a64d89a31b7e91f0361c305b7b27d8761db93d) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.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-192-0/+18
| | | | | (cherry picked from commit 0fd66e46b2f472d0d206a185dc8892f4f0347cb6) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44830: [doc] Restore missing Mozilla devguide link (GH-27818)Miss Islington (bot)2021-08-191-0/+4
| | | | | (cherry picked from commit 942d1a4284e9341df47c48d7c63e921136dc9719) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* 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>
* introduce omitted index default before using it (GH-27775) (GH-27802)Miss Islington (bot)2021-08-171-8/+8
| | | | | (cherry picked from commit 599f5c8481ca258ca3a5d13eaee7d07a9103b5f2) Co-authored-by: Jefferson Oliveira <jefferson.dev.insights@gmail.com>
* bpo-44903: Removed othergui.rst and list of GUI frameworks (GH-27762)Miss Islington (bot)2021-08-173-148/+10
| | | | | (cherry picked from commit 6a358bb9482f7595b858ea7b800cbe66f0de5fa1) Co-authored-by: Gautam Chaudhuri <gautam.chaudhuri.1803@gmail.com>
* [3.10] bpo-44830 - Remove the broken Broken Mozilla devguide link. ↵Senthil Kumaran2021-08-161-4/+0
| | | | | | | (GH-27664) (GH-27666) (cherry picked from commit ebecffdb6d5fffa4249f9a813f1fc1915926feb5) Co-authored-by: Senthil Kumaran <senthil@python.org>
* bpo-44907: Update error messages in tutorial examples (GH-27755)Miss Islington (bot)2021-08-141-3/+3
| | | | | | (cherry picked from commit ed524b4569b1e4a166886c880018418d46284378) Co-authored-by: meowmeowmeowcat <meowmeowcat1211@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>