Commit graph

110500 commits

Author SHA1 Message Date
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)
e1eb03d15f
bpo-45216: Remove extraneous method docs from difflib (GH-28445) (GH-28505)
(cherry picked from commit 06e1773c8d)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2021-09-29 12:31:00 +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)
7d652c1b7a
bpo-30951: Correct co_names docstring in inspect module (GH-2743) (GH-28543)
(cherry picked from commit 3f8b23f8dd)

Co-authored-by: Alex Vig <jalexvig@gmail.com>
2021-09-29 12:29:57 +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
Serhiy Storchaka
2ca4ab8031
[3.10] bpo-45307: Restore private C API function _PyImport_FindExtensionObject() (GH-28594)
py2exe and PyOxidizer rely on this API.
It will be removed in Python 3.11.

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-09-29 12:27:08 +01:00
Miss Islington (bot)
3397e3192c
bpo-43914: Correctly highlight SyntaxError exceptions for invalid generator expression in function calls (GH-28576)
(cherry picked from commit e5f13ce5b4)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-09-27 22:01:00 +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)
e0b61b2864
bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in shutil.copyfile() (GH-28421) (GH-28508)
This was a regression from fixing BPO-43219.
(cherry picked from commit b7eac52b46)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-09-22 23:42:19 +01:00
Miss Islington (bot)
76611038bc
bpo-45128: fixes test_multiprocessing_fork mysterious crash (GH-28387)
(cherry picked from commit 1d42408495)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2021-09-20 00:32:30 +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)
db762a9b21
bpo-45121: Fix RecursionError when calling Protocol.__init__ from a subclass' __init__ (GH-28206) (GH-28232)
(cherry picked from commit c11956a8bd)

Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
2021-09-19 20:18:41 +01:00
Miss Islington (bot)
39c4fe5e2b
bpo-44640: Improve punctuation consistency in isinstance/issubclass error messages (GH-27144) (GH-28436)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit f4813388b4)

Co-authored-by: wyz23x2 <52805709+wyz23x2@users.noreply.github.com>

Co-authored-by: wyz23x2 <52805709+wyz23x2@users.noreply.github.com>
2021-09-19 20:12:27 +01:00
Miss Islington (bot)
d08e4a8c55
bpo-45193: News for IDLE PR_28343 (GH-28348)
(cherry picked from commit 9d76d28867)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-09-19 19:52:41 +01:00
Miss Islington (bot)
7f2d049cce
bpo-45193: Restore IDLE completion boxes on Ubuntu (GH-28343)
The line that should not have been needed on macOS tk 8.6.8 but was,
should not be a problem on Ubuntu, but is.  It is not needed on macOS
tk 8.6.11, installed with 3.10.  Disable it but leave it for
now in case some system needs it.
(cherry picked from commit 1afc7b3219)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-09-19 19:52:34 +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)
a272ffef33
Remove documentation for non-existing socket class attributes (GH-28029)
The functions in question are available on the module-level only.
(cherry picked from commit 34d82ce7cb)

Co-authored-by: Matti Picus <matti.picus@gmail.com>
2021-09-07 11:46:34 -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
Pablo Galindo
8afab2ebbc
Post 3.10.0rc2 2021-09-07 15:39:51 +01:00
Pablo Galindo
839d789394
Python 3.10.0rc2 2021-09-07 14:18:28 +01: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)
608a629236
bpo-44860: Make sysconfig posix_user not depend on platlibdir (GH-27655) (GH-28197)
(cherry picked from commit a5c6bcf244)

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-09-07 12:20:31 +01:00
Miss Islington (bot)
adc80a58f9
bpo-44963: Implement send() and throw() methods for anext_awaitable objects (GH-27955)
Co-authored-by: Yury Selivanov <yury@edgedb.com>
(cherry picked from commit 533e725821)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-09-07 03:52:53 -07:00
Miss Islington (bot)
af8c781737
Update idlelib/help.html to include idle.rst spelling fix (GH-28191)
The idle.rst fix was GH-27903 two weeks ago.
(cherry picked from commit f05ad92028)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-09-06 21:26:48 -07:00
Miss Islington (bot)
e5f259e575
Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993) (GH-27997)
(cherry picked from commit 28db1f61f2)
2021-09-06 17:35:07 -04:00
Miss Islington (bot)
6b5aea2dc1
bpo-45052: Unskips a failing test_shared_memory_basics test (GH-28182)
(cherry picked from commit 19871fce3b)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2021-09-06 10:16:44 -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)
8bb4912d94
Check that 'configure' is generated by GNU Autoconf 2.69 (GH-28152) (GH-28155)
(cherry picked from commit 6beaf2ffae)
2021-09-05 15:01:56 +01:00
Miss Islington (bot)
8342c526e9
bpo-45102: unittest: add tests for skipping and errors in cleanup (GH-28166)
(cherry picked from commit 28264269de)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-09-05 00:55:35 -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)
e5976dd2e6
bpo-45042: Now test classes decorated with requires_hashdigest are not skipped (GH-28060)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit dd7b816ac8)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2021-09-04 14:04:44 -07:00
Miss Islington (bot)
ed9f927527
bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000)
It happened with fast range iterator  when the calculated stop = start + step * len
was out of the C long range.
(cherry picked from commit 936f6a16b9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-09-04 13:39:30 -07:00
Miss Islington (bot)
2ad114ddff
[3.10] bpo-45097: Add more tests for shutdown_asyncgens() (GH-28154) (GH-28159)
* bpo-45097: Add more tests for shutdown_asyncgens() (GH-28154)
(cherry picked from commit c2970fdec5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-09-04 23:37:56 +03: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