Commit graph

23818 commits

Author SHA1 Message Date
Miss Islington (bot)
baeaaecb8a
bpo-9811: [doc] strftime handling of unsupported format specifiers is platform dependent (GH-28264) (GH-28278)
(cherry picked from commit e86bcfa580)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-09-10 21:53:34 +02:00
andrei kulakov
dc2e11ed5a
[3.9] bpo-41082: Add note on errors that may be raised by home() and expanduser() (GH-28186)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-09-08 19:24:09 +02:00
Miss Islington (bot)
2363910662
bpo-24888: Clarify subprocess.check_call propagates exceptions if unable to start process (GH-28018) (GH-28223)
(cherry picked from commit 19a304ba99)

Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
2021-09-07 20:43:42 +02:00
Miss Islington (bot)
b1f2fe777e
bpo-45104: Clarify when __init__ is called (GH-28210) (GH-28212)
(cherry picked from commit fa15df77f0)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-07 18:27:28 +02:00
Dong-hee Na
ce83e42437
bpo-42255: Update webbrowser doc for macOS (GH-28145) 2021-09-03 19:22:01 +02:00
Miss Islington (bot)
ca27109c17
[doc] Link to deprecation policy PEP from the DeprecationWarning documentation (GH-28123) (GH-28124)
(cherry picked from commit a7ef15aae8)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-09-02 17:14:11 +02:00
Serhiy Storchaka
e09dd8aafd
[3.9] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). (GH-28093)
(cherry picked from commit 3c65457156)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-09-01 09:51:01 +03:00
Łukasz Langa
5f66ad09ff
bpo-44135: Refine explanation of how passing tuples to issubclass() behaves (GH-26193) (GH-28094)
This is a quasi-backport to 3.9 since the wording in this branch is different.

Co-authored-by: Zachary Kneupper zachary.kneupper@gmail.com
2021-08-31 18:00:16 +02:00
Miss Islington (bot)
007221a43e
bpo-44394: Update libexpat copy to 2.4.1 (GH-26945) (GH-28032)
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 16:36:36 +02:00
Miss Islington (bot)
f1e3fc4631
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:55:22 -07:00
Miss Islington (bot)
46970fdd8d
bpo-45003: Change __div__ to __truediv__ in py3 language reference. (GH-27951) (GH-27962)
(cherry picked from commit 806e25fd31)

Co-authored-by: Objectivitix <79152594+Objectivitix@users.noreply.github.com>
2021-08-26 10:03:18 +03:00
Miss Islington (bot)
834a2eb945
[doc] Fix typo c-api/exceptions.rst (GH-27847) (GH-27919)
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 22:09:52 +02:00
Miss Islington (bot)
7543e7fc26
[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:57:05 -07:00
Łukasz Langa
ac87b07a10
[3.9] bpo-4442: Document use of __new__ for subclasses of immutable types (GH-27866) (GH-27900)
(cherry picked from commit eec340ea3a)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-08-22 22:14:25 +02:00
Łukasz Langa
c579f0ba62
[3.9] bpo-42560: rework external references in Tkinter docs (GH-27838) (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 d1049d1d6b)

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

Co-authored-by: Mark Roseman <mark@markroseman.com>
2021-08-22 21:05:46 +02:00
Miss Islington (bot)
e74cf8667d
bpo-42560: tweaks to intro of Tkinter docs- add macOS, drop ActiveState (GH-27835) (GH-27892)
(cherry picked from commit 141c7a4fce)

Co-authored-by: Mark Roseman <mark@markroseman.com>
2021-08-22 21:02:12 +02:00
Miss Islington (bot)
d006392245
bpo-44940: Clarify the documentation of re.findall() (GH-27849) (GH-27880)
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 21:15:38 +03:00
Miss Islington (bot)
407b3e0bb0
bpo-44966: Fix out-of-date traceback message (GH-27867) (GH-27876) 2021-08-21 19:36:54 -05:00
Miss Islington (bot)
98820250a3
bpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824) (GH-27827)
(cherry picked from commit 0fd66e46b2)

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

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

Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
2021-08-18 01:18:22 +02:00
Miss Islington (bot)
1bc05419b8
introduce omitted index default before using it (GH-27775) (GH-27803)
(cherry picked from commit 599f5c8481)

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

Co-authored-by: Gautam Chaudhuri <gautam.chaudhuri.1803@gmail.com>
2021-08-17 12:09:09 +02:00
Miss Islington (bot)
43bab0537c
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:38 -04:00
Miss Islington (bot)
c7dfbd2f41
bpo-33479: Remove unqualified tkinter threadsafe claim. (GH-6990) (GH-27705)
It has not been true for several years and likely never was.
(cherry picked from commit 6b37d0d530)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-08-10 11:58:05 +02:00
Miss Islington (bot)
fcbe8c63d7
bpo-39498 Start linking the security warnings in the stdlib modules (GH-18272) (GH-27699)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit c5c5326d47)

Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
2021-08-10 09:51:33 +02:00
Miss Islington (bot)
037ef8d6d9
bpo-44522: Fix inaccurate information in open() function (GH-27650) (GH-27682)
- Use "Low surrogate code units" instead of "Unicode Private Use Area"
(cherry picked from commit b05e9b63fc)

Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
2021-08-09 16:39:31 +02:00
Miss Islington (bot)
ede221e517
bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470) (GH-27674)
Co-Authored-By: Bo Bayles <bbayles@gmail.com>
(cherry picked from commit eb2d4a66ff)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2021-08-09 12:30:00 +02:00
Miss Islington (bot)
6a6bcf1637
bpo-44830 - Remove the broken Broken Mozilla devguide link. (GH-27664) (GH-27665)
(cherry picked from commit ebecffdb6d)

Co-authored-by: Senthil Kumaran <senthil@python.org>

Co-authored-by: Senthil Kumaran <senthil@python.org>
2021-08-07 20:44:08 -07:00
Miss Islington (bot)
62bce24e32
bpo-27752: improve documentation of csv.Dialect (GH-26795) (GH-27644)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 0ffdced3b6)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-08-06 22:33:21 +02:00
Miss Islington (bot)
91f6d38669
bpo-44756: [docs] revert automated virtual environment creation on make html (GH-27635) (GH-27636)
It turned out to be disruptive for downstream distributors.
(cherry picked from commit 55fa87b1ef)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-06 20:42:27 +02:00
Miss Islington (bot)
8c17db6cd4
bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618) (GH-27619)
(cherry picked from commit 938e84b4fa)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-08-06 17:38:21 +02:00
Miss Islington (bot)
7dad033751
bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166) (GH-27608)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Alexander Vandenbulcke <alexander.vandenbulcke95@gmail.com>
(cherry picked from commit a8dc4893d2)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-08-04 22:09:45 +02:00
Miss Islington (bot)
1a2c0ecfa2
[doc] bpo-43066: zipfile - add note on leading slash in the filename arg (GH-26899) (GH-27606)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 7c5dab4340)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-08-04 22:00:52 +02:00
Miss Islington (bot)
60ec3b818e
Fix typo in 'xml.dom.minidom' documentation (GH-27602) (GH-27604)
(cherry picked from commit cc77193127)

Co-authored-by: Cristián Maureira-Fredes <cmaureir@users.noreply.github.com>
2021-08-04 21:53:29 +02:00
Miss Islington (bot)
ed0d91bafa
Fix 404 link to the pyporting mailing list (GH-27320) (GH-27601)
Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 977d99d1cc)

Co-authored-by: Rohit Nishad <47008599+rohitnishad613@users.noreply.github.com>
2021-08-04 21:23:48 +02:00
Miss Islington (bot)
467c873e49
Note that tp_clear and m_clear are not always called (GH-27581) (GH-27597)
(cherry picked from commit 10faada709)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2021-08-04 20:24:03 +02:00
Miss Islington (bot)
bf9425be5d
Fix hyperlink conflict in turtle docs (GH-27592) (GH-27595)
(cherry picked from commit 3d2b4c6f18)

Co-authored-by: Harry <harry.lees@gmail.com>
2021-08-04 20:15:19 +02:00
Miss Islington (bot)
f26fec4f74
bpo-41886: Fix documented type of PyType_Type (GH-22454)
(cherry picked from commit ac811f9b5a)

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
2021-08-03 10:48:08 -07:00
Miss Islington (bot)
b5f0261127
bpo-41737: expand doc for NotADirectoryError (GH-27471) (GH-27577)
(cherry picked from commit f7c23a99cd)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-08-03 14:03:40 +02:00
Miss Islington (bot)
c50a672eeb
bpo-44782: Improve OrderedDict recipe for LRU cache variants (GH-27536) (GH-27567) 2021-08-02 13:37:42 -05:00
Miss Islington (bot)
e0d599fa48
bpo-35183: Add typical examples to os.path.splitext docs (GH-27286) (GH-27564)
(cherry picked from commit aa0894b379)

Co-authored-by: Jake Stockwin <jake.stockwin@optimorlabs.com>
2021-08-02 20:08:10 +02:00
Miss Islington (bot)
77a96da556
Document PyMember_GetOne and PyMember_SetOne (GH-27555) (GH-27561)
(cherry picked from commit d382bde220)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-08-02 18:53:55 +02:00
Miss Islington (bot)
2ee09597f2
doc: "Mac OS " -> "macOS" (GH-27534) (GH-27549)
(cherry picked from commit 1342248f3a)

Co-authored-by: partev <petrosyan@gmail.com>
2021-08-02 15:13:52 +02:00
Miss Islington (bot)
4f2405a749
doc: "Mac OS X" -> "macOS" (GH-27535) (GH-27547)
(cherry picked from commit 414dcb13aa)

Co-authored-by: partev <petrosyan@gmail.com>
2021-08-02 15:13:34 +02:00
Miss Islington (bot)
b57011d2a5
bpo-41911: Update docs for various expressions (GH-27470) (GH-27491)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 4bd9caafb6)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-30 19:25:58 +02:00
Łukasz Langa
168879e366
[3.9] Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27480)
(cherry picked from commit be42c06bb0)

Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
2021-07-30 16:34:04 +02:00
Miss Islington (bot)
c2c322b354
Fix typo in ast.rst (GH-27449) (GH-27455)
Co-authored-by: HaeckelK <haeckelk.github@gmail.com>
(cherry picked from commit 6b61d74a3b)
2021-07-29 19:41:51 +02:00
Miss Islington (bot)
6d4af4dfd6
bpo-44765: [doc] fix typo (GH-27430) (GH-27451)
(cherry picked from commit ccefa8a905)

Co-authored-by: Pavel <69010336+pavel-lexyr@users.noreply.github.com>
2021-07-29 19:23:17 +02:00