Commit graph

10681 commits

Author SHA1 Message Date
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)
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
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)
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)
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)
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)
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)
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)
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)
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)
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)
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
Ł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
Dennis Sweeney
7d77368807
[doc] Remove reference to obsolute opcode (GH-27402) 2021-07-28 20:12:17 +01:00
Miss Islington (bot)
9337c60ba8
bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423) (GH-27427)
(cherry picked from commit cb1d76f10a)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-28 19:31:19 +02:00
Miss Islington (bot)
019a8b08fa
bpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27425)
(cherry picked from commit c1e39d6b11)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-28 19:29:47 +02:00
Miss Islington (bot)
1b82dc1a61
Add missing end of sentence in docs (GH-27280) (GH-27420)
(cherry picked from commit 531e2fbc52)

Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
2021-07-28 16:54:40 +02:00
Miss Islington (bot)
f152c57969
Fix typo in sqlite3.rst (GH-27415) (GH-27418)
preceeding -> preceding
(cherry picked from commit fbe87023bf)

Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
2021-07-28 16:33:38 +02:00
Miss Islington (bot)
08870d0443
Spell out 's.pop() or s.pop(i)' (GH-27398) (GH-27413)
(cherry picked from commit 2ff5bb4908)

Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
2021-07-28 15:57:03 +02:00
Miss Islington (bot)
cc602a71df
docs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27375)
"Mac OS X" has been rebranded as macOS

https://www.apple.com/macos
(cherry picked from commit 5fdd2a14ce)

Co-authored-by: partev <petrosyan@gmail.com>
2021-07-26 16:22:58 -04:00
Miss Islington (bot)
3f1389459a
The current documentation says it returns None if the name is not found, but (GH-26785) (GH-27372)
the implementation uses [] and will raise KeyError instead.

Noticed by @srittau in python/typeshed@5659.
(cherry picked from commit f22737abfa)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2021-07-26 21:35:46 +02:00
Miss Islington (bot)
7482fff297
bpo-43443: Clarify difference between shelve objects and dicts (GH-27004) (GH-27370)
(cherry picked from commit c97c2a050c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-07-26 21:32:49 +02:00
Miss Islington (bot)
ce2033694e
[3.9] bpo-43184: Add information about added attribute and method. (GH-27347) (GH-27353)
(cherry picked from commit 50b72768ff)
2021-07-25 20:30:11 +01:00
Miss Islington (bot)
5d9c86e340
bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) (#27327)
This fixes a small typo. The code fragment should not be quoted. Thank you
@merwok for the feedback.
(cherry picked from commit 7d25254cf0)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-24 12:30:25 +02:00
Miss Islington (bot)
5ffbb05f1c
bpo-14879: [doc] clarify how to check for errors from subprocess.Popen(..., shell=True) (GH-26755) (GH-27289)
(cherry picked from commit 50ffbe3daf)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-22 19:25:31 +01:00
Miss Islington (bot)
654ead25ab
Fix typo in collections.rst (GH-27270) (#27284) 2021-07-22 10:38:40 +02:00
Miss Islington (bot)
c8e35abfe3
bpo-30511: Add note on thread safety to shutil.make_archive() (GH-26933) (GH-27275)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 64f54b7ccd)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-21 11:04:42 +02:00
Miss Islington (bot)
049e98b2b7
[3.9] bpo-43958: Document importlib.metadata.PackagePath.locate method (GH-25669) (GH-27221)
(cherry picked from commit b38b2fa021)


Co-authored-by: Paul Moore <p.f.moore@gmail.com>

Automerge-Triggered-By: GH:jaraco
2021-07-17 19:53:00 -07:00
Miss Islington (bot)
421b543311
bpo-44639: fix typo in sqlite.rst (transation => transaction) (GH-27145) (GH-27149)
To my understanding, this is supposed to say "transaction".

See the relevant source:

a158b20019/Modules/_sqlite/connection.cGH-L1434-L1467
(cherry picked from commit 1ca27f2647)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-07-14 23:49:33 +01:00
Miss Islington (bot)
a3d20bfee3
bpo-43126: Expand docs on io.IOBase.readlines() method (GH-27061) (#27114)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 3b5b99da4b)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-13 16:41:31 +02:00
Miss Islington (bot)
105e6cd67c
bpo-44514: Add doctest testcleanup for configparser and bz2 (GH-26909) (#27111)
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 48a5aa7f12)

Co-authored-by: Kevin Follstad <kfollstad@gmail.com>
2021-07-13 16:33:50 +02:00
Miss Islington (bot)
c786988b19
bpo-42194: Add "New in version: 3.9" to argparse.BooleanOptionalAction (GH-23026) (#27098)
(cherry picked from commit da2e673c53)

Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com>
2021-07-12 18:23:25 +02:00