summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix legacy logging module URL (GH-28528)Miss Islington (bot)2021-09-291-1/+1
| | | | | | | | 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 8492b729ae97737d22544f2102559b2b8dd03a03) Co-authored-by: Sean Leavey <SeanDS@users.noreply.github.com>
* bpo-43760: Document PyThreadState.use_tracing removal (GH-28527) (GH-28529)Miss Islington (bot)2021-09-291-0/+3
| | | | | (cherry picked from commit f4ccb79d52ee726d58bbb038ea98b4deec52001d) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-41203: Replace Mac OS X and OS X with macOS (GH-28515) (GH-28523)Miss Islington (bot)2021-09-2929-69/+69
| | | | | | | | | | 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 36122e18148c5b6c78ebce1d36d514fd7cf250f5) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [docs] Update documentation for `multiprocessing.get_start_method` ↵Miss Islington (bot)2021-09-291-1/+7
| | | | | | | (GH-18170) (GH-28533) (cherry picked from commit af90b5498b8c6acd67b50fdad007d26dfd1c5823) Co-authored-by: Sam Sneddon <me@gsnedders.com>
* bpo-30951: Correct co_names docstring in inspect module (GH-2743) (GH-28543)Miss Islington (bot)2021-09-291-1/+1
| | | | | (cherry picked from commit 3f8b23f8ddab75d9b77a3997d54e663187e12cc8) Co-authored-by: Alex Vig <jalexvig@gmail.com>
* bpo-38623: Add note about site module (site-packages) (GH-16974) (GH-28536)Miss Islington (bot)2021-09-291-1/+2
| | | | | (cherry picked from commit 55b45bf707c6c8084db259fe2f8aa08e84ea0d99) Co-authored-by: Peter Bittner <django@bittner.it>
* bpo-45277: Fix typo in codecs doc (GH-28555)Miss Islington (bot)2021-09-291-1/+1
| | | | | | encoding => encode (cherry picked from commit 4c0fc65cd8a6d4c18330505576ccd4b46abeec1c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [doc] fix minor typo for argparse (GH-28451)Miss Islington (bot)2021-09-291-1/+1
| | | | | | "A JSONDecodeError" instead of "An JSONDecodeError". (cherry picked from commit db0133f98dd42d0fb82a7675bde175cec51bb860) Co-authored-by: Louis Sautier <sautier.louis@gmail.com>
* [3.10] [docs] Improve the markup of powers (GH-28598) (GH-28607)Łukasz Langa2021-09-2914-24/+24
| | | | | (cherry picked from commit 4f05f15d7b25ef8b690cb94fdc4c8cb5521a4e27) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.10] bpo-45307: Restore private C API function ↵Serhiy Storchaka2021-09-293-0/+22
| | | | | | | | _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>
* bpo-43914: Correctly highlight SyntaxError exceptions for invalid generator ↵Miss Islington (bot)2021-09-275-8/+31
| | | | | | | expression in function calls (GH-28576) (cherry picked from commit e5f13ce5b48b551c09fdd0faeafa6ecf860de51c) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.10] bpo-43914: What's New 3.10: add new SyntaxError attributes (GH-28558) ↵Łukasz Langa2021-09-261-1/+6
| | | | | | | | (GH-28562) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 71f8ff45c62bd6b792919ac7c3804a8628ae12cb) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in ↵Miss Islington (bot)2021-09-223-29/+73
| | | | | | | | shutil.copyfile() (GH-28421) (GH-28508) This was a regression from fixing BPO-43219. (cherry picked from commit b7eac52b466f697d3e89f47508e0df0196a98970) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-45128: fixes `test_multiprocessing_fork` mysterious crash (GH-28387)Miss Islington (bot)2021-09-192-3/+6
| | | | | (cherry picked from commit 1d42408495402b06ecae91420735aeff454be6b5) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* bpo-30637: Improve the docs of ast.parse regarding differences with ↵Miss Islington (bot)2021-09-191-0/+13
| | | | | | | compile() (GH-28459) (cherry picked from commit e6d05a4092b4176a30d1d1596585df13c2ab676d) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-45121: Fix RecursionError when calling Protocol.__init__ from a ↵Miss Islington (bot)2021-09-193-0/+17
| | | | | | | subclass' __init__ (GH-28206) (GH-28232) (cherry picked from commit c11956a8bddd75f02ccc7b4da7e4d8123e1f3c5f) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
* bpo-44640: Improve punctuation consistency in isinstance/issubclass error ↵Miss Islington (bot)2021-09-191-2/+2
| | | | | | | | | | messages (GH-27144) (GH-28436) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit f4813388b4506b2fafb0089848c5b11cd503758c) Co-authored-by: wyz23x2 <52805709+wyz23x2@users.noreply.github.com> Co-authored-by: wyz23x2 <52805709+wyz23x2@users.noreply.github.com>
* bpo-45193: News for IDLE PR_28343 (GH-28348)Miss Islington (bot)2021-09-191-0/+1
| | | | | (cherry picked from commit 9d76d28867c28bcc881b851547a9cd7ac003ae88) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-45193: Restore IDLE completion boxes on Ubuntu (GH-28343)Miss Islington (bot)2021-09-191-1/+1
| | | | | | | | | 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 1afc7b3219b24c951bb4e6b7e1ead904228de074) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-4356: Mention the new key arguments for the bisect module APIs in the ↵Miss Islington (bot)2021-09-141-0/+6
| | | | | | | | | 3.10 What's new (GH-28339) (GH-28340) (cherry picked from commit 1aaa85949717e4ab2ed700e58762f0a3ce049a37) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* Fix minor typo in 3.10.rst (GH-28253) (GH-28259)Miss Islington (bot)2021-09-141-1/+1
| | | | | | | (cherry picked from commit 73668541357caa813e7daa8792fab6fdf755a07f) Co-authored-by: D.Lintin <diantolintin3@gmail.com> Co-authored-by: D.Lintin <diantolintin3@gmail.com>
* Remove documentation for non-existing socket class attributes (GH-28029)Miss Islington (bot)2021-09-071-3/+0
| | | | | | The functions in question are available on the module-level only. (cherry picked from commit 34d82ce7cb82a8f5e2e83417d66d9aa319f3bb69) Co-authored-by: Matti Picus <matti.picus@gmail.com>
* bpo-24888: Clarify subprocess.check_call propagates exceptions if unable to ↵Miss Islington (bot)2021-09-071-0/+2
| | | | | | | start process (GH-28018) (cherry picked from commit 19a304ba990481f0381a5316096b6b3cf2dff381) Co-authored-by: DonnaDia <37962843+DonnaDia@users.noreply.github.com>
* Add more itertool recipes (GH-28165)Miss Islington (bot)2021-09-072-2/+43
| | | | | (cherry picked from commit 750368cbcd20393026f3bf695195f1a2cba490b5) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-45104: Clarify when __init__ is called (GH-28210)Miss Islington (bot)2021-09-071-1/+1
| | | | | (cherry picked from commit fa15df77f02ba4a66ba0b71989381a426038be01) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* Post 3.10.0rc2Pablo Galindo2021-09-071-1/+1
|
* Python 3.10.0rc2v3.10.0rc2Pablo Galindo2021-09-0770-152/+695
|
* bpo-45123: PyAiter_Check and PyObject_GetAiter fix & rename. (GH-28194) ↵Miss Islington (bot)2021-09-0711-10793/+5870
| | | | | | | (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()`.
* bpo-44964: Add a note explaining the new semantics of f_last_i in frame ↵Miss Islington (bot)2021-09-072-2/+9
| | | | | | | objects (GH-28200) (cherry picked from commit fa2c0b85a8d5c9486661083afdf38cbaadb3432a) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-44860: Make sysconfig posix_user not depend on platlibdir (GH-27655) ↵Miss Islington (bot)2021-09-072-1/+3
| | | | | | | (GH-28197) (cherry picked from commit a5c6bcf24479934fe9c5b859dd1cf72685a0003a) Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
* bpo-44963: Implement send() and throw() methods for anext_awaitable objects ↵Miss Islington (bot)2021-09-073-22/+270
| | | | | | | | (GH-27955) Co-authored-by: Yury Selivanov <yury@edgedb.com> (cherry picked from commit 533e725821b15e2df2cd4479a34597c1d8faf616) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* Update idlelib/help.html to include idle.rst spelling fix (GH-28191)Miss Islington (bot)2021-09-071-13/+7
| | | | | | The idle.rst fix was GH-27903 two weeks ago. (cherry picked from commit f05ad9202896f21ca9717f5c9f4b933b7f5b6550) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993) ↵Miss Islington (bot)2021-09-061-1/+1
| | | | | (GH-27997) (cherry picked from commit 28db1f61f20352c02e4ae1518e5aeb6505df3045)
* bpo-45052: Unskips a failing `test_shared_memory_basics` test (GH-28182)Miss Islington (bot)2021-09-062-2/+7
| | | | | (cherry picked from commit 19871fce3b74fc3f37e334a999e00d0ef65a8f1e) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* More useful OrderedDict LRU recipes (GH-28164)Miss Islington (bot)2021-09-051-19/+76
| | | | | (cherry picked from commit c860d30fa055ada336c75157b488c7baafb5bdad) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* Check that 'configure' is generated by GNU Autoconf 2.69 (GH-28152) (GH-28155)Miss Islington (bot)2021-09-051-0/+2
| | | | (cherry picked from commit 6beaf2ffaecd92955c5b3c579f184cbecc222636)
* bpo-45102: unittest: add tests for skipping and errors in cleanup (GH-28166)Miss Islington (bot)2021-09-051-0/+138
| | | | | (cherry picked from commit 28264269de9ff88d9ee7110fc56ac2d2db275bec) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-44571: Add itertool recipe for a variant of takewhile() (GH-28167)Miss Islington (bot)2021-09-052-1/+77
| | | | | (cherry picked from commit 91be41ad933e24bff26353a19f56447e17fb6367) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-45042: Now test classes decorated with `requires_hashdigest` are not ↵Miss Islington (bot)2021-09-044-6/+22
| | | | | | | | skipped (GH-28060) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> (cherry picked from commit dd7b816ac87e468e2fa65ce83c2a03fe1da8503e) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* bpo-45030: Fix integer overflow in __reduce__ of the range iterator (GH-28000)Miss Islington (bot)2021-09-043-18/+27
| | | | | | | It happened with fast range iterator when the calculated stop = start + step * len was out of the C long range. (cherry picked from commit 936f6a16b9ef85bd56b18a247b962801e954c30e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.10] bpo-45097: Add more tests for shutdown_asyncgens() (GH-28154) (GH-28159)Miss Islington (bot)2021-09-041-0/+80
| | | | | | | * bpo-45097: Add more tests for shutdown_asyncgens() (GH-28154) (cherry picked from commit c2970fdec52788b6d9ff419ab7e31f255d87433d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* Add What's New for dataclass keyword-only parameters. (GH-28158) (GH-28163)Miss Islington (bot)2021-09-041-1/+60
| | | | | | | (cherry picked from commit a1ba3597d2d2dd5e5d73f42b1174ab5e0a2cd224) Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com> Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
* [3.10] Regenerate autoconf files with version 2.69 (GH-28151)Pablo Galindo Salgado2021-09-041-7260/+4992
|
* [3.10] bpo-45060: Get rid of few uses of the equality operators with None ↵Serhiy Storchaka2021-09-049-13/+13
| | | | | | | (GH-28087). (GH-28092) (cherry picked from commit 3c65457156d87e55010507d616b4eecb7a02883d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-42255: Update webbrowser doc for macOS (GH-28144)Dong-hee Na2021-09-031-2/+2
|
* bpo-45081: Fix __init__ method generation when inheriting from Protocol ↵Miss Islington (bot)2021-09-033-13/+47
| | | | | | | | (GH-28121) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 0635e201beaf52373f776ff32702795e38f43ae3) Co-authored-by: Yurii Karabas <1998uriyyo@gmail.com>
* [doc] Reword sentinel object summary in dataclasses (GH-27792)Miss Islington (bot)2021-09-021-4/+3
| | | | | | | | 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 767a17f35a581da664ac8cf5d67281da9485eebf) Co-authored-by: Ville Korhonen <ville@xd.fi>
* [3.10] [doc] Link to deprecation policy PEP from the DeprecationWarning ↵Łukasz Langa2021-09-021-0/+4
| | | | | | | documentation (GH-28123) (#28126) (cherry picked from commit a7ef15aae8608560bffeeaba412c10e52cab07dd) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-40360: [doc] Rephrase deprecation note about lib2to3 (GH-28122)Miss Islington (bot)2021-09-021-6/+9
| | | | | (cherry picked from commit f0b63d5b56a6324f5f86807d9548c7b38aa2a8f7) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-45057: Simplify RegressionTestResult (GH-28081) (GH-28101)Miss Islington (bot)2021-09-011-31/+2
| | | | | | | Remove code which duplicates the functionality of TextTestResult. (cherry picked from commit 2b76a5322fdf71d62b531fd765085f96f981c244) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>