summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-38956: don't print BooleanOptionalAction's default twice (GH-27672)Miss Islington (bot)2021-08-173-8/+16
| | | | | | Co-authored-by: Micky Yun Chan <michan@redhat.com> (cherry picked from commit 1512bc21d60f098a9e9f37b44a2f6a9b49a3fd4f) Co-authored-by: Maximilian Hils <git@maximilianhils.com>
* bpo-44911: Fixed IsolatedAsyncioTestCase from throwing an exception on ↵Miss Islington (bot)2021-08-163-1/+22
| | | | | | | leaked tasks (GH-27765) (cherry picked from commit 2cb1a6806c0cefab0c3a40fdd428a89a4392570e) Co-authored-by: Bar Harel <bar.harel@biocatch.com>
* bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is ↵Miss Islington (bot)2021-08-161-3/+1
| | | | | | | fixed (GH-27761) (cherry picked from commit 62bc716fde20fcb7b47416c7959be9e66df93212) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* [3.10] bpo-44830 - Remove the broken Broken Mozilla devguide link. ↵Senthil Kumaran2021-08-161-4/+0
| | | | | | | (GH-27664) (GH-27666) (cherry picked from commit ebecffdb6d5fffa4249f9a813f1fc1915926feb5) Co-authored-by: Senthil Kumaran <senthil@python.org>
* bpo-44907: Update error messages in tutorial examples (GH-27755)Miss Islington (bot)2021-08-141-3/+3
| | | | | | (cherry picked from commit ed524b4569b1e4a166886c880018418d46284378) Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
* bpo-36700: [doc] Update base64 RFC references to RFC 4648 (GH-27700)Miss Islington (bot)2021-08-133-4/+16
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit e43b9bbc31c22a0d97dc4fc420300e40c2d74166) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-26228: [doc] Adapt PTY documentation updates from GH-4167 (GH-27754)Miss Islington (bot)2021-08-133-7/+11
| | | | | | Co-authored-by: Cornelius Diekmann <c.diekmann@googlemail.com> (cherry picked from commit dd8eb303b90d63e1f56684bedadca6674bb74a29) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* Added test case based on recommended test cases from RFC 4648 (GH-27747)Miss Islington (bot)2021-08-131-0/+39
| | | | | (cherry picked from commit 230403a6a19042b174374c3825904d2e857f38b0) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* bpo-44891: Tests `id` preserving on `* 1` for `str` and `bytes` (GH-27745)Miss Islington (bot)2021-08-133-0/+46
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit a2ce538e16d5e3a6168704366bdd7a8c5af29881) Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
* bpo-44895: Temporarily add an extra gc.collect() call (GH-27746)Miss Islington (bot)2021-08-131-0/+3
| | | | | | This is part of an investigation of a non-deterministic reference leak. While we're looking for the root cause, this is included temporarily so that CI doesn't fail on this particular issue. This enables it to find other regressions in the meantime, which would otherwise be shadowed by our known issue. (cherry picked from commit 7bf28cbb4bf37fa6bdfc2d3f8a3939066b3f8f22) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* [3.10] bpo-33930: Fix typo in the test name. (GH-27736)Benjamin Peterson2021-08-131-1/+1
| | | | | | [bpo-33930](): Fix typo in the test name. (GH-27733) (cherry picked from commit f08e6d1bb3c5655f184af88c6793e90908bb6338) Automerge-Triggered-By: GH:benjaminp
* [3.10] bpo-44885: Correct the ast locations of f-strings with format specs ↵Pablo Galindo Salgado2021-08-123-49/+61
| | | | | | | and repeated expressions (GH-27729) (GH-27743) (cherry picked from commit 8e832fb2a2cb54d7262148b6ec15563dffb48d63) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-26228: Fix pty EOF handling (GH-12049) (GH-27732)Miss Islington (bot)2021-08-125-37/+85
| | | | | | | | | | | | | On non-Linux POSIX platforms, like FreeBSD or macOS, the FD used to read a forked PTY may signal its exit not by raising an error but by sending empty data to the read syscall. This case wasn't handled, leading to hanging `pty.spawn` calls. Co-authored-by: Reilly Tucker Siemens <reilly@tuckersiemens.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 81ab8db235580317edcb0e559cd4c983f70883f5) Co-authored-by: Zephyr Shannon <geoffpshannon@gmail.com>
* bpo-33479: Add architecture and threading model sections to Tkinter module ↵Miss Islington (bot)2021-08-112-0/+106
| | | | | | | | docs (GH-27717) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 08caf2d5d4a9994976e9eafaf345b5a1a4012a81) Co-authored-by: Mark Roseman <mark@markroseman.com>
* Add .DS_Store on ignore (GH-27711) (GH-27723)Miss Islington (bot)2021-08-111-0/+1
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 1841c70f2bdab9d29c1c74a8afffa45d5555af98) Co-authored-by: 180909 <wjh180909@gmail.com>
* bpo-33930: Fix segfault with deep recursion when cleaning method objects ↵Miss Islington (bot)2021-08-113-1/+22
| | | | | | | (GH-27678) (GH-27719) (cherry picked from commit bfc2d5a5c4550ab3a2fadeb9459b4bd948ff61a2) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-44854: Add .editorconfig file to help enforce `make patchcheck` (GH-27638)Miss Islington (bot)2021-08-101-0/+12
| | | | | (cherry picked from commit c0ab59f7de1906feee21c057ad433fad924d1e38) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-14853: add back the stdin test, skip if stdin is redirected (GH-27694)Miss Islington (bot)2021-08-101-0/+16
| | | | | (cherry picked from commit 8ed183391241f0c73e7ba7f42b1d49fc02985f7b) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* bpo-25782: avoid hang in PyErr_SetObject when current exception has a cycle ↵Miss Islington (bot)2021-08-103-1/+158
| | | | | | | | in its context chain (GH-27626) Co-authored-by: Dennis Sweeney 36520290+sweeneyde@users.noreply.github.com (cherry picked from commit d5c217475c4957a8084ac3f92ae012ece5edc7cb) Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
* make lib2to3 parse async generators everywhere (GH-6588)Miss Islington (bot)2021-08-103-8/+17
| | | | | (cherry picked from commit 149addd4960d634ce672ab5fc17e0e785a0cdcd0) Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>
* bpo-33479: Remove unqualified tkinter threadsafe claim. (GH-6990)Miss Islington (bot)2021-08-102-2/+5
| | | | | | It has not been true for several years and likely never was. (cherry picked from commit 6b37d0d5300813de31d66df1c77dad7e1027e4d8) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-44872: use new trashcan macros in framobject.c (GH-27683) (GH-27690)Irit Katriel2021-08-102-2/+3
|
* bpo-39498 Start linking the security warnings in the stdlib modules (GH-18272)Miss Islington (bot)2021-08-1010-0/+45
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit c5c5326d4799fe4ae566aff32ed3461af95859cc) Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
* bpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631)Miss Islington (bot)2021-08-093-3/+14
| | | | | (cherry picked from commit b33186bc43bb5aaf652dd9d093a08fdde796d499) Co-authored-by: Johannes Reiff <mail@jreiff.de>
* bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034)Miss Islington (bot)2021-08-092-3/+5
| | | | | | | | | | This was causing test___all__ to fail on platforms lacking a shared memory implementation. Co-Authored-By: Xavier de Gaye <xdegaye@gmail.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit d0978761118856e8ca8ea7b162a6585b8da83df9) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-44522: Fix inaccurate information in open() function (GH-27650)Miss Islington (bot)2021-08-091-3/+3
| | | | | | - Use "Low surrogate code units" instead of "Unicode Private Use Area" (cherry picked from commit b05e9b63fcfcd4bd7a6434fa9f9a7028d12f91c4) Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
* Remove unused variable. (GH-27677) (#27680)Mark Shannon2021-08-091-3/+0
|
* bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile ↵Miss Islington (bot)2021-08-093-3/+23
| | | | | | | | (GH-21470) Co-Authored-By: Bo Bayles <bbayles@gmail.com> (cherry picked from commit eb2d4a66ff07aa6e51cfaaa31afed31addf76936) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-44840: Compiler: Move duplication of exit blocks with no line numbers to ↵Mark Shannon2021-08-096-3854/+3888
| | | | | after CFG optimization. (GH-27656) (#27673) (cherry picked from commit b854557b49083d8625a433eb36aacb0c87d67c52)
* Upgrade bundled pip and setuptools (GH-27625)Miss Islington (bot)2021-08-075-2/+3
| | | | | | | pip is now 21.2.3 setuptools is now 57.4.0 (cherry picked from commit 738ac00a08cb6a9d104ec85ccb1a44c2399d6baa) Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
* bpo-44856: Possible reference leak in error paths of update_bases() and ↵Miss Islington (bot)2021-08-072-22/+14
| | | | | | | __build_class__ (GH-27647) (cherry picked from commit a40675c659cd8c0699f85ee9ac31660f93f8c2f5) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-41576: document BaseException in favor of bare except (GH-21917)Miss Islington (bot)2021-08-062-8/+10
| | | | | (cherry picked from commit e9a6f1b78bf57d9f3f99547bd007d7cfc9724cfb) Co-authored-by: Thomas Grainger <tagrain@gmail.com>
* bpo-27752: improve documentation of csv.Dialect (GH-26795)Miss Islington (bot)2021-08-062-11/+24
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 0ffdced3b64ba5886fcde64266a31a15712da284) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) ↵Miss Islington (bot)2021-08-063-12/+41
| | | | (GH-27640)
* bpo-44756: [docs] revert automated virtual environment creation on `make ↵Miss Islington (bot)2021-08-063-5/+16
| | | | | | | | html` (GH-27635) It turned out to be disruptive for downstream distributors. (cherry picked from commit 55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44822: Don't truncate `str`s with embedded NULL chars returned by ↵Miss Islington (bot)2021-08-063-3/+41
| | | | | | | `sqlite3` UDF callbacks (GH-27588) (cherry picked from commit 8f010dc920e1f6dc6a357e7cc1460a7a567c05c6) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-40928: notify users running test_decimal on macOS of malloc warnings ↵Miss Islington (bot)2021-08-063-1/+26
| | | | | | | | | | | (GH-26783) * When trying to allocate very large regions on macOS, malloc does not fail silently. It sends a noisy error out to STDERR * This provides a helper function to warn the user, and provides the warning for test_decimal, which consistently generates these warnings on macOS. Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 15d3c14df32a35ac69898a7852115722e30d7857) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-44524: Fix an issue wherein `_GenericAlias._name` was not properly set ↵Miss Islington (bot)2021-08-063-61/+191
| | | | | | | | | for specialforms (GH-27614) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 8bdf12e99a3dc7ada5f85bba79c2a9eb9931f5b0) Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
* bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623)Miss Islington (bot)2021-08-062-3/+8
| | | | | | | | Fix the os.set_inheritable() function on FreeBSD 14 for file descriptor opened with the O_PATH flag: ignore the EBADF error on ioctl(), fallback on the fcntl() implementation. (cherry picked from commit c24896c0e3b32c8a9f614ef51366007b67d5c665) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065)Miss Islington (bot)2021-08-067-1/+49
| | | | | | | | The threading debug (PYTHONTHREADDEBUG environment variable) is deprecated in Python 3.10 and will be removed in Python 3.12. This feature requires a debug build of Python. (cherry picked from commit 4d77691172aae81bdcbb0ea75839d0e896c43781) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618)Miss Islington (bot)2021-08-051-1/+1
| | | | | (cherry picked from commit 938e84b4fa410f1a86f5e0708ebc3af6bb8efb0e) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* [3.10] bpo-44838: Refine the custom syntax errors for invalid 'if' ↵Pablo Galindo Salgado2021-08-054-554/+621
| | | | | | | | | | | expressions (GH-27615). (GH-27616) … (cherry picked from commit f5cbea6b1b5fc39cca377c6cc93f222916015fc4) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> Automerge-Triggered-By: GH:lysnikolaou
* bpo-44801: Check arguments in substitution of ParamSpec in Callable (GH-27585)Miss Islington (bot)2021-08-044-37/+89
| | | | | (cherry picked from commit 3875a6954741065b136650db67ac533bc70a3eac) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166)Miss Islington (bot)2021-08-043-4/+10
| | | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Alexander Vandenbulcke <alexander.vandenbulcke95@gmail.com> (cherry picked from commit a8dc4893d2b28827e82447326ea47759c161a722) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* [doc] bpo-43066: zipfile - add note on leading slash in the filename arg ↵Miss Islington (bot)2021-08-042-1/+7
| | | | | | | | (GH-26899) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 7c5dab4340032eb15d3797d8b601ef11649bbab3) Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
* Fix typo in 'xml.dom.minidom' documentation (GH-27602)Miss Islington (bot)2021-08-041-1/+1
| | | | | (cherry picked from commit cc77193127381be16467ad10f421d3ba147ed972) Co-authored-by: Cristián Maureira-Fredes <cmaureir@users.noreply.github.com>
* Fix 404 link to the pyporting mailing list (GH-27320)Miss Islington (bot)2021-08-041-3/+3
| | | | | | | Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 977d99d1cca6ddd87fe6f218bca46e7ef105bd72) Co-authored-by: Rohit Nishad <47008599+rohitnishad613@users.noreply.github.com>
* Note that tp_clear and m_clear are not always called (GH-27581)Miss Islington (bot)2021-08-042-0/+12
| | | | | (cherry picked from commit 10faada709561663d6b1f623d308ff45e3808cca) Co-authored-by: Petr Viktorin <encukou@gmail.com>
* Fix hyperlink conflict in turtle docs (GH-27592)Miss Islington (bot)2021-08-041-12/+16
| | | | | (cherry picked from commit 3d2b4c6f18d7e644e5850d2af74ac5dc530eb24c) Co-authored-by: Harry <harry.lees@gmail.com>
* bpo-41886: Fix documented type of PyType_Type (GH-22454)Miss Islington (bot)2021-08-031-1/+1
| | | | | (cherry picked from commit ac811f9b5a68ce8756911ef2c8be83b46696018f) Co-authored-by: da-woods <dw-git@d-woods.co.uk>