]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
4 years agobpo-44955: Always call stopTestRun() for implicitly created TestResult objects (GH...
Miss Islington (bot) [Sun, 22 Aug 2021 18:15:10 +0000 (11:15 -0700)] 
bpo-44955: Always call stopTestRun() for implicitly created TestResult objects (GH-27831) (GH-27882)

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>
4 years agobpo-44966: Fix out-of-date traceback message (GH-27867) (GH-27876)
Miss Islington (bot) [Sun, 22 Aug 2021 00:36:54 +0000 (17:36 -0700)] 
bpo-44966: Fix out-of-date traceback message (GH-27867) (GH-27876)

4 years agobpo-44968: Fix test_subprocess_wait_no_same_group in test_asyncio (GH-27870)
Miss Islington (bot) [Sat, 21 Aug 2021 20:29:18 +0000 (13:29 -0700)] 
bpo-44968: Fix test_subprocess_wait_no_same_group in test_asyncio (GH-27870)

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>
4 years agobpo-44954: Fix wrong result in float.fromhex corner case (GH-27834) (GH-27855)
Miss Islington (bot) [Fri, 20 Aug 2021 11:37:41 +0000 (04:37 -0700)] 
bpo-44954: Fix wrong result in float.fromhex corner case (GH-27834) (GH-27855)

(cherry picked from commit 60b93d9e4922eeae25052bc15909d1f4152babde)

Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
4 years agobpo-44949: Fix test_readline auto history tests (GH-27813) (GH-27822)
Miss Islington (bot) [Thu, 19 Aug 2021 10:35:28 +0000 (03:35 -0700)] 
bpo-44949: Fix test_readline auto history tests (GH-27813) (GH-27822)

(cherry picked from commit 6fb62b42f4db56ed5efe0ca4c1059049276c1083)

Co-authored-by: Victor Stinner <vstinner@python.org>
4 years agobpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824) (GH-27827)
Miss Islington (bot) [Thu, 19 Aug 2021 09:20:47 +0000 (02:20 -0700)] 
bpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824) (GH-27827)

(cherry picked from commit 0fd66e46b2f472d0d206a185dc8892f4f0347cb6)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
4 years agobpo-44830: [doc] Restore missing Mozilla devguide link (GH-27818) (GH-27821)
Miss Islington (bot) [Thu, 19 Aug 2021 08:36:55 +0000 (01:36 -0700)] 
bpo-44830: [doc] Restore missing Mozilla devguide link (GH-27818) (GH-27821)

(cherry picked from commit 942d1a4284e9341df47c48d7c63e921136dc9719)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
4 years ago[3.9] bpo-44947: Refine the syntax error for trailing commas in import statements...
Łukasz Langa [Wed, 18 Aug 2021 21:03:59 +0000 (23:03 +0200)] 
[3.9] bpo-44947: Refine the syntax error for trailing commas in import statements (GH-27814) (GH-27817)

(cherry picked from commit b2f68b190035540872072ac1d2349e7745e85596)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
4 years ago[3.9] bpo-44815: Always show deprecation in asyncio.gather/sleep() (GH-27569)
Sam Bull [Wed, 18 Aug 2021 18:47:55 +0000 (19:47 +0100)] 
[3.9] bpo-44815: Always show deprecation in asyncio.gather/sleep() (GH-27569)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
4 years agobpo-44852: Support filtering over warnings without a set message (GH-27793) (GH-27810)
Miss Islington (bot) [Wed, 18 Aug 2021 12:10:39 +0000 (05:10 -0700)] 
bpo-44852: Support filtering over warnings without a set message (GH-27793) (GH-27810)

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>
4 years agobpo-44508: [Doc] Document failure mode for loop.call_soon_threadsafe (GH-27688) ...
Miss Islington (bot) [Tue, 17 Aug 2021 23:18:22 +0000 (16:18 -0700)] 
bpo-44508: [Doc] Document failure mode for loop.call_soon_threadsafe (GH-27688) (GH-27805)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 3240bc62f4e0afa09964f3afc845697f0a0806b9)

Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
4 years agointroduce omitted index default before using it (GH-27775) (GH-27803)
Miss Islington (bot) [Tue, 17 Aug 2021 21:49:53 +0000 (14:49 -0700)] 
introduce omitted index default before using it (GH-27775) (GH-27803)

(cherry picked from commit 599f5c8481ca258ca3a5d13eaee7d07a9103b5f2)

Co-authored-by: Jefferson Oliveira <jefferson.dev.insights@gmail.com>
4 years agobpo-44698: Restore complex pow behaviour for small integral exponents (GH-27772)...
Miss Islington (bot) [Tue, 17 Aug 2021 17:38:39 +0000 (10:38 -0700)] 
bpo-44698: Restore complex pow behaviour for small integral exponents (GH-27772) (GH-27797)

(cherry picked from commit 4b9a2dcf19e5d13c3bc2afea2de1f65cd994c699)

Co-authored-by: Mark Dickinson <mdickinson@enthought.com>
4 years agobpo-44903: Removed othergui.rst and list of GUI frameworks (GH-27762) (GH-27790)
Miss Islington (bot) [Tue, 17 Aug 2021 10:09:09 +0000 (03:09 -0700)] 
bpo-44903: Removed othergui.rst and list of GUI frameworks (GH-27762) (GH-27790)

(cherry picked from commit 6a358bb9482f7595b858ea7b800cbe66f0de5fa1)

Co-authored-by: Gautam Chaudhuri <gautam.chaudhuri.1803@gmail.com>
4 years ago[3.9] bpo-38956: don't print BooleanOptionalAction's default twice (GH-27672) (GH...
Łukasz Langa [Tue, 17 Aug 2021 09:17:00 +0000 (11:17 +0200)] 
[3.9] bpo-38956: don't print BooleanOptionalAction's default twice (GH-27672) (GH-27788)

Co-authored-by: Micky Yun Chan <michan@redhat.com>.
(cherry picked from commit 1512bc21d60f098a9e9f37b44a2f6a9b49a3fd4f)

Co-authored-by: Maximilian Hils <git@maximilianhils.com>
4 years ago[3.9] bpo-44852: Support ignoring specific DeprecationWarnings wholesale in regrtest...
Łukasz Langa [Mon, 16 Aug 2021 20:47:08 +0000 (22:47 +0200)] 
[3.9] bpo-44852: Support ignoring specific DeprecationWarnings wholesale in regrtest (GH-27634) (GH-27785)

(cherry picked from commit a0a6d39295a30434b088f4b66439bf5ea21a3e4e)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
4 years agobpo-44907: Update error messages in tutorial examples (GH-27755) 27781/head
Miss Islington (bot) [Sat, 14 Aug 2021 00:25:38 +0000 (17:25 -0700)] 
bpo-44907: Update error messages in tutorial examples (GH-27755)

(cherry picked from commit ed524b4569b1e4a166886c880018418d46284378)

Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
4 years ago[3.9] Fix the test suite for the old parser (GH-27749)
Pablo Galindo Salgado [Fri, 13 Aug 2021 10:26:07 +0000 (11:26 +0100)] 
[3.9] Fix the test suite for the old parser (GH-27749)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
4 years ago[3.9] bpo-44885: Correct the ast locations of f-strings with format specs and repeate...
Pablo Galindo Salgado [Thu, 12 Aug 2021 17:46:35 +0000 (18:46 +0100)] 
[3.9] bpo-44885: Correct the ast locations of f-strings with format specs and repeated expressions (GH-27729) (GH-27744)

(cherry picked from commit 8e832fb2a2cb54d7262148b6ec15563dffb48d63)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
4 years ago[3.9] bpo-33930: Fix typo in the test name. (GH-27733) (GH-27734)
Miss Islington (bot) [Thu, 12 Aug 2021 02:20:21 +0000 (19:20 -0700)] 
[3.9] bpo-33930: Fix typo in the test name. (GH-27733) (GH-27734)

[bpo-33930](): Fix typo in the test name. (GH-27733)
(cherry picked from commit f08e6d1bb3c5655f184af88c6793e90908bb6338)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
Automerge-Triggered-By: GH:benjaminp
4 years agoAdd .DS_Store on ignore (GH-27711) (GH-27724)
Miss Islington (bot) [Wed, 11 Aug 2021 11:09:43 +0000 (04:09 -0700)] 
Add .DS_Store on ignore (GH-27711) (GH-27724)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 1841c70f2bdab9d29c1c74a8afffa45d5555af98)

Co-authored-by: 180909 <wjh180909@gmail.com>
4 years agobpo-33930: Fix segfault with deep recursion when cleaning method objects (GH-27678...
Miss Islington (bot) [Wed, 11 Aug 2021 08:32:24 +0000 (01:32 -0700)] 
bpo-33930: Fix segfault with deep recursion when cleaning method objects (GH-27678) (GH-27720)

(cherry picked from commit bfc2d5a5c4550ab3a2fadeb9459b4bd948ff61a2)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
4 years agobpo-44854: Add .editorconfig file to help enforce `make patchcheck` (GH-27638) (GH...
Miss Islington (bot) [Tue, 10 Aug 2021 17:22:15 +0000 (10:22 -0700)] 
bpo-44854: Add .editorconfig file to help enforce `make patchcheck` (GH-27638) (GH-27714)

(cherry picked from commit c0ab59f7de1906feee21c057ad433fad924d1e38)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
4 years agobpo-14853: add back the stdin test, skip if stdin is redirected (GH-27694) (GH-27698)
Miss Islington (bot) [Tue, 10 Aug 2021 13:09:42 +0000 (06:09 -0700)] 
bpo-14853: add back the stdin test, skip if stdin is redirected (GH-27694) (GH-27698)

(cherry picked from commit 8ed183391241f0c73e7ba7f42b1d49fc02985f7b)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
4 years agobpo-25782: avoid hang in PyErr_SetObject when current exception has a cycle in its...
Miss Islington (bot) [Tue, 10 Aug 2021 11:08:41 +0000 (04:08 -0700)] 
bpo-25782: avoid hang in PyErr_SetObject when current exception has a cycle in its context chain (GH-27626) (GH-27707)

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>
4 years agobpo-33479: Remove unqualified tkinter threadsafe claim. (GH-6990) (GH-27705)
Miss Islington (bot) [Tue, 10 Aug 2021 09:58:05 +0000 (02:58 -0700)] 
bpo-33479: Remove unqualified tkinter threadsafe claim. (GH-6990) (GH-27705)

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>
4 years agomake lib2to3 parse async generators everywhere (GH-6588) (GH-27703)
Miss Islington (bot) [Tue, 10 Aug 2021 09:56:50 +0000 (02:56 -0700)] 
make lib2to3 parse async generators everywhere (GH-6588) (GH-27703)

(cherry picked from commit 149addd4960d634ce672ab5fc17e0e785a0cdcd0)

Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>
4 years agobpo-44872: use new trashcan macros in framobject.c (GH-27683) (GH-27691)
Irit Katriel [Tue, 10 Aug 2021 07:55:39 +0000 (08:55 +0100)] 
bpo-44872: use new trashcan macros in framobject.c (GH-27683) (GH-27691)

4 years agobpo-39498 Start linking the security warnings in the stdlib modules (GH-18272) (GH...
Miss Islington (bot) [Tue, 10 Aug 2021 07:51:33 +0000 (00:51 -0700)] 
bpo-39498 Start linking the security warnings in the stdlib modules (GH-18272) (GH-27699)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit c5c5326d4799fe4ae566aff32ed3461af95859cc)

Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
4 years agobpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631) (GH-27687)
Miss Islington (bot) [Mon, 9 Aug 2021 22:34:58 +0000 (15:34 -0700)] 
bpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631) (GH-27687)

(cherry picked from commit b33186bc43bb5aaf652dd9d093a08fdde796d499)

Co-authored-by: Johannes Reiff <mail@jreiff.de>
4 years agobpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034) (GH-27684)
Miss Islington (bot) [Mon, 9 Aug 2021 17:31:10 +0000 (10:31 -0700)] 
bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034) (GH-27684)

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>
4 years ago[3.9] Upgrade bundled pip and setuptools (GH-27625) (GH-27658)
Tzu-ping Chung [Mon, 9 Aug 2021 14:46:15 +0000 (22:46 +0800)] 
[3.9] Upgrade bundled pip and setuptools (GH-27625) (GH-27658)

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>
4 years agobpo-44522: Fix inaccurate information in open() function (GH-27650) (GH-27682)
Miss Islington (bot) [Mon, 9 Aug 2021 14:39:31 +0000 (07:39 -0700)] 
bpo-44522: Fix inaccurate information in open() function (GH-27650) (GH-27682)

- Use "Low surrogate code units" instead of "Unicode Private Use Area"
(cherry picked from commit b05e9b63fcfcd4bd7a6434fa9f9a7028d12f91c4)

Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
4 years agobpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470...
Miss Islington (bot) [Mon, 9 Aug 2021 10:30:00 +0000 (03:30 -0700)] 
bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470) (GH-27674)

Co-Authored-By: Bo Bayles <bbayles@gmail.com>
(cherry picked from commit eb2d4a66ff07aa6e51cfaaa31afed31addf76936)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
4 years agobpo-44830 - Remove the broken Broken Mozilla devguide link. (GH-27664) (GH-27665) 27670/head
Miss Islington (bot) [Sun, 8 Aug 2021 03:44:08 +0000 (20:44 -0700)] 
bpo-44830 - Remove the broken Broken Mozilla devguide link. (GH-27664) (GH-27665)

(cherry picked from commit ebecffdb6d5fffa4249f9a813f1fc1915926feb5)

Co-authored-by: Senthil Kumaran <senthil@python.org>
Co-authored-by: Senthil Kumaran <senthil@python.org>
4 years agobpo-44856: Possible reference leak in error paths of update_bases() and __build_class...
Miss Islington (bot) [Sat, 7 Aug 2021 11:17:41 +0000 (04:17 -0700)] 
bpo-44856: Possible reference leak in error paths of update_bases() and __build_class__ (GH-27647) (GH-27651)

(cherry picked from commit a40675c659cd8c0699f85ee9ac31660f93f8c2f5)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
4 years ago[3.9] bpo-44822: Don't truncate `str`s with embedded NULL chars returned by `sqlite3...
Erlend Egeberg Aasland [Fri, 6 Aug 2021 21:02:06 +0000 (23:02 +0200)] 
[3.9] bpo-44822: Don't truncate `str`s with embedded NULL chars returned by `sqlite3` UDF callbacks (GH-27588). (GH-27639)

(cherry picked from commit 8f010dc920e1f6dc6a357e7cc1460a7a567c05c6)

4 years agobpo-27752: improve documentation of csv.Dialect (GH-26795) (GH-27644)
Miss Islington (bot) [Fri, 6 Aug 2021 20:33:21 +0000 (13:33 -0700)] 
bpo-27752: improve documentation of csv.Dialect (GH-26795) (GH-27644)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 0ffdced3b64ba5886fcde64266a31a15712da284)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
4 years agobpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) (GH-27641)
Miss Islington (bot) [Fri, 6 Aug 2021 19:57:52 +0000 (12:57 -0700)] 
bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) (GH-27641)

4 years agobpo-44756: [docs] revert automated virtual environment creation on `make html` (GH...
Miss Islington (bot) [Fri, 6 Aug 2021 18:42:27 +0000 (11:42 -0700)] 
bpo-44756: [docs] revert automated virtual environment creation on `make html` (GH-27635) (GH-27636)

It turned out to be disruptive for downstream distributors.
(cherry picked from commit 55fa87b1ef46bbb9db7612b2dc2dd7fb039d9bc3)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
4 years ago[3.9] bpo-43853: Handle sqlite3_value_text() errors (GH-25422). (GH-27627)
Erlend Egeberg Aasland [Fri, 6 Aug 2021 17:57:39 +0000 (19:57 +0200)] 
[3.9] bpo-43853: Handle sqlite3_value_text() errors (GH-25422). (GH-27627)

(cherry picked from commit 006fd869e4798b68e266f5de89c83ddb531a756b)

4 years agobpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618) (GH-27619)
Miss Islington (bot) [Fri, 6 Aug 2021 15:38:21 +0000 (08:38 -0700)] 
bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618) (GH-27619)

(cherry picked from commit 938e84b4fa410f1a86f5e0708ebc3af6bb8efb0e)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
4 years agobpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623)
Miss Islington (bot) [Fri, 6 Aug 2021 13:42:51 +0000 (06:42 -0700)] 
bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623)

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>
4 years ago[3.9] bpo-40928: notify users running test_decimal on macOS of malloc warnings (GH...
Łukasz Langa [Fri, 6 Aug 2021 13:35:11 +0000 (15:35 +0200)] 
[3.9] bpo-40928: notify users running test_decimal on macOS of malloc warnings (GH-26783) (GH-27629)

* 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>
4 years agobpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166) (GH-27608)
Miss Islington (bot) [Wed, 4 Aug 2021 20:09:45 +0000 (13:09 -0700)] 
bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166) (GH-27608)

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>
4 years ago[doc] bpo-43066: zipfile - add note on leading slash in the filename arg (GH-26899...
Miss Islington (bot) [Wed, 4 Aug 2021 20:00:52 +0000 (13:00 -0700)] 
[doc] bpo-43066: zipfile - add note on leading slash in the filename arg (GH-26899) (GH-27606)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 7c5dab4340032eb15d3797d8b601ef11649bbab3)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
4 years agoFix typo in 'xml.dom.minidom' documentation (GH-27602) (GH-27604)
Miss Islington (bot) [Wed, 4 Aug 2021 19:53:29 +0000 (12:53 -0700)] 
Fix typo in 'xml.dom.minidom' documentation (GH-27602) (GH-27604)

(cherry picked from commit cc77193127381be16467ad10f421d3ba147ed972)

Co-authored-by: Cristián Maureira-Fredes <cmaureir@users.noreply.github.com>
4 years agoFix 404 link to the pyporting mailing list (GH-27320) (GH-27601)
Miss Islington (bot) [Wed, 4 Aug 2021 19:23:48 +0000 (12:23 -0700)] 
Fix 404 link to the pyporting mailing list (GH-27320) (GH-27601)

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>
4 years agoNote that tp_clear and m_clear are not always called (GH-27581) (GH-27597)
Miss Islington (bot) [Wed, 4 Aug 2021 18:24:03 +0000 (11:24 -0700)] 
Note that tp_clear and m_clear are not always called (GH-27581) (GH-27597)

(cherry picked from commit 10faada709561663d6b1f623d308ff45e3808cca)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
4 years agoFix hyperlink conflict in turtle docs (GH-27592) (GH-27595)
Miss Islington (bot) [Wed, 4 Aug 2021 18:15:19 +0000 (11:15 -0700)] 
Fix hyperlink conflict in turtle docs (GH-27592) (GH-27595)

(cherry picked from commit 3d2b4c6f18d7e644e5850d2af74ac5dc530eb24c)

Co-authored-by: Harry <harry.lees@gmail.com>
4 years agobpo-41886: Fix documented type of PyType_Type (GH-22454)
Miss Islington (bot) [Tue, 3 Aug 2021 17:48:08 +0000 (10:48 -0700)] 
bpo-41886: Fix documented type of PyType_Type (GH-22454)

(cherry picked from commit ac811f9b5a68ce8756911ef2c8be83b46696018f)

Co-authored-by: da-woods <dw-git@d-woods.co.uk>
4 years agobpo-41737: expand doc for NotADirectoryError (GH-27471) (GH-27577)
Miss Islington (bot) [Tue, 3 Aug 2021 12:03:40 +0000 (05:03 -0700)] 
bpo-41737: expand doc for NotADirectoryError (GH-27471) (GH-27577)

(cherry picked from commit f7c23a99cd4f8179b6ba2cffaeb78b852c0f6488)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
4 years agobpo-39091: Fix segfault when Exception constructor returns non-exception for gen...
Miss Islington (bot) [Tue, 3 Aug 2021 10:10:54 +0000 (03:10 -0700)] 
bpo-39091: Fix segfault when Exception constructor returns non-exception for gen.throw. (GH-17658) (GH-27573)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
(cherry picked from commit 83ca46b7784b7357d82ec47b33295e09ed7380cb)

Co-authored-by: Noah <33094578+coolreader18@users.noreply.github.com>
4 years agobpo-44782: Improve OrderedDict recipe for LRU cache variants (GH-27536) (GH-27567)
Miss Islington (bot) [Mon, 2 Aug 2021 18:37:42 +0000 (11:37 -0700)] 
bpo-44782: Improve OrderedDict recipe for LRU cache variants (GH-27536) (GH-27567)

4 years agobpo-35183: Add typical examples to os.path.splitext docs (GH-27286) (GH-27564)
Miss Islington (bot) [Mon, 2 Aug 2021 18:08:10 +0000 (11:08 -0700)] 
bpo-35183: Add typical examples to os.path.splitext docs (GH-27286) (GH-27564)

(cherry picked from commit aa0894b3792901adb91e5f6d049154b7bcb980ec)

Co-authored-by: Jake Stockwin <jake.stockwin@optimorlabs.com>
4 years agoDocument PyMember_GetOne and PyMember_SetOne (GH-27555) (GH-27561)
Miss Islington (bot) [Mon, 2 Aug 2021 16:53:55 +0000 (09:53 -0700)] 
Document PyMember_GetOne and PyMember_SetOne (GH-27555) (GH-27561)

(cherry picked from commit d382bde220b4c07cce2b924ffeb7525ea1a969f4)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
4 years agobpo-44806: Fix __init__ in subclasses of protocols (GH-27545) (GH-27559)
Miss Islington (bot) [Mon, 2 Aug 2021 16:52:16 +0000 (09:52 -0700)] 
bpo-44806: Fix __init__ in subclasses of protocols (GH-27545) (GH-27559)

Non-protocol subclasses of protocol ignore now the __init__ method
inherited from protocol base classes.
(cherry picked from commit 043cd60abed09edddc7185bcf7d039771acc734d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years agobpo-44785: Silence deprecation warnings in test_pickle (GH-27538) (#27557)
Miss Islington (bot) [Mon, 2 Aug 2021 16:39:25 +0000 (09:39 -0700)] 
bpo-44785: Silence deprecation warnings in test_pickle (GH-27538) (#27557)

(cherry picked from commit 36d952d228582b0ffc7a86c520d4ddbe8943d803)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years agodoc: "Mac OS " -> "macOS" (GH-27534) (GH-27549)
Miss Islington (bot) [Mon, 2 Aug 2021 13:13:52 +0000 (06:13 -0700)] 
doc: "Mac OS " -> "macOS" (GH-27534) (GH-27549)

(cherry picked from commit 1342248f3a2b321b7b00867f47c92ba6549f9497)

Co-authored-by: partev <petrosyan@gmail.com>
4 years agodoc: "Mac OS X" -> "macOS" (GH-27535) (GH-27547)
Miss Islington (bot) [Mon, 2 Aug 2021 13:13:34 +0000 (06:13 -0700)] 
doc: "Mac OS X" -> "macOS" (GH-27535) (GH-27547)

(cherry picked from commit 414dcb13aaa4fd42f264fdee47782dede5c83d6c)

Co-authored-by: partev <petrosyan@gmail.com>
4 years agobpo-44667: Treat correctly lines ending with comments and no newlines in the Python...
Miss Islington (bot) [Mon, 2 Aug 2021 09:44:01 +0000 (02:44 -0700)] 
bpo-44667: Treat correctly lines ending with comments and no newlines in the Python tokenizer (GH-27499) (GH-27501)

(cherry picked from commit b6bde9fc42aecad5be0457198d17cfe7b481ad79)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
4 years agoTrivial typo in docstring (#27505)
Miss Islington (bot) [Sat, 31 Jul 2021 05:04:38 +0000 (22:04 -0700)] 
Trivial typo in docstring (#27505)

(cherry picked from commit 4b4227b907a262446b9d276c274feda2590a4e6e)

Co-authored-by: Jesús Cea <jcea@jcea.es>
Co-authored-by: Jesús Cea <jcea@jcea.es>
4 years agobpo-42892: fix email multipart attribute error (GH-26903) (GH-27493)
Miss Islington (bot) [Fri, 30 Jul 2021 17:30:58 +0000 (10:30 -0700)] 
bpo-42892: fix email multipart attribute error (GH-26903) (GH-27493)

(cherry picked from commit e3f877c32d7cccb734f45310f26beeec793364ce)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
4 years agobpo-41911: Update docs for various expressions (GH-27470) (GH-27491)
Miss Islington (bot) [Fri, 30 Jul 2021 17:25:58 +0000 (10:25 -0700)] 
bpo-41911: Update docs for various expressions (GH-27470) (GH-27491)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 4bd9caafb64589288e5171087070bde726178c58)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
4 years agobpo-44666: Use default encoding as fallback for compile_file (GH-27236) (GH-27489)
Miss Islington (bot) [Fri, 30 Jul 2021 17:12:29 +0000 (10:12 -0700)] 
bpo-44666: Use default encoding as fallback for compile_file (GH-27236) (GH-27489)

When sys.stdout.encoding is None compile_file will fall back to
sys.getdefaultencoding to encode/decode error messages.

Co-authored-by: Stefan Hoelzl <stefan.hoelzl@posteo.de>
Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
(cherry picked from commit 80f07076294bc09a55ed76d9bbf307404eef25e6)

4 years agobpo-44753: Don't use logfile extension when determining old files to be deleted ...
Miss Islington (bot) [Fri, 30 Jul 2021 16:20:24 +0000 (09:20 -0700)] 
bpo-44753: Don't use logfile extension when determining old files to be deleted (GH-27475) (GH-27486)

(cherry picked from commit 6ff890380971752299325bd28eab80ec936975cf)

4 years ago[3.9] Fail the CI if an optional module fails to compile (GH-27466). (GH-27482)
Pablo Galindo Salgado [Fri, 30 Jul 2021 14:51:13 +0000 (15:51 +0100)] 
[3.9] Fail the CI if an optional module fails to compile (GH-27466). (GH-27482)

(cherry picked from commit 7cad0bee80a536c7e47f54cf43174175834f30a0)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
4 years ago[3.9] Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27480)
Łukasz Langa [Fri, 30 Jul 2021 14:34:04 +0000 (16:34 +0200)] 
[3.9] Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27480)

(cherry picked from commit be42c06bb01206209430f3ac08b72643dc7cad1c)

Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
4 years agoAdd missing gdbm dependencies to the UNIX CI (GH-27467) (GH-27468)
Miss Islington (bot) [Fri, 30 Jul 2021 12:07:30 +0000 (05:07 -0700)] 
Add missing gdbm dependencies to the UNIX CI (GH-27467) (GH-27468)

(cherry picked from commit 851cca8c22795a2f143ad5ebc10adab3c7784ad0)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
4 years ago[3.9] bpo-31746: Prevent segfaults when sqlite3.Connection is uninitialised (GH-27431...
Erlend Egeberg Aasland [Thu, 29 Jul 2021 21:12:55 +0000 (23:12 +0200)] 
[3.9] bpo-31746: Prevent segfaults when sqlite3.Connection is uninitialised (GH-27431) (GH-27465)

(cherry picked from commit 7e311e496b0e26b3d3c62fe9b0ed2a4677c37ee9)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
4 years agoFix typo in ast.rst (GH-27449) (GH-27455)
Miss Islington (bot) [Thu, 29 Jul 2021 17:41:51 +0000 (10:41 -0700)] 
Fix typo in ast.rst (GH-27449) (GH-27455)

Co-authored-by: HaeckelK <haeckelk.github@gmail.com>
(cherry picked from commit 6b61d74a3bab43a44fa47b1facd1bec3d74e12b1)

4 years agoTo fix the random failed test cases of test___xxsubinterpreters in multiprocess....
Miss Islington (bot) [Thu, 29 Jul 2021 17:28:22 +0000 (10:28 -0700)] 
To fix the random failed test cases of test___xxsubinterpreters in multiprocess. (GH-27240) (GH-27453)

(cherry picked from commit 9101b39e67c2437e88c0ad6b57aafd48ab08d431)

Co-authored-by: Hai Shi <shihai1992@gmail.com>
4 years agobpo-44765: [doc] fix typo (GH-27430) (GH-27451)
Miss Islington (bot) [Thu, 29 Jul 2021 17:23:17 +0000 (10:23 -0700)] 
bpo-44765: [doc] fix typo (GH-27430) (GH-27451)

(cherry picked from commit ccefa8a905c797e4a60078d5e1de846f929c6928)

Co-authored-by: Pavel <69010336+pavel-lexyr@users.noreply.github.com>
4 years agobpo-44752: refactor part of rlcompleter.Completer.attr_matches (GH-27433) (GH-27446)
Miss Islington (bot) [Thu, 29 Jul 2021 15:46:07 +0000 (08:46 -0700)] 
bpo-44752: refactor part of rlcompleter.Completer.attr_matches (GH-27433) (GH-27446)

(cherry picked from commit 6741794dd420c6b9775a188690dbf265037cd69f)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
4 years agobpo-44752: Make rlcompleter not call `@property` methods (GH-27401) (#27445)
Miss Islington (bot) [Thu, 29 Jul 2021 13:53:39 +0000 (06:53 -0700)] 
bpo-44752: Make rlcompleter not call `@property` methods (GH-27401) (#27445)

* rlcompleter was calling these methods to identify whether to add
  parenthesis to the completion, based on if the attribute is callable.
* for property objects, completion with parenthesis are never desirable.
* property methods with print statements behaved very strangely, which
  was especially unfriendly to language newcomers. <tab> could suddenly
  produce output unexpectedly.
(cherry picked from commit 50de8f74f8e92b20e76438c22b6a8f91afd6df75)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
4 years agobpo-44707: Fix an undefined behavior of the null pointer arithmetic (GH-27292) (GH...
Miss Islington (bot) [Thu, 29 Jul 2021 12:05:43 +0000 (05:05 -0700)] 
bpo-44707: Fix an undefined behavior of the null pointer arithmetic (GH-27292) (GH-27443)

(cherry picked from commit e5c8ddb1714fb51ab1defa24352c98e0f01205dc)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years agobpo-43565: Document PyUnicode_KIND's return type as an unsigned int (GH-25724) (GH...
Miss Islington (bot) [Thu, 29 Jul 2021 09:33:16 +0000 (02:33 -0700)] 
bpo-43565: Document PyUnicode_KIND's return type as an unsigned int (GH-25724) (GH-27440)

(cherry picked from commit 47fd4726a2ce8599cc397ddeae40f70eb471e868)

Co-authored-by: Ammar Askar <ammar@ammaraskar.com>
4 years ago[3.9] bpo-44461: Check early that a pdb target is valid for execution. (GH-27227...
Jason R. Coombs [Wed, 28 Jul 2021 22:48:52 +0000 (18:48 -0400)] 
[3.9] bpo-44461: Check early that a pdb target is valid for execution. (GH-27227) (GH-27400)

* [3.9] bpo-44461: Check early that a pdb target is valid for execution. (GH-27227)

* bpo-44461: Fix bug with pdb's handling of import error due to a package which does not have a __main__ module

* 📜🤖 Added by blurb_it.

* remove "else"

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* If running as a module, first check that it can run as a module. Alternate fix for bpo-44461.

Co-authored-by: Irit Katriel
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>.
(cherry picked from commit ee03bad25e83b00ba5fc2a0265b48c6286e6b3f7)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Ensure os_helper is imported.

* Actually, os_helper doesn't exist yet. Just reference rmtree from support.

4 years agobpo-40263: Fixes an off-by-one error in _winapi_WaitForMultipleObjects_impl (GH-19501)
Miss Islington (bot) [Wed, 28 Jul 2021 21:52:11 +0000 (14:52 -0700)] 
bpo-40263: Fixes an off-by-one error in _winapi_WaitForMultipleObjects_impl (GH-19501)

(cherry picked from commit 92b5dc780db968f6277f42cb06926dddb7475dc6)

Co-authored-by: Ray Donnelly <mingw.android@gmail.com>
4 years ago[doc] Remove reference to obsolute opcode (GH-27402)
Dennis Sweeney [Wed, 28 Jul 2021 19:12:17 +0000 (15:12 -0400)] 
[doc] Remove reference to obsolute opcode (GH-27402)

4 years agobpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423) (GH-27427)
Miss Islington (bot) [Wed, 28 Jul 2021 17:31:19 +0000 (10:31 -0700)] 
bpo-44763: [doc] remove repetitive sentence from textwrap.wrap (GH-27423) (GH-27427)

(cherry picked from commit cb1d76f10ab33dddd0dbd64e6506bf7c065d499b)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
4 years agobpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27425)
Miss Islington (bot) [Wed, 28 Jul 2021 17:29:47 +0000 (10:29 -0700)] 
bpo-44544: [doc] list all textwrap func kwargs (GH-26999) (GH-27425)

(cherry picked from commit c1e39d6b1167376fdaf3f288ba9a689e61c7fdd1)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
4 years agobpo-27827: identify a greater range of reserved filename on Windows. (GH-26698) ...
Miss Islington (bot) [Wed, 28 Jul 2021 15:15:51 +0000 (08:15 -0700)] 
bpo-27827: identify a greater range of reserved filename on Windows. (GH-26698) (#27422)

`pathlib.PureWindowsPath.is_reserved()` now identifies as reserved
filenames with trailing spaces or colons.

Co-authored-by: Barney Gale <barney.gale@foundry.com>
Co-authored-by: Eryk Sun <eryksun@gmail.com>
(cherry picked from commit 56c1f6d7edad454f382d3ecb8cdcff24ac898a50)

4 years agoAdd missing end of sentence in docs (GH-27280) (GH-27420)
Miss Islington (bot) [Wed, 28 Jul 2021 14:54:40 +0000 (07:54 -0700)] 
Add missing end of sentence in docs (GH-27280) (GH-27420)

(cherry picked from commit 531e2fbc52ce07a9cf37e0db05a5337e404dfccd)

Co-authored-by: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com>
4 years agoFix typo in sqlite3.rst (GH-27415) (GH-27418)
Miss Islington (bot) [Wed, 28 Jul 2021 14:33:38 +0000 (07:33 -0700)] 
Fix typo in sqlite3.rst (GH-27415) (GH-27418)

preceeding -> preceding
(cherry picked from commit fbe87023bf33e941373a5fca023652a825db7baf)

Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
4 years agoSpell out 's.pop() or s.pop(i)' (GH-27398) (GH-27413)
Miss Islington (bot) [Wed, 28 Jul 2021 13:57:03 +0000 (06:57 -0700)] 
Spell out 's.pop() or s.pop(i)' (GH-27398) (GH-27413)

(cherry picked from commit 2ff5bb4908975976031ba738866de619cafadc4d)

Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>
4 years agobpo-44756: in ./Doc, `make build` depends on `make html` (GH-27403) (GH-27411)
Miss Islington (bot) [Wed, 28 Jul 2021 13:40:18 +0000 (06:40 -0700)] 
bpo-44756: in ./Doc, `make build` depends on `make html` (GH-27403) (GH-27411)

- venv rule is now conditional, and only does anything if $VENVDIR does not exist
- add rule "clean-venv"
(cherry picked from commit d22c876d5ac5fa464337d2e82654b8d87a83cb1b)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
4 years agobpo-44657: Fix instancemethod_call to use PyInstanceMethod_GET_FUNCTION (GH-27202)
Miss Islington (bot) [Wed, 28 Jul 2021 13:33:03 +0000 (06:33 -0700)] 
bpo-44657: Fix instancemethod_call to use PyInstanceMethod_GET_FUNCTION (GH-27202)

(cherry picked from commit ddf8ae31a0f371eff2db14c7f7a45976b86d56ea)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
4 years ago[3.9] bpo-42853: Fix http.client fails to download >2GiB data over TLS (GH-27405)
Inada Naoki [Wed, 28 Jul 2021 13:27:49 +0000 (22:27 +0900)] 
[3.9] bpo-42853: Fix http.client fails to download >2GiB data over TLS (GH-27405)

Revert "bpo-36050: optimize HTTPResponse.read() (GH-12698)"

This reverts commit d6bf6f2d0c83f0c64ce86e7b9340278627798090.

4 years agoAdd windows build.bat counterpart for 'make regen-all' in error message (GH-26770)
Miss Islington (bot) [Tue, 27 Jul 2021 03:32:45 +0000 (20:32 -0700)] 
Add windows build.bat counterpart for 'make regen-all' in error message (GH-26770)

(cherry picked from commit d61b69f02d441ae517109a4428f2a18416c9ff0f)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
4 years agodocs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27375)
Miss Islington (bot) [Mon, 26 Jul 2021 20:22:58 +0000 (13:22 -0700)] 
docs: replace "Mac OS X" -> "macOS" (GH-27364) (GH-27375)

"Mac OS X" has been rebranded as macOS

https://www.apple.com/macos
(cherry picked from commit 5fdd2a14ce3f81a7db47bb79421c426dec4b25bd)

Co-authored-by: partev <petrosyan@gmail.com>
4 years agoThe current documentation says it returns None if the name is not found, but (GH...
Miss Islington (bot) [Mon, 26 Jul 2021 19:35:46 +0000 (12:35 -0700)] 
The current documentation says it returns None if the name is not found, but (GH-26785) (GH-27372)

the implementation uses [] and will raise KeyError instead.

Noticed by @srittau in python/typeshed@5659.
(cherry picked from commit f22737abfa07605f4ed1a99cfa97a26520b6c5c2)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
4 years agobpo-43443: Clarify difference between shelve objects and dicts (GH-27004) (GH-27370)
Miss Islington (bot) [Mon, 26 Jul 2021 19:32:49 +0000 (12:32 -0700)] 
bpo-43443: Clarify difference between shelve objects and dicts (GH-27004) (GH-27370)

(cherry picked from commit c97c2a050cf753003012ae3f08e035326b8f6167)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years agobpo-44698: Fix undefined behaviour in complex exponentiation. (GH-27278) (GH-27367)
Miss Islington (bot) [Mon, 26 Jul 2021 19:30:11 +0000 (12:30 -0700)] 
bpo-44698: Fix undefined behaviour in complex exponentiation. (GH-27278) (GH-27367)

(cherry picked from commit 1d582bbc969e05896addf97844ddf17ce9830e5e)

Co-authored-by: T. Wouters <thomas@python.org>
4 years agobpo-44734: Fix precision in turtle tests (GH-27343) (GH-27362)
Miss Islington (bot) [Mon, 26 Jul 2021 15:56:13 +0000 (08:56 -0700)] 
bpo-44734: Fix precision in turtle tests (GH-27343) (GH-27362)

(cherry picked from commit 3f135c073a53793ec68902f6b513934ddff47235)

Co-authored-by: Logan Jones <loganasherjones@gmail.com>
4 years agobpo-44693: Update __future__ entry in Doc/glossary.rst (GH-27349) (GH-27358)
Miss Islington (bot) [Mon, 26 Jul 2021 01:40:36 +0000 (18:40 -0700)] 
bpo-44693: Update __future__ entry in Doc/glossary.rst (GH-27349) (GH-27358)

Replace sentence with confusing "pseudo-module" with two sentences
separating future statements and the __future__ module.

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 0363a4014d90df17a29042de008ef0b659f92505)

Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
Co-authored-by: Steven Hsu <hsuhaochun@gmail.com>
4 years ago[3.9] bpo-44399: Update logging cookbook to document patterns to be avoided. (GH...
Miss Islington (bot) [Sun, 25 Jul 2021 19:32:15 +0000 (12:32 -0700)] 
[3.9] bpo-44399: Update logging cookbook to document patterns to be avoided. (GH-27348) (GH-27350)

(cherry picked from commit 9751f85914e0ef3324671a91da34a635d48b17fb)

4 years ago[3.9] bpo-43184: Add information about added attribute and method. (GH-27347) (GH...
Miss Islington (bot) [Sun, 25 Jul 2021 19:30:11 +0000 (12:30 -0700)] 
[3.9] bpo-43184: Add information about added attribute and method. (GH-27347) (GH-27353)

(cherry picked from commit 50b72768ffe6413424dc4eba916dd1ff89a2fe7b)

4 years agobpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) (#27327)
Miss Islington (bot) [Sat, 24 Jul 2021 10:30:25 +0000 (03:30 -0700)] 
bpo-44713: [doc fix]: typo in subprocess.rst (GH-27297) (#27327)

This fixes a small typo. The code fragment should not be quoted. Thank you
@merwok for the feedback.
(cherry picked from commit 7d25254cf0763b62f4c4a3019e56385cab597b9f)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
4 years agobpo-44720: Don't crash when calling weakref.proxy(not_an_iterator).__next__ (GH-27316...
Miss Islington (bot) [Sat, 24 Jul 2021 09:45:40 +0000 (02:45 -0700)] 
bpo-44720: Don't crash when calling weakref.proxy(not_an_iterator).__next__ (GH-27316) (#27325)

(cherry picked from commit 5370f0a82aaa4ba617070d5c71d2b18236096ac0)

Co-authored-by: Dennis Sweeney <36520290+sweeneyde@users.noreply.github.com>