summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Docs: Clarify the before_and_after() example (GH-28458) (#28464)Miss Islington (bot)2021-09-292-6/+8
| | | | | | | | | | | | | | (cherry picked from commit fcbf9b176b1190301c760a921601c6488ef8b070) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com> Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
| * [3.10] bpo-45246: Document that sorted() only uses "<" comparisons ↵Łukasz Langa2021-09-291-0/+9
| | | | | | | | | | | | | | (GH-28494) (GH-28502) (cherry picked from commit 9a0dcc5b2e04d9c51350107734f12a1cbc0284a7) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
| * bpo-45216: Remove extraneous method docs from `difflib` (GH-28445) (GH-28505)Miss Islington (bot)2021-09-292-40/+2
| | | | | | | | | | (cherry picked from commit 06e1773c8d8fe375423bb7fcf5922b49bc737b75) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
| * 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>
* | [3.10] bpo-45355: More use of sizeof(_Py_CODEUNIT) (GH-28720). (GH-28721)Serhiy Storchaka2021-10-042-3/+3
| | | | | | | | (cherry picked from commit 252b7bcb236dc261f3af1275bc90f9a303d9648f)
* | [3.10] bpo-45355: Use sizeof(_Py_CODEUNIT) instead of literal 2 for the size ↵Serhiy Storchaka2021-10-043-7/+7
| | | | | | | | | | | | of the code unit (GH-28711). (GH-28718) (cherry picked from commit 60b9e040c9cf40e69f42c0008e564458aa0379e8)
* | bpo-45350: Rerun autoreconf with the pkg-config macros (GH-28707)Pablo Galindo Salgado2021-10-033-5/+484
| |
* | [3.10] Remove trailing spaces (GH-28709)Serhiy Storchaka2021-10-0315-17/+17
| |
* | Fix spelling error in comment (GH-28696) (GH-28699)Miss Islington (bot)2021-10-021-1/+1
| |
* | bpo-45346: Keep docs consistent regarding true and false values (GH-28697) ↵Miss Islington (bot)2021-10-023-6/+6
| | | | | | | | (GH-28698)
* | bpo-45329: Fix freed memory access in pyexpat.c (GH-28649)Miss Islington (bot)2021-10-022-1/+3
| | | | | | | | | | (cherry picked from commit 0742abdc48886b74ed3b66985a54bb1c32802670) Co-authored-by: TAGAMI Yukihiro <tagami.yukihiro@gmail.com>
* | bpo-45341: Replace 'Packaging' with 'Package' in "Python P... Index" (GH-28687)Miss Islington (bot)2021-10-022-7/+7
| | | | | | | | | | | | pypi.org " The Python Package Index (PyPI) ... (cherry picked from commit 0be338199fd663f020d833a4db185d0c5a0e0078) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* | bpo-44687: Ensure BufferedReader objects with unread buffers can peek even ↵Miss Islington (bot)2021-10-012-3/+6
| | | | | | | | | | | | | | when the underlying file is closed (GH-28457) (cherry picked from commit a450398933d265011e1e8eae7f771b70f97945fb) Co-authored-by: AngstyDuck <solsticedante@gmail.com>
* | bpo-41710: PyThread_acquire_lock_timed() uses sem_clockwait() (GH-28671)Victor Stinner2021-10-015-14/+51
| | | | | | | | | | | | | | | | | | On Unix, if the sem_clockwait() function is available in the C library (glibc 2.30 and newer), the threading.Lock.acquire() method now uses the monotonic clock (time.CLOCK_MONOTONIC) for the timeout, rather than using the system clock (time.CLOCK_REALTIME), to not be affected by system clock changes. configure now checks if the sem_clockwait() function is available.
* | bpo-45332: Fix broken Decimal test and benchmark (GH-28680)Miss Islington (bot)2021-10-013-6/+3
| | | | | | | | | | (cherry picked from commit 9eed75fde226cec5a02301cfac1dc8039b5a183e) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* | bpo-45125: Improves pickling docs and tests for `shared_memory` (GH-28294)Miss Islington (bot)2021-10-013-31/+133
| | | | | | | | | | (cherry picked from commit 746d648d47d12d16c2afedaeff626fc6aaaf6a46) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* | hashlib: Fix old message about unicode objects. (GH-28653)Miss Islington (bot)2021-10-011-1/+1
| | | | | | | | | | (cherry picked from commit 9ce0f48e918860ffa32751a85b0fe7967723e2e3) Co-authored-by: Julien Palard <julien@palard.fr>
* | bpo-45310: Fix parrallel shared memory tests (GH-28661)Miss Islington (bot)2021-10-011-16/+24
| | | | | | | | | | | | | | | | Add a PID to names of POSIX shared memory objects to allow running multiprocessing tests (test_multiprocessing_fork, test_multiprocessing_spawn, etc) in parallel. (cherry picked from commit eb4495e8e275c83d691add116c4f2b74e73e3cc8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* | bpo-45229: Make datetime tests discoverable (GH-28615)Miss Islington (bot)2021-10-011-47/+45
| | | | | | | | | | (cherry picked from commit d441437ee71ae174c008c23308b749b91020ba77) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* | [3.10] bpo-40173: Fix test.support.import_helper.import_fresh_module() ↵Serhiy Storchaka2021-09-304-52/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (GH-28654) (GH-28657) * Work correctly if an additional fresh module imports other additional fresh module which imports a blocked module. * Raises ImportError if the specified module cannot be imported while all additional fresh modules are successfully imported. * Support blocking packages. * Always restore the import state of fresh and blocked modules and their submodules. * Fix test_decimal and test_xml_etree which depended on an undesired side effect of import_fresh_module(). (cherry picked from commit ec4d917a6a68824f1895f75d113add9410283da7)
* | closes bpo-44751: Move crypt.h include from public header to _cryptmodule ↵Miss Islington (bot)2021-09-293-13/+4
| | | | | | | | | | | | | | | | (GH-27394) (GH-28636) Automerge-Triggered-By: GH:benjaminp (cherry picked from commit 196998e220d6ca030e5a1c8ad63fcaed8e049a98) Co-authored-by: Geoffrey Thomas <geofft@ldpreload.com>
* | [typo] Fix threading.Barrier comment that used confusing punctuation ↵Miss Islington (bot)2021-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | (GH-28623) (GH-28625) Removed extra comma in comment that indicates state of a `Barrier` as it was confusing and breaking the flow while reading. Co-authored-by: Priyank <5903604+cpriyank@users.noreply.github.com> (cherry picked from commit f1ca5d7f61594bf3627f0897b596877a0774c8e7) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* | [3.10] bpo-44394: Ensure libexpat is linked against libm (GH-28617) (GH-28621)Miss Islington (bot)2021-09-291-1/+3
| | | | | | | | | | | | | | * bpo-44394: Ensure libexpat is linked against libm (GH-28617) (cherry picked from commit 6c1154b9de29e1c9cd3d05f5289543e5cff73895) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* | Move predispatch logic from DISPATCH macro to juts before switch. Reduces ↵Mark Shannon2021-09-291-7/+15
| | | | | | | | size of each opocde in interpreter. (GH-28475)
* | bpo-45291: Explicitly set --libdir=lib when configure OpenSSL (GH-28566) ↵Miss Islington (bot)2021-09-291-0/+1
| | | | | | | | | | | | | | (GH-28616) (cherry picked from commit bc4cde40339dd372960f27401d8fdaa4dab0f469) Co-authored-by: zhanpon <pon.zhan@gmail.com>
* | [3.10] bpo-39039: tarfile raises descriptive exception from zlib.error ↵Łukasz Langa2021-09-293-0/+25
| | | | | | | | | | | | | | | | | | | | | | (GH-27766) (GH-28613) * during tarfile parsing, a zlib error indicates invalid data * tarfile.open now raises a descriptive exception from the zlib error * this makes it clear to the user that they may be trying to open a corrupted tar file (cherry picked from commit b6fe8572509b77d2002eaddf99d718e9b4835684) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* | bpo-45269: test wrong `markers` type to `c_make_encoder` (GH-28540) (GH-28609)Miss Islington (bot)2021-09-282-0/+10
| | | | | | | | | | (cherry picked from commit e046aabbe386fdf32bae6ffb7fae5ce479fd10c6) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* | [3.10] bpo-45307: Restore private C API function ↵Serhiy Storchaka2021-09-283-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>
* | [3.10] [docs] Improve the markup of powers (GH-28598) (GH-28607)Łukasz Langa2021-09-2814-24/+24
| | | | | | | | | | (cherry picked from commit 4f05f15d7b25ef8b690cb94fdc4c8cb5521a4e27) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* | [doc] fix minor typo for argparse (GH-28451)Miss Islington (bot)2021-09-281-1/+1
| | | | | | | | | | | | "A JSONDecodeError" instead of "An JSONDecodeError". (cherry picked from commit db0133f98dd42d0fb82a7675bde175cec51bb860) Co-authored-by: Louis Sautier <sautier.louis@gmail.com>