Commit graph

108721 commits

Author SHA1 Message Date
Miss Islington (bot)
8c93a63c03
Add .DS_Store on ignore (GH-27711) (GH-27724)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 1841c70f2b)

Co-authored-by: 180909 <wjh180909@gmail.com>
2021-08-11 13:09:43 +02:00
Miss Islington (bot)
15f0a45b28
bpo-33930: Fix segfault with deep recursion when cleaning method objects (GH-27678) (GH-27720)
(cherry picked from commit bfc2d5a5c4)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-08-11 10:32:24 +02:00
Miss Islington (bot)
d27e2f4d11
bpo-44854: Add .editorconfig file to help enforce make patchcheck (GH-27638) (GH-27714)
(cherry picked from commit c0ab59f7de)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-10 19:22:15 +02:00
Miss Islington (bot)
897c87045c
bpo-14853: add back the stdin test, skip if stdin is redirected (GH-27694) (GH-27698)
(cherry picked from commit 8ed1833912)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-08-10 15:09:42 +02:00
Miss Islington (bot)
6f4cdeddb9
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 d5c217475c)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
2021-08-10 13:08:41 +02:00
Miss Islington (bot)
c7dfbd2f41
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 6b37d0d530)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2021-08-10 11:58:05 +02:00
Miss Islington (bot)
0e63776c4f
make lib2to3 parse async generators everywhere (GH-6588) (GH-27703)
(cherry picked from commit 149addd496)

Co-authored-by: Zsolt Dollenstein <zsol.zsol@gmail.com>
2021-08-10 11:56:50 +02:00
Irit Katriel
ede1dc416d
bpo-44872: use new trashcan macros in framobject.c (GH-27683) (GH-27691) 2021-08-10 09:55:39 +02:00
Miss Islington (bot)
fcbe8c63d7
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 c5c5326d47)

Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
2021-08-10 09:51:33 +02:00
Miss Islington (bot)
395f4c7fbf
bpo-41402: Fix email ContentManager calling .encode() on bytes (GH-21631) (GH-27687)
(cherry picked from commit b33186bc43)

Co-authored-by: Johannes Reiff <mail@jreiff.de>
2021-08-10 00:34:58 +02:00
Miss Islington (bot)
40b353bc07
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 d097876111)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2021-08-09 19:31:10 +02:00
Tzu-ping Chung
26539cea8a
[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 738ac00a08)

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
2021-08-09 16:46:15 +02:00
Miss Islington (bot)
037ef8d6d9
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 b05e9b63fc)

Co-authored-by: meowmeowmeowcat <meowmeowcat1211@gmail.com>
2021-08-09 16:39:31 +02:00
Miss Islington (bot)
ede221e517
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 eb2d4a66ff)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2021-08-09 12:30:00 +02:00
Miss Islington (bot)
6a6bcf1637
bpo-44830 - Remove the broken Broken Mozilla devguide link. (GH-27664) (GH-27665)
(cherry picked from commit ebecffdb6d)

Co-authored-by: Senthil Kumaran <senthil@python.org>

Co-authored-by: Senthil Kumaran <senthil@python.org>
2021-08-07 20:44:08 -07:00
Miss Islington (bot)
ed718e9b07
bpo-44856: Possible reference leak in error paths of update_bases() and __build_class__ (GH-27647) (GH-27651)
(cherry picked from commit a40675c659)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-08-07 13:17:41 +02:00
Erlend Egeberg Aasland
c352412123
[3.9] bpo-44822: Don't truncate strs with embedded NULL chars returned by sqlite3 UDF callbacks (GH-27588). (GH-27639)
(cherry picked from commit 8f010dc920)
2021-08-07 00:02:06 +03:00
Miss Islington (bot)
62bce24e32
bpo-27752: improve documentation of csv.Dialect (GH-26795) (GH-27644)
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 22:33:21 +02:00
Miss Islington (bot)
fde84170d0
bpo-44605: Teach @total_ordering() to work with metaclasses (GH-27633) (GH-27641) 2021-08-06 14:57:52 -05:00
Miss Islington (bot)
91f6d38669
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 55fa87b1ef)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2021-08-06 20:42:27 +02:00
Erlend Egeberg Aasland
8c07fef867
[3.9] bpo-43853: Handle sqlite3_value_text() errors (GH-25422). (GH-27627)
(cherry picked from commit 006fd869e4)
2021-08-06 20:57:39 +03:00
Miss Islington (bot)
8c17db6cd4
bpo-44679: [doc] fix typo in unittest.mock.rst (GH-27618) (GH-27619)
(cherry picked from commit 938e84b4fa)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-08-06 17:38:21 +02:00
Miss Islington (bot)
791c28a56f
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:42:51 -07:00
Łukasz Langa
693a661478
[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 15d3c14df3)

Co-authored-by: Jack DeVries <58614260+jdevries3133@users.noreply.github.com>
2021-08-06 15:35:11 +02:00
Miss Islington (bot)
7dad033751
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 a8dc4893d2)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-08-04 22:09:45 +02:00
Miss Islington (bot)
1a2c0ecfa2
[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 7c5dab4340)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-08-04 22:00:52 +02:00
Miss Islington (bot)
60ec3b818e
Fix typo in 'xml.dom.minidom' documentation (GH-27602) (GH-27604)
(cherry picked from commit cc77193127)

Co-authored-by: Cristián Maureira-Fredes <cmaureir@users.noreply.github.com>
2021-08-04 21:53:29 +02:00
Miss Islington (bot)
ed0d91bafa
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 977d99d1cc)

Co-authored-by: Rohit Nishad <47008599+rohitnishad613@users.noreply.github.com>
2021-08-04 21:23:48 +02:00
Miss Islington (bot)
467c873e49
Note that tp_clear and m_clear are not always called (GH-27581) (GH-27597)
(cherry picked from commit 10faada709)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2021-08-04 20:24:03 +02:00
Miss Islington (bot)
bf9425be5d
Fix hyperlink conflict in turtle docs (GH-27592) (GH-27595)
(cherry picked from commit 3d2b4c6f18)

Co-authored-by: Harry <harry.lees@gmail.com>
2021-08-04 20:15:19 +02:00
Miss Islington (bot)
f26fec4f74
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:48:08 -07:00
Miss Islington (bot)
b5f0261127
bpo-41737: expand doc for NotADirectoryError (GH-27471) (GH-27577)
(cherry picked from commit f7c23a99cd)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-08-03 14:03:40 +02:00
Miss Islington (bot)
0b551db04a
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 83ca46b778)

Co-authored-by: Noah <33094578+coolreader18@users.noreply.github.com>
2021-08-03 12:10:54 +02:00
Miss Islington (bot)
c50a672eeb
bpo-44782: Improve OrderedDict recipe for LRU cache variants (GH-27536) (GH-27567) 2021-08-02 13:37:42 -05:00
Miss Islington (bot)
e0d599fa48
bpo-35183: Add typical examples to os.path.splitext docs (GH-27286) (GH-27564)
(cherry picked from commit aa0894b379)

Co-authored-by: Jake Stockwin <jake.stockwin@optimorlabs.com>
2021-08-02 20:08:10 +02:00
Miss Islington (bot)
77a96da556
Document PyMember_GetOne and PyMember_SetOne (GH-27555) (GH-27561)
(cherry picked from commit d382bde220)

Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
2021-08-02 18:53:55 +02:00
Miss Islington (bot)
0f6a7739df
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 043cd60abe)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-08-02 18:52:16 +02:00
Miss Islington (bot)
4817c14395
bpo-44785: Silence deprecation warnings in test_pickle (GH-27538) (#27557)
(cherry picked from commit 36d952d228)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2021-08-02 18:39:25 +02:00
Miss Islington (bot)
2ee09597f2
doc: "Mac OS " -> "macOS" (GH-27534) (GH-27549)
(cherry picked from commit 1342248f3a)

Co-authored-by: partev <petrosyan@gmail.com>
2021-08-02 15:13:52 +02:00
Miss Islington (bot)
4f2405a749
doc: "Mac OS X" -> "macOS" (GH-27535) (GH-27547)
(cherry picked from commit 414dcb13aa)

Co-authored-by: partev <petrosyan@gmail.com>
2021-08-02 15:13:34 +02:00
Miss Islington (bot)
2d11797c81
bpo-44667: Treat correctly lines ending with comments and no newlines in the Python tokenizer (GH-27499) (GH-27501)
(cherry picked from commit b6bde9fc42)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-08-02 11:44:01 +02:00
Miss Islington (bot)
2efa78180d
Trivial typo in docstring (#27505)
(cherry picked from commit 4b4227b907)

Co-authored-by: Jesús Cea <jcea@jcea.es>

Co-authored-by: Jesús Cea <jcea@jcea.es>
2021-07-31 07:04:38 +02:00
Miss Islington (bot)
0f42b726c8
bpo-42892: fix email multipart attribute error (GH-26903) (GH-27493)
(cherry picked from commit e3f877c32d)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-30 19:30:58 +02:00
Miss Islington (bot)
b57011d2a5
bpo-41911: Update docs for various expressions (GH-27470) (GH-27491)
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 4bd9caafb6)

Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
2021-07-30 19:25:58 +02:00
Miss Islington (bot)
73240d425b
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 80f0707629)
2021-07-30 19:12:29 +02:00
Miss Islington (bot)
882e4761c6
bpo-44753: Don't use logfile extension when determining old files to be deleted (GH-27475) (GH-27486)
(cherry picked from commit 6ff8903809)
2021-07-30 17:20:24 +01:00
Pablo Galindo Salgado
3a806b1f05
[3.9] Fail the CI if an optional module fails to compile (GH-27466). (GH-27482)
(cherry picked from commit 7cad0bee80)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-07-30 15:51:13 +01:00
Łukasz Langa
168879e366
[3.9] Update URLs in comments and metadata to use HTTPS (GH-27458) (GH-27480)
(cherry picked from commit be42c06bb0)

Co-authored-by: Noah Kantrowitz <noah@coderanger.net>
2021-07-30 16:34:04 +02:00
Miss Islington (bot)
a603aa472a
Add missing gdbm dependencies to the UNIX CI (GH-27467) (GH-27468)
(cherry picked from commit 851cca8c22)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2021-07-30 14:07:30 +02:00
Erlend Egeberg Aasland
0bc17658f5
[3.9] bpo-31746: Prevent segfaults when sqlite3.Connection is uninitialised (GH-27431) (GH-27465)
(cherry picked from commit 7e311e496b)

Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-07-29 22:12:55 +01:00