Ł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)
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