summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [doc] Fix typo in idle.rst (GH-27903)Miss Islington (bot)2021-08-231-1/+1
| | | | | | intially -> initially (cherry picked from commit 0e8695ece0d3569eeb1b89c91a1b0aa3d34f228e) Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
* bpo-38291: Update 3.10 WhatsNew with typing.{io|re} DeprecationWarning ↵Miss Islington (bot)2021-08-231-0/+13
| | | | | | | (GH-27872) (cherry picked from commit 1a995b0ceefdf7eb59963f3ab395c47d8da226e3) Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* Move susp-ignored locationsMiss Islington (bot)2021-08-223-18/+23
|
* bpo-4442: Document use of __new__ for subclasses of immutable types (GH-27866)Miss Islington (bot)2021-08-221-0/+49
| | | | | (cherry picked from commit eec340ea3af27887fcaac4029ebdee99f3713bff) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* [3.10] bpo-42560: rework external references in Tkinter docs (GH-27838) ↵Łukasz Langa2021-08-221-32/+19
| | | | | | | | | | | | | | | (GH-27893) - reorganized from two sections (tkinter vs. tcl/tk) into three (tkinter, tcl/tk, and books) - main (recommended) tkinter docs have one tutorial (tkdocs) and one reference (shipman), added better descriptions - dropped link to Tkinter page on wiki (suggestion by E. Paine; outdated, most material already linked to from python.org) - replaced Tcl/Tk recent man pages and core dev home with single link to main Tcl/Tk page (which holds both of these) - updated Modern Tkinter link to book page on TkDocs site (was Amazon link to old version), dropped description - replaced Grayson book by Moore book (newer, covers ttk) - changed Ousterhout ref to second edition, covers ttk - dropped link to Welch book (old). (cherry picked from commit d1049d1d6b43296d4db1aa8668aa4ca807bf7adb) Co-authored-by: Mark Roseman <mark@markroseman.com>
* bpo-42560: reorganize Tkinter docs modules section for clarity (GH-27840)Miss Islington (bot)2021-08-221-17/+36
| | | | | | | | - move description of internal modules (_tkinter and tkinter.constants) from section intro to list of additional modules at end of section, as not most important info - added missing ttk and tix here - emphasized up front that most apps will need tkinter and ttk (cherry picked from commit d5dbe8bca792350f4997c027535e0ca498abd1bb) Co-authored-by: Mark Roseman <mark@markroseman.com>
* bpo-42560: tweaks to intro of Tkinter docs- add macOS, drop ActiveState ↵Miss Islington (bot)2021-08-221-3/+2
| | | | | | | (GH-27835) (cherry picked from commit 141c7a4fce8def67baa9d24f542c105b8502893e) Co-authored-by: Mark Roseman <mark@markroseman.com>
* bpo-44926: `get_type_hints`: Add note about type aliases with forward refs ↵Miss Islington (bot)2021-08-221-0/+7
| | | | | | | (GH-27859) (GH-27860) (cherry picked from commit 16b9be4861e007ad483611ba0479feb2b90ea783) Co-authored-by: Maximilian Hils <git@maximilianhils.com>
* bpo-44955: Always call stopTestRun() for implicitly created TestResult ↵Miss Islington (bot)2021-08-223-53/+104
| | | | | | | | | | | objects (GH-27831) Method stopTestRun() is now always called in pair with method startTestRun() for TestResult objects implicitly created in TestCase.run(). Previously it was not called for test methods and classes decorated with a skipping decorator. (cherry picked from commit a9640d75531d6cbbfd254b65435f238c26bf5cd9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-44940: Clarify the documentation of re.findall() (GH-27849)Miss Islington (bot)2021-08-221-4/+14
| | | | | | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Vedran Čačić <vedgar+github@gmail.com> (cherry picked from commit 64f9e7b19dc1603fcbd07c17c9860085b9d21465) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-44966: Fix out-of-date traceback message (GH-27867)Miss Islington (bot)2021-08-221-1/+1
| | | | | (cherry picked from commit 15a64d89a31b7e91f0361c305b7b27d8761db93d) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-44968: Fix test_subprocess_wait_no_same_group in test_asyncio (GH-27870)Miss Islington (bot)2021-08-211-1/+2
| | | | | | | The code of the test was never executed because the test function was unintentionally converted to a generator function. (cherry picked from commit 585390fdd8661b4bc08bdfc27551292da9b4b9b8) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-44524: Do not set _name of _SpecialForm without need (GH-27861) (GH-27871)Miss Islington (bot)2021-08-212-12/+8
| | | | | | | | | Because setting non-empty _name affects behavior of other code. In most cases __name__ can be derived from __origin__.__name__. (cherry picked from commit 4ceec495598e78f0776dd46d511dcc612a434dc3) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-44954: Fix wrong result in float.fromhex corner case (GH-27834)Miss Islington (bot)2021-08-203-2/+18
| | | | | (cherry picked from commit 60b93d9e4922eeae25052bc15909d1f4152babde) Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
* Fix reST markup in dataclasses.rst (GH-27843) (GH-27845)Miss Islington (bot)2021-08-191-1/+1
| | | | | | | | | The signature of field() had an extraneous colon at the end, causing it to appear all bold and without the module name. (cherry picked from commit d26dbba9297adb59bc49a6583c647804ef56fc58) Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com> Co-authored-by: Jean-Abou-Samra <37271310+Jean-Abou-Samra@users.noreply.github.com>
* bpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824)Miss Islington (bot)2021-08-192-0/+18
| | | | | (cherry picked from commit 0fd66e46b2f472d0d206a185dc8892f4f0347cb6) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44949: Fix test_readline auto history tests (GH-27813)Miss Islington (bot)2021-08-192-2/+8
| | | | | (cherry picked from commit 6fb62b42f4db56ed5efe0ca4c1059049276c1083) Co-authored-by: Victor Stinner <vstinner@python.org>
* bpo-44830: [doc] Restore missing Mozilla devguide link (GH-27818)Miss Islington (bot)2021-08-191-0/+4
| | | | | (cherry picked from commit 942d1a4284e9341df47c48d7c63e921136dc9719) Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
* bpo-44947: Refine the syntax error for trailing commas in import statements ↵Miss Islington (bot)2021-08-184-6/+18
| | | | | | | (GH-27814) (cherry picked from commit b2f68b190035540872072ac1d2349e7745e85596) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* bpo-44852: Support filtering over warnings without a set message (GH-27793)Miss Islington (bot)2021-08-181-4/+5
| | | | | | | | | | | | | Additional improvements: - messages which were compiled regular expressions aren't unpacked back into strings for unmatched warnings; - removed unnecessary "if tokens:" check (there's one before the for loop); - took `endswith` calculation out of the for loop. (cherry picked from commit 8cf07d3db3eed02b43350a5f9dbf68f1c839ea82) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-44508: [Doc] Document failure mode for loop.call_soon_threadsafe (GH-27688)Miss Islington (bot)2021-08-171-0/+4
| | | | | | Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit 3240bc62f4e0afa09964f3afc845697f0a0806b9) Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
* introduce omitted index default before using it (GH-27775) (GH-27802)Miss Islington (bot)2021-08-171-8/+8
| | | | | (cherry picked from commit 599f5c8481ca258ca3a5d13eaee7d07a9103b5f2) Co-authored-by: Jefferson Oliveira <jefferson.dev.insights@gmail.com>
* [3.10] bpo-44935: enable posix_spawn() on Solaris (GH-27795) (GH-27800)Miss Islington (bot)2021-08-172-2/+5
| | | | | | | | | Enable posix_spawn() on Solaris (cherry picked from commit b1930bf75f276cd7ca08c4455298128d89adf7d1) Co-authored-by: Jakub Kulík <Kulikjak@gmail.com> Automerge-Triggered-By: GH:gpshead
* bpo-44698: Restore complex pow behaviour for small integral exponents ↵Miss Islington (bot)2021-08-173-21/+37
| | | | | | | (GH-27772) (GH-27796) (cherry picked from commit 4b9a2dcf19e5d13c3bc2afea2de1f65cd994c699) Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
* bpo-44903: Removed othergui.rst and list of GUI frameworks (GH-27762)Miss Islington (bot)2021-08-174-148/+13
| | | | | (cherry picked from commit 6a358bb9482f7595b858ea7b800cbe66f0de5fa1) Co-authored-by: Gautam Chaudhuri <gautam.chaudhuri.1803@gmail.com>
* [3.10] bpo-44852: Support ignoring specific DeprecationWarnings wholesale in ↵Łukasz Langa2021-08-174-0/+72
| | | | | | | regrtest (GH-27634) (GH-27784) (cherry picked from commit a0a6d39295a30434b088f4b66439bf5ea21a3e4e) Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* 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>