summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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>
* | bpo-35606: Fix math.prod tests using 'start' as keyword parameter (GH-28595)Miss Islington (bot)2021-09-282-14/+15
| | | | | | | | | | (cherry picked from commit 84975146a7ce64f1d50dcec8311b7f7188a5c962) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* | bpo-45296: Fix exit/quit message on Windows (GH-28577) (GH-28600)Miss Islington (bot)2021-09-283-0/+16
| | | | | | | | | | | | IDLE recognizes Ctrl-D, as on other systems, instead of Ctrl-Z. (cherry picked from commit e649e0658ff2af87b07d994c05ae048e16e31aae) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* | bpo-1596321: Fix threading._shutdown() for the main thread (GH-28549)Miss Islington (bot)2021-09-273-8/+53
| | | | | | | | | | | | | | | | Fix the threading._shutdown() function when the threading module was imported first from a thread different than the main thread: no longer log an error at Python exit. (cherry picked from commit 95d31370829b7d729667588e0a9943217401ea5b) Co-authored-by: Victor Stinner <vstinner@python.org>
* | bpo-45249: Ensure the traceback module prints correctly syntax errors with ↵Miss Islington (bot)2021-09-272-6/+34
| | | | | | | | | | | | | | ranges (GH-28575) (cherry picked from commit 20f439b6b9e1032930a31b88694ab9f37a09e6b4) 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>
* | bpo-45274: Fix Thread._wait_for_tstate_lock() race condition (GH-28532) ↵Miss Islington (bot)2021-09-272-4/+22
| | | | | | | | | | | | | | | | | | | | | | (GH-28580) Fix a race condition in the Thread.join() method of the threading module. If the function is interrupted by a signal and the signal handler raises an exception, make sure that the thread remains in a consistent state to prevent a deadlock. (cherry picked from commit a22be4943c119fecf5433d999227ff78fc2e5741) Co-authored-by: Victor Stinner <vstinner@python.org>
* | bpo-45280: Add test for empty `NamedTuple` in `test_typing` (GH-28559) ↵Miss Islington (bot)2021-09-262-0/+14
| | | | | | | | | | | | | | | | (GH-28571) Co-authored-by: Dong-hee Na <donghee.na92@gmail.com> (cherry picked from commit f56268a2cd38b3fe2be1e4361d3d8b581e73559b) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* | [3.10] bpo-43914: What's New 3.10: add new SyntaxError attributes (GH-28558) ↵Łukasz Langa2021-09-251-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-45166: fixes `get_type_hints` failure on `Final` (GH-28279) (GH-28560)Miss Islington (bot)2021-09-255-10/+56
| | | | | | | | | | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> (cherry picked from commit 784905dbeff68cf788bbeefe0a675af1af04affc) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* | bpo-45277: Fix typo in codecs doc (GH-28555)Miss Islington (bot)2021-09-251-1/+1
| | | | | | | | | | | | encoding => encode (cherry picked from commit 4c0fc65cd8a6d4c18330505576ccd4b46abeec1c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* | bpo-30951: Correct co_names docstring in inspect module (GH-2743) (GH-28543)Miss Islington (bot)2021-09-241-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-231-1/+2
| | | | | | | | | | (cherry picked from commit 55b45bf707c6c8084db259fe2f8aa08e84ea0d99) Co-authored-by: Peter Bittner <django@bittner.it>
* | [docs] Update documentation for `multiprocessing.get_start_method` ↵Miss Islington (bot)2021-09-231-1/+7
| | | | | | | | | | | | | | (GH-18170) (GH-28533) (cherry picked from commit af90b5498b8c6acd67b50fdad007d26dfd1c5823) Co-authored-by: Sam Sneddon <me@gsnedders.com>
* | bpo-43760: Document PyThreadState.use_tracing removal (GH-28527) (GH-28529)Miss Islington (bot)2021-09-231-0/+3
| | | | | | | | | | (cherry picked from commit f4ccb79d52ee726d58bbb038ea98b4deec52001d) Co-authored-by: Victor Stinner <vstinner@python.org>
* | Fix legacy logging module URL (GH-28528)Miss Islington (bot)2021-09-231-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-41203: Replace Mac OS X and OS X with macOS (GH-28515) (GH-28523)Miss Islington (bot)2021-09-2329-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>
* | [3.10] bpo-45238: Fix unittest.IsolatedAsyncioTestCase.debug() (GH-28449) ↵Łukasz Langa2021-09-224-61/+176
| | | | | | | | | | | | | | | | | | | | (GH-28521) It runs now asynchronous methods and callbacks. If it fails, doCleanups() can be called for cleaning up. (cherry picked from commit ecb6922ff2d56476a6cfb0941ae55aca5e7fae3d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* | [3.10] [codemod] Fix non-matching bracket pairs (GH-28473) (GH-28511)Łukasz Langa2021-09-2129-33/+35
| | | | | | | | | | | | | | | | 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 8f943ca25732d548cf9f0b0393ba8d582fb93e29) Co-authored-by: Mohamad Mansour <66031317+mohamadmansourX@users.noreply.github.com>
* | [tests] Add missing assert against expected tracebacks in test_exceptions.py ↵Miss Islington (bot)2021-09-211-0/+1
| | | | | | | | | | | | | | (GH-28484) (GH-28510) (cherry picked from commit a0073471002bed0169fb806703e26880bbcceb73) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* | bpo-45234: Fix FileNotFound exception raised instead of IsADirectoryError in ↵Miss Islington (bot)2021-09-213-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-45216: Remove extraneous method docs from `difflib` (GH-28445) (GH-28505)Miss Islington (bot)2021-09-212-40/+2
| | | | | | | | | | (cherry picked from commit 06e1773c8d8fe375423bb7fcf5922b49bc737b75) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* | [3.10] bpo-45246: Document that sorted() only uses "<" comparisons ↵Łukasz Langa2021-09-211-0/+9
| | | | | | | | | | | | | | (GH-28494) (GH-28502) (cherry picked from commit 9a0dcc5b2e04d9c51350107734f12a1cbc0284a7) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>