Commit graph

24363 commits

Author SHA1 Message Date
Miss Islington (bot)
dda5ff2d09
bpo-4356: Mention the new key arguments for the bisect module APIs in the 3.10 What's new (GH-28339) (GH-28340)
(cherry picked from commit 1aaa859497)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-09-14 21:02:18 +01:00
Miss Islington (bot)
897e5aae74
bpo-9811: [doc] strftime handling of unsupported format specifiers is platform dependent (GH-28264) (GH-28277)
(cherry picked from commit e86bcfa580)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-09-10 21:53:11 +02:00
Miss Islington (bot)
b045174a6d
bpo-44964: Correct the note about the f_lasti field (GH-28208) (GH-28276)
(cherry picked from commit ab327f2929)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-09-10 18:16:51 +02:00
Miss Islington (bot)
89edd18779
bpo-45024 and bpo-23864: Document how interface testing works with the collections ABCs (GH-28218) (GH-28266) 2021-09-09 22:58:47 -05:00
Miss Islington (bot)
20f6d485ec
Fix minor typo in 3.10.rst (GH-28253) (GH-28259)
(cherry picked from commit 7366854135)

Co-authored-by: D.Lintin <diantolintin3@gmail.com>

Co-authored-by: D.Lintin <diantolintin3@gmail.com>
2021-09-09 13:10:04 -04:00
Miss Islington (bot)
c081866971
Fix small mistake in fileinput documentation (GH-28241)
(cherry picked from commit 5afb570d2e)

Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
2021-09-09 01:24:51 -07:00
Miss Islington (bot)
31be544721
bpo-24888: Clarify subprocess.check_call propagates exceptions if unable to start process (GH-28018)
(cherry picked from commit 19a304ba99)

Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
2021-09-07 11:44:16 -07:00
Miss Islington (bot)
be33e58699
Add more itertool recipes (GH-28165)
(cherry picked from commit 750368cbcd)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-07 10:52:26 -07:00
Miss Islington (bot)
ef70413777
bpo-45104: Clarify when __init__ is called (GH-28210)
(cherry picked from commit fa15df77f0)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-07 09:26:35 -07:00
Miss Islington (bot)
53257cf19f
bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194) (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()`.
2021-09-07 12:43:33 +01:00
Miss Islington (bot)
fc840736e5
bpo-44964: Add a note explaining the new semantics of f_last_i in frame objects (GH-28200)
(cherry picked from commit fa2c0b85a8)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-09-07 04:36:43 -07:00
Miss Islington (bot)
d5feb2b1f1
More useful OrderedDict LRU recipes (GH-28164)
(cherry picked from commit c860d30fa0)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-05 10:57:32 -07:00
Miss Islington (bot)
656b0bdfaa
bpo-44571: Add itertool recipe for a variant of takewhile() (GH-28167)
(cherry picked from commit 91be41ad93)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-04 22:30:37 -07:00
Miss Islington (bot)
9438443a5f
Add What's New for dataclass keyword-only parameters. (GH-28158) (GH-28163)
(cherry picked from commit a1ba3597d2)

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>

Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
2021-09-04 14:59:29 -04:00
Serhiy Storchaka
e2b2930413
[3.10] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). (GH-28092)
(cherry picked from commit 3c65457156)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-09-03 21:13:00 -04:00
Dong-hee Na
2a8956c268
bpo-42255: Update webbrowser doc for macOS (GH-28144) 2021-09-03 19:22:22 +02:00
Miss Islington (bot)
7aa58f5425
[doc] Reword sentinel object summary in dataclasses (GH-27792)
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 767a17f35a)

Co-authored-by: Ville Korhonen <ville@xd.fi>
2021-09-02 09:37:55 -07:00
Łukasz Langa
2184bc7fe1
[3.10] [doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH-28123) (#28126)
(cherry picked from commit a7ef15aae8)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-09-02 18:18:47 +02:00
Miss Islington (bot)
559af74346
bpo-40360: [doc] Rephrase deprecation note about lib2to3 (GH-28122)
(cherry picked from commit f0b63d5b56)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-09-02 08:37:14 -07:00
Miss Islington (bot)
8711b3d0ac
bpo-44135: [docs] Fix inline markup (GH-28095)
(cherry picked from commit 9a7ec2fcde)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-08-31 09:25:08 -07:00
Miss Islington (bot)
ab8fed88fc
bpo-44135: Refine explanation of how passing tuples to issubclass() behaves (GH-26193)
Co-authored-by: Zachary Kneupper <zachary.kneupper@gmail.com>
(cherry picked from commit 08767c73b5)

Co-authored-by: Zack Kneupper <zachary.kneupper@gmail.com>
2021-08-31 07:23:22 -07:00
Miss Islington (bot)
1d0c559614
bpo-44925: [docs] Fix confusing deprecation notice for typing.IO (GH-28004)
(cherry picked from commit edae42f99f)

Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
2021-08-31 03:07:49 -07:00
Miss Islington (bot)
270678564c
bpo-44394: Update libexpat copy to 2.4.1 (GH-26945)
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 3fc5d84046)

Co-authored-by: Victor Stinner <vstinner@python.org>
2021-08-29 07:32:50 -07:00
Miss Islington (bot)
719af92e10
bpo-40635: Fix getfqdn() docstring and docs (GH-27971)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit fdcb675eed)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-08-26 12:54:52 -07:00
Dong-hee Na
6ea6cf22e9
[3.10] bpo-45000: Update whatsnews about deleting __debug__ (GH-27956) (GH-27958)
(cherry picked from commit c764dfbcbc)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
2021-08-26 10:52:00 +01:00
Miss Islington (bot)
ea39933b4b
bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951) (GH-27963)
(cherry picked from commit 806e25fd31)

Co-authored-by: Objectivitix <79152594+Objectivitix@users.noreply.github.com>
2021-08-26 10:04:05 +03:00
Miss Islington (bot)
ec5a03168f
bpo-39452: Rewrite and expand __main__.rst (GH-26883)
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 7cba23164c)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-08-24 13:54:08 -07:00
Miss Islington (bot)
4673dc26f8
Update susp-ignored.csv line numbers 2021-08-23 15:52:02 -07:00
Miss Islington (bot)
e479510302
bpo-42560: simplify/merge architecture info in Tkinter docs (GH-27839)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
(cherry picked from commit e41912c634)

Co-authored-by: Mark Roseman <mark@markroseman.com>
2021-08-23 13:08:19 -07:00
Miss Islington (bot)
f709360520
[doc] Fix typo c-api/exceptions.rst (GH-27847)
Co-authored-by: Tianqing Peng <pengtianqing@yimian.com.cn>
(cherry picked from commit dcbf7ff6a7)

Co-authored-by: Sunny Bean <ptq008@gmail.com>
2021-08-23 12:40:36 -07:00
Miss Islington (bot)
8351df6e36
bpo-42560: add warning to Tkinter docs about outdated pre-8.5 documentation 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 1eb451031a)

Co-authored-by: Mark Roseman <mark@markroseman.com>
2021-08-23 12:22:29 -07:00
Miss Islington (bot)
3390dfa8f3
[doc] Fix typo in idle.rst (GH-27903)
intially -> initially
(cherry picked from commit 0e8695ece0)

Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
2021-08-23 10:53:52 -07:00
Miss Islington (bot)
27f2f62ad4
bpo-38291: Update 3.10 WhatsNew with typing.{io|re} DeprecationWarning (GH-27872)
(cherry picked from commit 1a995b0cee)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-08-23 10:32:35 -07:00
Miss Islington (bot)
57b321c377
Move susp-ignored locations 2021-08-22 13:04:43 -07:00
Miss Islington (bot)
0627918f0b
bpo-4442: Document use of __new__ for subclasses of immutable types (GH-27866)
(cherry picked from commit eec340ea3a)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-08-22 12:49:24 -07:00
Łukasz Langa
8e90f15ac8
[3.10] bpo-42560: rework external references in Tkinter docs (GH-27838) (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 d1049d1d6b)

Co-authored-by: Mark Roseman <mark@markroseman.com>
2021-08-22 21:04:57 +02:00
Miss Islington (bot)
4d1e74f352
bpo-42560: reorganize Tkinter docs modules section for clarity (GH-27840)
- 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 d5dbe8bca7)

Co-authored-by: Mark Roseman <mark@markroseman.com>
2021-08-22 12:04:24 -07:00
Miss Islington (bot)
61ecd3e593
bpo-42560: tweaks to intro of Tkinter docs- add macOS, drop ActiveState (GH-27835)
(cherry picked from commit 141c7a4fce)

Co-authored-by: Mark Roseman <mark@markroseman.com>
2021-08-22 11:54:46 -07:00
Miss Islington (bot)
9ffe582a01
bpo-44926: get_type_hints: Add note about type aliases with forward refs (GH-27859) (GH-27860)
(cherry picked from commit 16b9be4861)

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
2021-08-22 20:29:59 +02:00
Miss Islington (bot)
519bcc698c
bpo-44940: Clarify the documentation of re.findall() (GH-27849)
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 64f9e7b19d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-08-22 00:45:02 -07:00
Miss Islington (bot)
95a9ba173e
bpo-44966: Fix out-of-date traceback message (GH-27867)
(cherry picked from commit 15a64d89a3)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-08-21 17:35:32 -07:00
Miss Islington (bot)
f0e2a46349
Fix reST markup in dataclasses.rst (GH-27843) (GH-27845)
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 d26dbba929)

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>
2021-08-19 16:49:15 -04:00
Miss Islington (bot)
1204dfc89c
bpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824)
(cherry picked from commit 0fd66e46b2)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-19 02:16:15 -07:00
Miss Islington (bot)
ad16f93942
bpo-44830: [doc] Restore missing Mozilla devguide link (GH-27818)
(cherry picked from commit 942d1a4284)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-08-19 01:33:42 -07:00
Miss Islington (bot)
bbb10761b6
bpo-44508: [Doc] Document failure mode for loop.call_soon_threadsafe (GH-27688)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 3240bc62f4)

Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
2021-08-17 16:17:29 -07:00
Miss Islington (bot)
f20f061cfa
introduce omitted index default before using it (GH-27775) (GH-27802)
(cherry picked from commit 599f5c8481)

Co-authored-by: Jefferson Oliveira <jefferson.dev.insights@gmail.com>
2021-08-17 23:42:50 +02:00
Miss Islington (bot)
f6bd1ca166
bpo-44903: Removed othergui.rst and list of GUI frameworks (GH-27762)
(cherry picked from commit 6a358bb948)

Co-authored-by: Gautam Chaudhuri <gautam.chaudhuri.1803@gmail.com>
2021-08-17 03:08:49 -07:00
Senthil Kumaran
b6a6d99a0b
[3.10] bpo-44830 - Remove the broken Broken Mozilla devguide link. (GH-27664) (GH-27666)
(cherry picked from commit ebecffdb6d)

Co-authored-by: Senthil Kumaran <senthil@python.org>
2021-08-16 10:48:08 +02:00
Miss Islington (bot)
25122b2cf9
bpo-44907: Update error messages in tutorial examples (GH-27755)
(cherry picked from commit ed524b4569)

Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
2021-08-13 20:25:11 -04:00
Miss Islington (bot)
16f73c8b5d
bpo-36700: [doc] Update base64 RFC references to RFC 4648 (GH-27700)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit e43b9bbc31)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-08-13 04:21:53 -07:00