Miss Islington (bot)
8516ca500e
bpo-44911: Fixed IsolatedAsyncioTestCase from throwing an exception on leaked tasks (GH-27765)
...
(cherry picked from commit 2cb1a6806c
)
Co-authored-by: Bar Harel <bar.harel@biocatch.com>
2021-08-16 02:54:58 -07:00
Miss Islington (bot)
1960409a6d
bpo-44895: skip test_no_hang_on_context_chain_cycle2 until the refleak is fixed (GH-27761)
...
(cherry picked from commit 62bc716fde
)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-08-16 02:01:14 -07:00
Senthil Kumaran
b6a6d99a0b
[3.10] bpo-44830 - Remove the broken Broken Mozilla devguide link. (GH-27664) (GH-27666)
...
(cherry picked from commit ebecffdb6d
)
Co-authored-by: Senthil Kumaran <senthil@python.org>
2021-08-16 10:48:08 +02:00
Miss Islington (bot)
25122b2cf9
bpo-44907: Update error messages in tutorial examples (GH-27755)
...
(cherry picked from commit ed524b4569
)
Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
2021-08-13 20:25:11 -04:00
Miss Islington (bot)
16f73c8b5d
bpo-36700: [doc] Update base64 RFC references to RFC 4648 (GH-27700)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit e43b9bbc31
)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-08-13 04:21:53 -07:00
Miss Islington (bot)
d4128485d6
bpo-26228: [doc] Adapt PTY documentation updates from GH-4167 (GH-27754)
...
Co-authored-by: Cornelius Diekmann <c.diekmann@googlemail.com>
(cherry picked from commit dd8eb303b9
)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-13 04:21:06 -07:00
Miss Islington (bot)
6d134864d6
Added test case based on recommended test cases from RFC 4648 (GH-27747)
...
(cherry picked from commit 230403a6a1
)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-08-13 04:15:27 -07:00
Miss Islington (bot)
45a97d91a4
bpo-44891: Tests id
preserving on * 1
for str
and bytes
(GH-27745)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit a2ce538e16
)
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2021-08-13 04:04:08 -07:00
Miss Islington (bot)
ebc5926234
bpo-44895: Temporarily add an extra gc.collect() call (GH-27746)
...
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 7bf28cbb4b
)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-08-13 03:21:26 -07:00
Benjamin Peterson
ef36dfe4de
[3.10] bpo-33930: Fix typo in the test name. (GH-27736)
...
[bpo-33930](): Fix typo in the test name. (GH-27733)
(cherry picked from commit f08e6d1bb3
)
Automerge-Triggered-By: GH:benjaminp
2021-08-13 02:45:13 -07:00
Pablo Galindo Salgado
c28c2e1cb0
[3.10] bpo-44885: Correct the ast locations of f-strings with format specs and repeated expressions (GH-27729) (GH-27743)
...
(cherry picked from commit 8e832fb2a2
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-08-12 17:41:21 +01:00
Miss Islington (bot)
5d444434ad
bpo-26228: Fix pty EOF handling (GH-12049) (GH-27732)
...
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 81ab8db235
)
Co-authored-by: Zephyr Shannon <geoffpshannon@gmail.com>
2021-08-12 14:36:04 +02:00
Miss Islington (bot)
2666d702e4
bpo-33479: Add architecture and threading model sections to Tkinter module docs (GH-27717)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 08caf2d5d4
)
Co-authored-by: Mark Roseman <mark@markroseman.com>
2021-08-11 10:16:10 -07:00
Miss Islington (bot)
e8a43efcee
Add .DS_Store on ignore (GH-27711) (GH-27723)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 1841c70f2b
)
Co-authored-by: 180909 <wjh180909@gmail.com>
2021-08-11 15:06:43 +02:00
Miss Islington (bot)
d6d2d54997
bpo-33930: Fix segfault with deep recursion when cleaning method objects (GH-27678) (GH-27719)
...
(cherry picked from commit bfc2d5a5c4
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-08-11 10:32:44 +02:00
Miss Islington (bot)
a6808c6378
bpo-44854: Add .editorconfig file to help enforce make patchcheck
(GH-27638)
...
(cherry picked from commit c0ab59f7de
)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-10 10:06:18 -07:00
Miss Islington (bot)
4e0147ec50
bpo-14853: add back the stdin test, skip if stdin is redirected (GH-27694)
...
(cherry picked from commit 8ed1833912
)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-08-10 07:31:00 -07:00
Miss Islington (bot)
d86bbe3cff
bpo-25782: avoid hang in PyErr_SetObject when current exception has a cycle in its context chain (GH-27626)
...
Co-authored-by: Dennis Sweeney 36520290+sweeneyde@users.noreply.github.com
(cherry picked from commit d5c217475c
)
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-08-10 06:47:23 -07:00
Miss Islington (bot)
52d481f15c
make lib2to3 parse async generators everywhere (GH-6588)
...
(cherry picked from commit 149addd496
)
Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>
2021-08-10 06:47:11 -07:00
Miss Islington (bot)
2e1fef541c
bpo-33479: Remove unqualified tkinter threadsafe claim. (GH-6990)
...
It has not been true for several years and likely never was.
(cherry picked from commit 6b37d0d530
)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-08-10 02:55:08 -07:00
Irit Katriel
e9ec71ad2c
bpo-44872: use new trashcan macros in framobject.c (GH-27683) (GH-27690)
2021-08-10 09:56:14 +02:00
Miss Islington (bot)
d657da8155
bpo-39498 Start linking the security warnings in the stdlib modules (GH-18272)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit c5c5326d47
)
Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
2021-08-10 00:51:06 -07:00
Miss Islington (bot)
a3185da26f
bpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631)
...
(cherry picked from commit b33186bc43
)
Co-authored-by: Johannes Reiff <mail@jreiff.de>
2021-08-09 16:44:17 -07:00
Miss Islington (bot)
8ece98a7e4
bpo-38840: Incorrect __all__ in multiprocessing.managers (GH-18034)
...
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 d097876111
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2021-08-09 10:39:05 -07:00
Miss Islington (bot)
c79aa427c0
bpo-44522: Fix inaccurate information in open() function (GH-27650)
...
- Use "Low surrogate code units" instead of "Unicode Private Use Area"
(cherry picked from commit b05e9b63fc
)
Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
2021-08-09 07:35:11 -07:00
Mark Shannon
0f02993b2c
Remove unused variable. (GH-27677) ( #27680 )
2021-08-09 15:25:40 +01:00
Miss Islington (bot)
d5c8ad2471
bpo-32695: Docs and tests for compresslevel and preset kwargs in tarfile (GH-21470)
...
Co-Authored-By: Bo Bayles <bbayles@gmail.com>
(cherry picked from commit eb2d4a66ff
)
Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2021-08-09 03:30:30 -07:00
Mark Shannon
762ef85f44
bpo-44840: Compiler: Move duplication of exit blocks with no line numbers to after CFG optimization. (GH-27656) ( #27673 )
...
(cherry picked from commit b854557b49
)
2021-08-09 10:54:48 +01:00
Miss Islington (bot)
7d6a0fe5b8
Upgrade bundled pip and setuptools (GH-27625)
...
pip is now 21.2.3
setuptools is now 57.4.0
(cherry picked from commit 738ac00a08
)
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-08-07 09:38:40 -07:00
Miss Islington (bot)
ac8f72cd3f
bpo-44856: Possible reference leak in error paths of update_bases() and __build_class__ (GH-27647)
...
(cherry picked from commit a40675c659
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-08-07 07:03:17 -07:00
Miss Islington (bot)
699ee016af
bpo-41576: document BaseException in favor of bare except (GH-21917)
...
(cherry picked from commit e9a6f1b78b
)
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
2021-08-06 14:14:40 -07:00
Miss Islington (bot)
2fd1f21db4
bpo-27752: improve documentation of csv.Dialect (GH-26795)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 0ffdced3b6
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-08-06 13:31:49 -07:00
Miss Islington (bot)
66dd1a0e64
bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) (GH-27640)
2021-08-06 15:11:44 -05:00
Miss Islington (bot)
1e9c9ca570
bpo-44756: [docs] revert automated virtual environment creation on make html
(GH-27635)
...
It turned out to be disruptive for downstream distributors.
(cherry picked from commit 55fa87b1ef
)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-06 12:15:54 -07:00
Miss Islington (bot)
2b1e713f87
bpo-44822: Don't truncate str
s with embedded NULL chars returned by sqlite3
UDF callbacks (GH-27588)
...
(cherry picked from commit 8f010dc920
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-08-06 10:59:51 -07:00
Miss Islington (bot)
a5d9963276
bpo-40928: notify users running test_decimal on macOS of malloc warnings (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 15d3c14df3
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-08-06 10:09:06 -07:00
Miss Islington (bot)
36a2497093
bpo-44524: Fix an issue wherein _GenericAlias._name
was not properly set 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 8bdf12e99a
)
Co-authored-by: Bas van Beek <43369155+BvB93@users.noreply.github.com>
2021-08-06 10:08:27 -07:00
Miss Islington (bot)
2ae2235c7a
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 c24896c0e3
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2021-08-06 06:40:44 -07:00
Miss Islington (bot)
a11158ecef
bpo-44584: Deprecate PYTHONTHREADDEBUG env var (GH-27065)
...
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 4d77691172
)
Co-authored-by: Victor Stinner <vstinner@python.org>
2021-08-06 04:32:37 -07:00
Miss Islington (bot)
0a642d5773
bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618)
...
(cherry picked from commit 938e84b4fa
)
Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-08-05 14:10:14 -07:00
Pablo Galindo Salgado
b1bd16c252
[3.10] bpo-44838: Refine the custom syntax errors for invalid 'if' expressions (GH-27615). (GH-27616)
...
…
(cherry picked from commit f5cbea6b1b
)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Automerge-Triggered-By: GH:lysnikolaou
2021-08-05 11:00:19 -07:00
Miss Islington (bot)
536e35ae6a
bpo-44801: Check arguments in substitution of ParamSpec in Callable (GH-27585)
...
(cherry picked from commit 3875a69547
)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-08-04 13:36:01 -07:00
Miss Islington (bot)
c2593b4d06
bpo-42958: Improve description of shallow= in filecmp.cmp docs (GH-27166)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Alexander Vandenbulcke <alexander.vandenbulcke95@gmail.com>
(cherry picked from commit a8dc4893d2
)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-08-04 13:03:33 -07:00
Miss Islington (bot)
98f6a72ff6
[doc] bpo-43066: zipfile - add note on leading slash in the filename arg (GH-26899)
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 7c5dab4340
)
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-08-04 12:59:04 -07:00
Miss Islington (bot)
cdcae41377
Fix typo in 'xml.dom.minidom' documentation (GH-27602)
...
(cherry picked from commit cc77193127
)
Co-authored-by: Cristián Maureira-Fredes <cmaureir@users.noreply.github.com>
2021-08-04 12:50:18 -07:00
Miss Islington (bot)
770be3a9e1
Fix 404 link to the pyporting mailing list (GH-27320)
...
Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 977d99d1cc
)
Co-authored-by: Rohit Nishad <47008599+rohitnishad613@users.noreply.github.com>
2021-08-04 12:15:40 -07:00
Miss Islington (bot)
f4b3217874
Note that tp_clear and m_clear are not always called (GH-27581)
...
(cherry picked from commit 10faada709
)
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2021-08-04 11:23:41 -07:00
Miss Islington (bot)
40a863185e
Fix hyperlink conflict in turtle docs (GH-27592)
...
(cherry picked from commit 3d2b4c6f18
)
Co-authored-by: Harry <harry.lees@gmail.com>
2021-08-04 11:14:12 -07:00
Miss Islington (bot)
952aa31c89
bpo-41886: Fix documented type of PyType_Type (GH-22454)
...
(cherry picked from commit ac811f9b5a
)
Co-authored-by: da-woods <dw-git@d-woods.co.uk>
2021-08-03 10:50:24 -07:00
Steve Dower
4b46db68d0
Ensure LICENSE.txt file is generated even in PGO builds (GH-27580) (GH-27582)
2021-08-03 17:38:04 +01:00