Ł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)
03f25cc9d8
docs: correct references to __isub__ etc (GH-28297)
...
(cherry picked from commit 800bd01b6d )
Co-authored-by: David Hewitt <1939362+davidhewitt@users.noreply.github.com>
2021-09-29 12:34:27 +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)
490a7427dc
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-29 12:34:08 +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)
43f9ca2a97
[3.10] Fix minor typo in Doc/c-api/type.rst (GH-28432) (GH-28440)
...
retreived-> retrieved
(cherry picked from commit af08f1ba40 )
Co-authored-by: Konstantin Popov <konst.hardy@gmail.com>
Automerge-Triggered-By: GH:Fidget-Spinner
2021-09-29 12:31:37 +01:00
Miss Islington (bot)
aac54ef2b3
bpo-45198: __set_name__ documentation not clear about its usage with non-descriptor classes (GH-28439)
...
(cherry picked from commit 94b462686b )
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
2021-09-29 12:31:25 +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)
78184fa6b0
bpo-43760: Document PyThreadState.use_tracing removal (GH-28527) (GH-28529)
...
(cherry picked from commit f4ccb79d52 )
Co-authored-by: Victor Stinner <vstinner@python.org>
2021-09-29 12:30:38 +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)
cdfbe581ba
bpo-38623: Add note about site module (site-packages) (GH-16974) (GH-28536)
...
(cherry picked from commit 55b45bf707 )
Co-authored-by: Peter Bittner <django@bittner.it>
2021-09-29 12:29:49 +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
Łukasz Langa
0eb57c3be4
[3.10] bpo-43914: What's New 3.10: add new SyntaxError attributes (GH-28558) (GH-28562)
...
Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
(cherry picked from commit 71f8ff45c6 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-09-26 01:39:06 +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)
7128864885
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:32 +01:00
Miss Islington (bot)
73af5ba831
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-14 19:58:05 +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)
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