Łukasz Langa
b09a68ac87
[3.10] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28511)
...
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 8f943ca257 )
Co-authored-by: Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>
2021-09-29 12:36:59 +01:00
Miss Islington (bot)
b2a8a30b0d
[doc] Clarify exception in multiprocessing.cpu_count (GH-23660) (GH-28433)
...
Previous wording didn't explain the slightly unintuitive behavior.
Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 24dbe30f8d )
Co-authored-by: Emmanuel Arias <eamanu@yaerobi.com>
2021-09-29 12:35:06 +01:00
Miss Islington (bot)
84d56ec4bc
bpo-42038: fix description of returned list of lines (GH-27529) (GH-28428)
...
(cherry picked from commit aca0e08c5d )
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-09-29 12:34:58 +01:00
Miss Islington (bot)
0a94253b3b
[doc] Add a missing apostrophe in a code example in venv.rst (GH-28391) (GH-28425)
...
(cherry picked from commit d22a700091 )
Co-authored-by: Arkaprabha Chakraborty <chakrabortyarkaprabha998@gmail.com>
2021-09-29 12:34:55 +01:00
Miss Islington (bot)
c4e9ef1f1d
bpo-45217: adds note that allow_no_value in configparser is optional (GH-28396) (GH-28418)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit cb07838ab7 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2021-09-29 12:34:49 +01:00
Miss Islington (bot)
81c9aff19b
Fix typo and add a module prefix (GH-28401)
...
(cherry picked from commit 80d9ff1648 )
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-29 12:34:35 +01:00
Miss Islington (bot)
6fc66d6b9d
bpo-45089: Improve sqlite3 trace callback docs (GH-28238) (GH-28371)
...
- Add link to str object and sqlite3 transaction control
- Mention that exceptions are not propagated
(cherry picked from commit 51056b40e7 )
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-09-29 12:34:21 +01:00
Miss Islington (bot)
b1873d1e24
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-29 12:34:16 +01:00
Miss Islington (bot)
9d8a64a7cc
bpo-45024 and bpo-23864: Document how interface testing works with the collections ABCs (GH-28218) (GH-28266)
2021-09-29 12:33:58 +01:00
Miss Islington (bot)
7a2dbe8e41
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-29 12:33:52 +01:00
Miss Islington (bot)
0a74d33e14
Docs: Clarify the before_and_after() example (GH-28458) ( #28464 )
...
(cherry picked from commit fcbf9b176b )
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-29 12:31:16 +01:00
Łukasz Langa
2e4d66d2e7
[3.10] bpo-45246: Document that sorted() only uses "<" comparisons (GH-28494) (GH-28502)
...
(cherry picked from commit 9a0dcc5b2e )
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-29 12:31:06 +01:00
Miss Islington (bot)
5df113e670
Fix legacy logging module URL (GH-28528)
...
The URL listed in the `logging` docs for the original `logging` module leads to a 404. I managed to find the new location for the page and updated the URL.
Automerge-Triggered-By: GH:vsajip
(cherry picked from commit 8492b729ae )
Co-authored-by: Sean Leavey <SeanDS@users.noreply.github.com>
2021-09-29 12:30:48 +01:00
Miss Islington (bot)
db3ac48999
bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515) (GH-28523)
...
Replace old names when they refer to actual versions of macOS.
Keep historical names in references to older versions.
Co-authored-by: Patrick Reader <_@pxeger.com>
(cherry picked from commit 36122e1814 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-09-29 12:30:25 +01:00
Miss Islington (bot)
53017caa5c
[docs] Update documentation for multiprocessing.get_start_method (GH-18170) (GH-28533)
...
(cherry picked from commit af90b5498b )
Co-authored-by: Sam Sneddon <me@gsnedders.com>
2021-09-29 12:30:17 +01:00
Miss Islington (bot)
0b568530ec
bpo-45277: Fix typo in codecs doc (GH-28555)
...
encoding => encode
(cherry picked from commit 4c0fc65cd8 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-09-29 12:29:42 +01:00
Miss Islington (bot)
03536d31c2
[doc] fix minor typo for argparse (GH-28451)
...
"A JSONDecodeError" instead of "An JSONDecodeError".
(cherry picked from commit db0133f98d )
Co-authored-by: Louis Sautier <sautier.louis@gmail.com>
2021-09-29 12:29:33 +01:00
Łukasz Langa
a8c3e0bfbe
[3.10] [docs] Improve the markup of powers (GH-28598) (GH-28607)
...
(cherry picked from commit 4f05f15d7b )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-09-29 12:29:25 +01:00
Miss Islington (bot)
f025ea2321
bpo-30637: Improve the docs of ast.parse regarding differences with compile() (GH-28459)
...
(cherry picked from commit e6d05a4092 )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-09-20 00:32:04 +01: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)
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
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
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)
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)
57b321c377
Move susp-ignored locations
2021-08-22 13:04:43 -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)
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)
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)
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
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
Miss Islington (bot)
d4128485d6
bpo-26228: [doc] Adapt PTY documentation updates from GH-4167 (GH-27754)
...
Co-authored-by: Cornelius Diekmann <c.diekmann@googlemail.com>
(cherry picked from commit dd8eb303b9 )
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-13 04:21:06 -07:00