]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
3 years ago[3.8] gh-101997: Update bundled pip version to 23.0.1 (GH-101998). (#102244)
Pradyun Gedam [Tue, 28 Mar 2023 08:55:50 +0000 (09:55 +0100)] 
[3.8] gh-101997: Update bundled pip version to 23.0.1 (GH-101998). (#102244)

(cherry picked from commit 89d9ff0f48c51a85920c7372a7df4a2204e32ea5)

3 years ago[3.8] gh-102627: Replace address pointing toward malicious web page (GH-102630) ...
Miss Islington (bot) [Mon, 13 Mar 2023 23:29:24 +0000 (16:29 -0700)] 
[3.8] gh-102627: Replace address pointing toward malicious web page (GH-102630) (GH-102667)

(cherry picked from commit 61479d46848bc7a7f9b571b0b09c4a4b4436d839)

Co-authored-by: Blind4Basics <32236948+Blind4Basics@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
3 years ago[3.8] gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727) (GH-101752)
Steve Dower [Tue, 7 Mar 2023 23:03:06 +0000 (23:03 +0000)] 
[3.8] gh-101726: Update the OpenSSL version to 1.1.1t (GH-101727) (GH-101752)

Fixes CVE-2023-0286 (High) and a couple of Medium security issues.
https://www.openssl.org/news/secadv/20230207.txt

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Co-authored-by: Ned Deily <nad@python.org>
3 years ago[3.8] GH-102306 Avoid GHA CI macOS test_posix failure by using the appropriate macOS...
Ned Deily [Sat, 4 Mar 2023 21:07:35 +0000 (16:07 -0500)] 
[3.8] GH-102306 Avoid GHA CI macOS test_posix failure by using the appropriate macOS SDK (GH-102307)

[3.8] Avoid GHA CI macOS test_posix failure by using the appropriate macOS SDK.

3 years ago[3.8] gh-101981: Fix Ubuntu SSL tests with OpenSSL (3.1.0-beta1) CI i… (#102095)
Dong-hee Na [Tue, 21 Feb 2023 16:33:12 +0000 (01:33 +0900)] 
[3.8] gh-101981: Fix Ubuntu SSL tests with OpenSSL (3.1.0-beta1) CI i… (#102095)

[3.8] gh-101981: Fix Ubuntu SSL tests with OpenSSL (3.1.0-beta1) CI issue (gh-102079)

3 years ago[3.8] gh-101283: Improved fallback logic for subprocess with shell=True on Windows...
Miss Islington (bot) [Thu, 9 Feb 2023 10:00:51 +0000 (02:00 -0800)] 
[3.8] gh-101283: Improved fallback logic for subprocess with shell=True on Windows (GH-101286) (#101710)

Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
3 years ago[3.8] gh-95778: add doc missing in some places (GH-100627) (#101630)
Éric [Wed, 8 Feb 2023 10:06:21 +0000 (05:06 -0500)] 
[3.8] gh-95778: add doc missing in some places (GH-100627) (#101630)

(cherry picked from commit 46521826cb1883e29e4640f94089dd92c57efc5b)

3 years agogh-101422: (docs) TarFile default errorlevel argument is 1, not 0 (GH-101424)
Miss Islington (bot) [Mon, 30 Jan 2023 18:11:54 +0000 (10:11 -0800)] 
gh-101422: (docs) TarFile default errorlevel argument is 1, not 0 (GH-101424)

(cherry picked from commit ea232716d3de1675478db3a302629ba43194c967)

Co-authored-by: Owain Davies <116417456+OTheDev@users.noreply.github.com>
3 years ago[3.8] gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100903) (#101258)
Steve Dower [Mon, 23 Jan 2023 17:53:56 +0000 (17:53 +0000)] 
[3.8] gh-100180: Update Windows installer to OpenSSL 1.1.1s (GH-100903) (#101258)

3 years ago[3.8] Bump Azure Pipelines to ubuntu-22.04 (GH-101089) (#101215)
Miss Islington (bot) [Sat, 21 Jan 2023 19:40:58 +0000 (11:40 -0800)] 
[3.8] Bump Azure Pipelines to ubuntu-22.04 (GH-101089) (#101215)

(cherry picked from commit c22a55c8b4f142ff679880ec954691d5920b7845)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
3 years ago[3.8] Correct CVE-2020-10735 documentation (GH-100306) (#100698)
Gregory P. Smith [Fri, 20 Jan 2023 22:20:09 +0000 (14:20 -0800)] 
[3.8] Correct CVE-2020-10735 documentation (GH-100306) (#100698)

(cherry picked from commit 1cf3d78c92eb07dc09d15cc2e773b0b1b9436825)
(cherry picked from commit 88fe8d701af3316c8869ea18ea1c7acec6f68c04)

Co-authored-by: Jeremy Paige <ucodery@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
3 years ago[3.8] Update copyright year in README (GH-100863) (GH-100867)
Miss Islington (bot) [Mon, 9 Jan 2023 03:13:24 +0000 (19:13 -0800)] 
[3.8] Update copyright year in README (GH-100863) (GH-100867)

(cherry picked from commit 30a6cc418a60fccb91ba574b552203425e594c47)

Co-authored-by: Ned Deily <nad@python.org>
Co-authored-by: HARSHA VARDHAN <75431678+Thunder-007@users.noreply.github.com>
3 years ago[3.8] Update copyright years to 2023. (gh-100852)
Benjamin Peterson [Sun, 8 Jan 2023 23:00:31 +0000 (17:00 -0600)] 
[3.8] Update copyright years to 2023. (gh-100852)

* [3.8] Update copyright years to 2023. (gh-100848).
(cherry picked from commit 11f99323c2ae0ec428c370a335695e3d8d4afc1d)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
* Update additional copyright years to 2023.

Co-authored-by: Ned Deily <nad@python.org>
3 years agoPost 3.8.16
Łukasz Langa [Tue, 6 Dec 2022 19:33:43 +0000 (20:33 +0100)] 
Post 3.8.16

3 years agoPython 3.8.16 v3.8.16
Łukasz Langa [Tue, 6 Dec 2022 18:59:58 +0000 (19:59 +0100)] 
Python 3.8.16

3 years ago[3.8] gh-100001: Omit control characters in http.server stderr logs. (GH-100002)...
Miss Islington (bot) [Tue, 6 Dec 2022 10:20:22 +0000 (02:20 -0800)] 
[3.8] gh-100001: Omit control characters in http.server stderr logs. (GH-100002) (#100033)

* gh-100001: Omit control characters in http.server stderr logs. (GH-100002)

Replace control characters in http.server.BaseHTTPRequestHandler.log_message with an escaped \xHH sequence to avoid causing problems for the terminal the output is printed to.
(cherry picked from commit d8ab0a4dfa48f881b4ac9ab857d2e9de42f72828)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
* also escape \s (backport of PR #100038).

* add versionadded and remove extraneous 'to'

Co-authored-by: Gregory P. Smith <greg@krypto.org>
3 years ago[3.8] gh-87604: Avoid publishing list of active per-interpreter audit hooks via the...
Miss Islington (bot) [Mon, 21 Nov 2022 21:06:01 +0000 (13:06 -0800)] 
[3.8] gh-87604: Avoid publishing list of active per-interpreter audit hooks via the gc module (GH-99373) (GH-99661)

(cherry picked from commit 7b98207aa46bd637d07a7c4a84e998726b74acde)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years ago[3.8] gh-98433: Fix quadratic time idna decoding. (GH-99092) (GH-99222) (GH-99231)
Miss Islington (bot) [Thu, 10 Nov 2022 15:55:43 +0000 (07:55 -0800)] 
[3.8] gh-98433: Fix quadratic time idna decoding. (GH-99092) (GH-99222) (GH-99231)

There was an unnecessary quadratic loop in idna decoding. This restores
the behavior to linear.

(cherry picked from commit d315722564927c7202dd6e111dc79eaf14240b0d)
(cherry picked from commit a6f6c3a3d6f2b580f2d87885c9b8a9350ad7bf15)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
3 years ago[3.8] gh-98517: Fix buffer overflows in _sha3 module (GH-98519) (#98527)
Miss Islington (bot) [Fri, 28 Oct 2022 10:07:50 +0000 (03:07 -0700)] 
[3.8] gh-98517: Fix buffer overflows in _sha3 module (GH-98519) (#98527)

This is a port of the applicable part of XKCP's fix [1] for
CVE-2022-37454 and avoids the segmentation fault and the infinite
loop in the test cases published in [2].

[1]: https://github.com/XKCP/XKCP/commit/fdc6fef075f4e81d6b1bc38364248975e08e340a
[2]: https://mouha.be/sha-3-buffer-overflow/

Regression test added by: Gregory P. Smith [Google LLC] <greg@krypto.org>
(cherry picked from commit 0e4e058602d93b88256ff90bbef501ba20be9dd3)

Co-authored-by: Theo Buehler <botovq@users.noreply.github.com>
3 years ago[3.8] gh-98739: Update libexpat from 2.4.9 to 2.5.0 (GH-98742) (#98787)
Miss Islington (bot) [Fri, 28 Oct 2022 10:07:14 +0000 (03:07 -0700)] 
[3.8] gh-98739: Update libexpat from 2.4.9 to 2.5.0 (GH-98742) (#98787)

Update libexpat from 2.4.9 to 2.5.0 to address CVE-2022-43680.

Co-authored-by: Shaun Walbridge <shaun.walbridge@gmail.com>
(cherry picked from commit 3e07f827b359617664ad0880f218f17ae4483299)

3 years ago[3.8] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993...
Miss Islington (bot) [Tue, 11 Oct 2022 21:58:03 +0000 (14:58 -0700)] 
[3.8] gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993) (#98192)

gh-68966: Make mailcap refuse to match unsafe filenames/types/params (GH-91993)
(cherry picked from commit b9509ba7a9c668b984dab876c7926fe1dc5aa0ba)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
3 years ago[3.8] gh-96710: Make the test timing more lenient for the int/str DoS regression...
Miss Islington (bot) [Tue, 11 Oct 2022 21:13:43 +0000 (14:13 -0700)] 
[3.8] gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717) (#98197)

gh-96710: Make the test timing more lenient for the int/str DoS regression test. (GH-96717)

A regression would still absolutely fail and even a flaky pass isn't
harmful as it'd fail most of the time across our N system test runs.

Windows has a low resolution timer and CI systems are prone to odd
timing so this just gives more leeway to avoid flakiness.
(cherry picked from commit 11e3548fd1d3445ccde971d613633b58d73c3016)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
3 years agoPost 3.8.15
Łukasz Langa [Tue, 11 Oct 2022 18:09:14 +0000 (20:09 +0200)] 
Post 3.8.15

3 years agoPython 3.8.15 v3.8.15
Łukasz Langa [Tue, 11 Oct 2022 15:42:49 +0000 (17:42 +0200)] 
Python 3.8.15

3 years ago[3.8] gh-95778: Mention sys.set_int_max_str_digits() in error message (GH-96874)...
Miss Islington (bot) [Tue, 4 Oct 2022 18:58:10 +0000 (11:58 -0700)] 
[3.8] gh-95778: Mention sys.set_int_max_str_digits() in error message (GH-96874) (GH-96877) (GH-97835)

[3.9] gh-95778: Mention sys.set_int_max_str_digits() in error message (GH-96874) (GH-96877)

When ValueError is raised if an integer is larger than the limit,
mention sys.set_int_max_str_digits() in the error message.

(cherry picked from commit e841ffc915e82e5ea6e3b473205417d63494808d)

Co-authored-by: Ned Deily <nad@python.org>
(cherry picked from commit 41188134bd2120f0cedd681ed88743c11c7f3742)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years ago[3.8] gh-96848: Fix -X int_max_str_digits option parsing (GH-96988) (GH-97575)
Miss Islington (bot) [Tue, 4 Oct 2022 18:57:06 +0000 (11:57 -0700)] 
[3.8] gh-96848: Fix -X int_max_str_digits option parsing (GH-96988) (GH-97575)

Fix command line parsing: reject "-X int_max_str_digits" option with
no value (invalid) when the PYTHONINTMAXSTRDIGITS environment
variable is set to a valid limit.
(cherry picked from commit 41351662bcd21672d8ccfa62fe44d72027e6bcf8)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years ago[3.8] gh-96577: Fixes buffer overrun in _msi module (GH-96633) (GH-96658)
Miss Islington (bot) [Tue, 4 Oct 2022 18:07:09 +0000 (11:07 -0700)] 
[3.8] gh-96577: Fixes buffer overrun in _msi module (GH-96633) (GH-96658)

gh-96577: Fixes buffer overrun in _msi module (GH-96633)
(cherry picked from commit 4114bcc9ef7595a07196bcecf9c7d6d39f57f64d)

Co-authored-by: Steve Dower <steve.dower@python.org>
3 years ago[3.8] gh-97005: Update libexpat from 2.4.7 to 2.4.9 (gh-97006) (gh-97013)
Miss Islington (bot) [Tue, 4 Oct 2022 18:06:26 +0000 (11:06 -0700)] 
[3.8] gh-97005: Update libexpat from 2.4.7 to 2.4.9 (gh-97006) (gh-97013)

gh-97005: Update libexpat from 2.4.7 to 2.4.9 (gh-97006)

Co-authored-by: Gregory P. Smith [Google] <greg@krypto.org>
(cherry picked from commit 10e3d398c31cc1695752fc52bc6ca2ce9ef6237e)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
3 years ago[3.8] gh-97616: list_resize() checks for integer overflow (GH-97617) (GH-97628)
Miss Islington (bot) [Tue, 4 Oct 2022 17:08:24 +0000 (10:08 -0700)] 
[3.8] gh-97616: list_resize() checks for integer overflow (GH-97617) (GH-97628)

gh-97616: list_resize() checks for integer overflow (GH-97617)

Fix multiplying a list by an integer (list *= int): detect the
integer overflow when the new allocated length is close to the
maximum size.  Issue reported by Jordan Limor.

list_resize() now checks for integer overflow before multiplying the
new allocated length by the list item size (sizeof(PyObject*)).
(cherry picked from commit a5f092f3c469b674b8d9ccbd4e4377230c9ac7cf)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years ago[3.8] gh-97612: Fix shell injection in get-remote-certificate.py (GH-97613) (GH-97633)
Miss Islington (bot) [Tue, 4 Oct 2022 17:07:55 +0000 (10:07 -0700)] 
[3.8] gh-97612: Fix shell injection in get-remote-certificate.py (GH-97613) (GH-97633)

Fix a shell code injection vulnerability in the
get-remote-certificate.py example script. The script no longer uses a
shell to run "openssl" commands. Issue reported and initial fix by
Caleb Shortt.

Remove the Windows code path to send "quit" on stdin to the "openssl
s_client" command: use DEVNULL on all platforms instead.

Co-authored-by: Caleb Shortt <caleb@rgauge.com>
(cherry picked from commit 83a0f44ffd8b398673ae56c310cf5768d359c341)

Co-authored-by: Victor Stinner <vstinner@python.org>
3 years ago[3.8] Update bugs URL references in README and Docs/bugs.rst from bpo to gh issues...
Ned Deily [Sun, 11 Sep 2022 18:50:47 +0000 (14:50 -0400)] 
[3.8] Update bugs URL references in README and Docs/bugs.rst from bpo to gh issues (GH-96728)

Co-authored-by: roy reznik <royreznik@gmail.com>
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
3 years agoPost 3.8.14
Łukasz Langa [Tue, 6 Sep 2022 21:13:41 +0000 (23:13 +0200)] 
Post 3.8.14

3 years agoPython 3.8.14 v3.8.14
Łukasz Langa [Tue, 6 Sep 2022 18:54:44 +0000 (20:54 +0200)] 
Python 3.8.14

3 years ago[3.8] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96503)
Gregory P. Smith [Mon, 5 Sep 2022 20:26:09 +0000 (13:26 -0700)] 
[3.8] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96503)

* Correctly pre-check for int-to-str conversion

Converting a large enough `int` to a decimal string raises `ValueError` as expected. However, the raise comes _after_ the quadratic-time base-conversion algorithm has run to completion. For effective DOS prevention, we need some kind of check before entering the quadratic-time loop. Oops! =)

The quick fix: essentially we catch _most_ values that exceed the threshold up front. Those that slip through will still be on the small side (read: sufficiently fast), and will get caught by the existing check so that the limit remains exact.

The justification for the current check. The C code check is:
```c
max_str_digits / (3 * PyLong_SHIFT) <= (size_a - 11) / 10
```

In GitHub markdown math-speak, writing $M$ for `max_str_digits`, $L$ for `PyLong_SHIFT` and $s$ for `size_a`, that check is:
$$\left\lfloor\frac{M}{3L}\right\rfloor \le \left\lfloor\frac{s - 11}{10}\right\rfloor$$

From this it follows that
$$\frac{M}{3L} < \frac{s-1}{10}$$
hence that
$$\frac{L(s-1)}{M} > \frac{10}{3} > \log_2(10).$$
So
$$2^{L(s-1)} > 10^M.$$
But our input integer $a$ satisfies $|a| \ge 2^{L(s-1)}$, so $|a|$ is larger than $10^M$. This shows that we don't accidentally capture anything _below_ the intended limit in the check.

<!-- gh-issue-number: gh-95778 -->
* Issue: gh-95778
<!-- /gh-issue-number -->

Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
3 years ago[3.8] gh-90359: Update documentation to follow PEP 495. (gh-94800). (GH-94834)
Dong-hee Na [Thu, 28 Jul 2022 19:30:13 +0000 (04:30 +0900)] 
[3.8] gh-90359: Update documentation to follow PEP 495. (gh-94800). (GH-94834)

(cherry picked from commit 07374cce52abb7fd39729dc1b646ca3029b64c64)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
3 years ago[3.8] gh-94208: Add more TLS version/protocol checks for FreeBSD (GH-94347) (GH-95313)
Łukasz Langa [Wed, 27 Jul 2022 21:43:29 +0000 (23:43 +0200)] 
[3.8] gh-94208: Add more TLS version/protocol checks for FreeBSD (GH-94347) (GH-95313)

Three test cases were failing on FreeBSD with latest OpenSSL.
(cherry picked from commit 1bc86c26253befa006c0f52eebb6ed633c7d1e5c)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.8] gh-90355: Add isolated flag if currently isolated (GH-92857) (GH-94571)
Łukasz Langa [Tue, 5 Jul 2022 16:07:36 +0000 (18:07 +0200)] 
[3.8] gh-90355: Add isolated flag if currently isolated (GH-92857) (GH-94571)

Co-authored-by: Carter Dodd <carter.dodd@gmail.com>
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit c8556bcf6c0b05ac46bd74880626a2853e7c99a1)

3 years ago[3.8] gh-81054: Document that SimpleHTTPRequestHandler follows symbolic links (GH...
Łukasz Langa [Fri, 1 Jul 2022 16:42:13 +0000 (18:42 +0200)] 
[3.8] gh-81054: Document that SimpleHTTPRequestHandler follows symbolic links (GH-94416) (GH-94495)

(cherry picked from commit 80aaeabb8bd1e6b49598a7e23e0f8d99b3fcecaf)

Co-authored-by: Sam Ezeh <sam.z.ezeh@gmail.com>
3 years agogh-91172: Create a workflow for verifying bundled pip and setuptools (GH-31885) ...
Miss Islington (bot) [Wed, 22 Jun 2022 14:07:57 +0000 (07:07 -0700)] 
gh-91172: Create a workflow for verifying bundled pip and setuptools (GH-31885) (GH-94124)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
(cherry picked from commit d36954b7ead06daead3dcf9b0dd9f8002eab508f)

Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
3 years agogh-87389: Fix an open redirection vulnerability in http.server. (GH-93879) (GH-94094)
Miss Islington (bot) [Wed, 22 Jun 2022 08:42:52 +0000 (01:42 -0700)] 
gh-87389: Fix an open redirection vulnerability in http.server. (GH-93879) (GH-94094)

Fix an open redirection vulnerability in the `http.server` module when
an URI path starts with `//` that could produce a 301 Location header
with a misleading target.  Vulnerability discovered, and logic fix
proposed, by Hamza Avvan (@hamzaavvan).

Test and comments authored by Gregory P. Smith [Google].
(cherry picked from commit 4abab6b603dd38bec1168e9a37c40a48ec89508e)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
3 years agogh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-93547)
Miss Islington (bot) [Mon, 6 Jun 2022 17:10:34 +0000 (10:10 -0700)] 
gh-83728: Add hmac.new default parameter deprecation (GH-91939) (GH-93547)

(cherry picked from commit 56b5daf15970be449d44e91f08db84c698ac5506)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
3 years agobpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170) (GH-92954)
Victor Stinner [Mon, 6 Jun 2022 16:46:16 +0000 (18:46 +0200)] 
bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170) (GH-92954)

(cherry picked from commit 2985feac4e02d590bb78bcce9e30864be53280ac)

Co-authored-by: Christian Heimes <christian@python.org>
3 years ago[3.8] gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066)...
Łukasz Langa [Tue, 24 May 2022 09:26:25 +0000 (11:26 +0200)] 
[3.8] gh-93065: Fix HAMT to iterate correctly over 7-level deep trees (GH-93066) (#93148)

Also while there, clarify a few things about why we reduce the hash to 32 bits.

Co-authored-by: Eli Libman <eli@hyro.ai>
Co-authored-by: Yury Selivanov <yury@edgedb.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit c1f5c903a7e4ed27190488f4e33b00d3c3d952e5)

4 years ago[3.8] gh-80254: Disallow recursive usage of cursors in sqlite3 converters (#92333)
Erlend Egeberg Aasland [Mon, 16 May 2022 15:39:17 +0000 (17:39 +0200)] 
[3.8] gh-80254: Disallow recursive usage of cursors in sqlite3 converters (#92333)

(cherry picked from commit c908dc5b4798c311981bd7e1f7d92fb623ee448b)

Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
4 years agobpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241...
Miss Islington (bot) [Mon, 16 May 2022 15:35:01 +0000 (08:35 -0700)] 
bpo-47194: Update zlib to v1.2.12 on Windows to resolve CVE-2018-25032 (GH-32241) (GH-32250)

(cherry picked from commit 6066739ff7794e54c98c08b953a699cbc961cd28)

Co-authored-by: Zachary Ware <zach@python.org>
4 years ago[3.8] gh-92448: Update the documentation builder to render the GitHub… (GH-92605)
Dong-hee Na [Thu, 12 May 2022 15:42:22 +0000 (00:42 +0900)] 
[3.8] gh-92448: Update the documentation builder to render the GitHub… (GH-92605)

(cherry picked from commit 45e1721d100bab09510ccf9da49f14ca5cc268f4)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
4 years ago[3.8] Update Sphinx bpo role to use redirect URI. (#91892) 92710/head
Ezio Melotti [Tue, 10 May 2022 07:51:20 +0000 (09:51 +0200)] 
[3.8] Update Sphinx bpo role to use redirect URI. (#91892)

* Update Sphinx bpo role to use redirect URI. (GH-32342)

* [3.8] Update Sphinx bpo role to use redirect URI. (GH-32342).
(cherry picked from commit 08cfe079503ffd19d8b7ab324f0fdb1c6b150ca8)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
4 years agoAdd redirects to Misc/NEWS bpo links (GH-91454) (#91895)
Miss Islington (bot) [Tue, 10 May 2022 07:47:04 +0000 (00:47 -0700)] 
Add redirects to Misc/NEWS bpo links (GH-91454) (#91895)

(cherry picked from commit 17dbb6bc10ca8a8b602335414c047294f00afcbe)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
4 years ago[3.8] gh-91888: add a `:gh:` role to the documentation (GH-91889) (#91936)
Ezio Melotti [Tue, 10 May 2022 07:43:17 +0000 (09:43 +0200)] 
[3.8] gh-91888: add a `:gh:` role to the documentation (GH-91889) (#91936)

* gh-91888: Add a :gh: role to the documentation (GH-91889).

* [3.8] gh-91888: add a `:gh:` role to the documentation (GH-91889)

* Add a new :gh:`...` role for GitHub issues.

* Fix a GitHub id to use the :gh: role.

* Add Misc/NEWS entry.

* Refactoring and rephrasing.

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>.
(cherry picked from commit f7641a2ffec243e5f600028a84debe9028a9ee44)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* Fix use of the default role in NEWS entry

4 years agobpo-47138: Ensure Windows docs build uses the same pinned version as other platforms...
Steve Dower [Mon, 9 May 2022 13:47:32 +0000 (14:47 +0100)] 
bpo-47138: Ensure Windows docs build uses the same pinned version as other platforms (GH-32161) (#32183)

Co-authored-by: Ned Deily <nad@python.org>
4 years ago[3.8] bpo-47138: Fix documentation build by pinning Jinja version to 3.0.3 (GH-32109)
m-aciek [Fri, 8 Apr 2022 13:06:17 +0000 (15:06 +0200)] 
[3.8] bpo-47138: Fix documentation build by pinning Jinja version to 3.0.3 (GH-32109)

Co-authored-by: Ned Deily <nad@python.org>
4 years agoPost 3.8.13, take two
Łukasz Langa [Wed, 16 Mar 2022 13:25:55 +0000 (14:25 +0100)] 
Post 3.8.13, take two

4 years agoPython 3.8.13, take two v3.8.13
Łukasz Langa [Wed, 16 Mar 2022 12:22:54 +0000 (13:22 +0100)] 
Python 3.8.13, take two

This reverts commit e5f711f5eeb6db4290db1b747f42f5d723d12ed3.

4 years agobpo-31327: Update time documentation to reflect possible errors (GH-31460) (GH-31827)
Miss Islington (bot) [Wed, 16 Mar 2022 10:12:50 +0000 (03:12 -0700)] 
bpo-31327: Update time documentation to reflect possible errors (GH-31460) (GH-31827)

As per the comments, this mirrors the [datetime documentation](https://docs.python.org/3/library/datetime.htmlGH-datetime.datetime.fromtimestamp).

```
>>> import time
>>> time.localtime(999999999999999999999)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OverflowError: timestamp out of range for platform time_t
>>> time.localtime(-3600)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
OSError: [Errno 22] Invalid argument
```
(cherry picked from commit c83fc9c02c9846ec3a2d0123999c98e02f00b3f5)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
4 years agobpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920...
Miss Islington (bot) [Wed, 16 Mar 2022 10:11:36 +0000 (03:11 -0700)] 
bpo-46948: Fix launcher installer build failure due to first part of fix (GH-31920) (GH-31924)

(cherry picked from commit 708812085355c92f32e547d1f1d1f29aefbbc27e)

Co-authored-by: Steve Dower <steve.dower@python.org>
4 years agoPost 3.8.13
Łukasz Langa [Tue, 15 Mar 2022 22:41:31 +0000 (23:41 +0100)] 
Post 3.8.13

4 years agoPython 3.8.13
Łukasz Langa [Tue, 15 Mar 2022 21:43:42 +0000 (22:43 +0100)] 
Python 3.8.13

4 years ago[3.8] bpo-47024: Update Windows builds and macOS installer build to use OpenSSL 1...
Ned Deily [Tue, 15 Mar 2022 20:53:48 +0000 (16:53 -0400)] 
[3.8] bpo-47024: Update Windows builds and macOS installer build to use OpenSSL 1.1.1n. (GH-31912)

* bpo-47024: Update Windows builds and macOS installer build to use OpenSSL 1.1.1n.

* Revert inadvertent sqlite downgrade

4 years agobpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31851)
Ned Deily [Tue, 15 Mar 2022 14:39:50 +0000 (10:39 -0400)] 
bpo-46985: Upgrade bundled pip to 22.0.4 (GH-31819) (GH-31851)

(cherry picked from commit d87f1b787ed38dfd307d82452f2efe9dc5b93942)

Co-authored-by: Pradyun Gedam <pgedam@bloomberg.net>
4 years agobpo-45405: Prevent internal configure error when running configure with recent versio...
Ned Deily [Tue, 15 Mar 2022 14:39:20 +0000 (10:39 -0400)] 
bpo-45405: Prevent internal configure error when running configure with recent versions of clang. (GH-28845) (GH-31889)

Change the configure logic to function properly on macOS when the compiler
outputs a platform triplet for option --print-multiarch.
The Apple Clang included with Xcode 13.3 now supports --print-multiarch
causing configure to fail without this change.

Co-authored-by: Ned Deily <nad@python.org>
(cherry picked from commit 9c4766772cda67648184f8ddba546a5fc0167f91)

Co-authored-by: David Bohman <debohman@gmail.com>
Automerge-Triggered-By: GH:ned-deily
(cherry picked from commit 9901d153c201d852d27dc9d3074e283c26468f6d)

Co-authored-by: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
4 years agobpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) (GH-31419)
Miss Islington (bot) [Tue, 8 Mar 2022 09:35:47 +0000 (01:35 -0800)] 
bpo-46784: Add newly exported expat symbols to the namespace. (GH-31397) (GH-31419)

The libexpat 2.4.1 upgrade from  introduced the following new exported symbols:

* `testingAccountingGetCountBytesDirect`
* `testingAccountingGetCountBytesIndirect`
* `unsignedCharToPrintable`
* `XML_SetBillionLaughsAttackProtectionActivationThreshold`
* `XML_SetBillionLaughsAttackProtectionMaximumAmplification`

We need to adjust [Modules/expat/pyexpatns.h](https://github.com/python/cpython/blob/master/Modules/expat/pyexpatns.h)

(The newer libexpat upgrade  has no new symbols).

Automerge-Triggered-By: GH:gpshead
(cherry picked from commit 6312c1052c0186b4596fc45c42fd3ade9f8f5911)

Co-authored-by: Yilei "Dolee" Yang <yileiyang@google.com>
4 years agoUpdate copyright year to 2022. (GH-30335) (GH-31478)
Miss Islington (bot) [Tue, 8 Mar 2022 09:35:32 +0000 (01:35 -0800)] 
Update copyright year to 2022. (GH-30335) (GH-31478)

Automerge-Triggered-By: GH:benjaminp
(cherry picked from commit ba00f0d93a4aea85ae8089f139856a7c450584d7)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
4 years agobpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and...
Steve Dower [Tue, 8 Mar 2022 09:04:59 +0000 (09:04 +0000)] 
bpo-44549: Update bzip2 to 1.0.8 in Windows builds to mitigate CVE-2016-3189 and CVE-2019-12900 (GH-31732) (GH-31734)

4 years agobpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly uses the...
Steve Dower [Tue, 8 Mar 2022 09:04:24 +0000 (09:04 +0000)] 
bpo-46948: Fix CVE-2022-26488 by ensuring the Windows Installer correctly uses the install path during repair (GH-31729)

4 years agobpo-46932: Update bundled libexpat to 2.4.7 (GH-31736) (GH-31740)
Miss Islington (bot) [Tue, 8 Mar 2022 09:03:18 +0000 (01:03 -0800)] 
bpo-46932: Update bundled libexpat to 2.4.7 (GH-31736) (GH-31740)

(cherry picked from commit 176835c3d5c70f4c1b152cc2062b549144e37094)

Co-authored-by: Steve Dower <steve.dower@python.org>
4 years agobpo-46756: Fix authorization check in urllib.request (GH-31353) (GH-31572)
Miss Islington (bot) [Wed, 2 Mar 2022 13:50:32 +0000 (05:50 -0800)] 
bpo-46756: Fix authorization check in urllib.request (GH-31353) (GH-31572)

Fix a bug in urllib.request.HTTPPasswordMgr.find_user_password() and
urllib.request.HTTPPasswordMgrWithPriorAuth.is_authenticated() which
allowed to bypass authorization. For example, access to URI "example.org/foobar"
was allowed if the user was authorized for URI "example.org/foo".
(cherry picked from commit e2e72567a1c94c548868f6ee5329363e6036057a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years agobpo-46794: Bump up the libexpat version into 2.4.6 (GH-31487) (GH-31520)
Miss Islington (bot) [Wed, 2 Mar 2022 09:19:33 +0000 (01:19 -0800)] 
bpo-46794: Bump up the libexpat version into 2.4.6 (GH-31487) (GH-31520)

(cherry picked from commit 1935e1cc284942bec8006287c939e295e1a7bf13)

Co-authored-by: Dong-hee Na <donghee.na@python.org>
4 years agoDon't test with OpenSSL 3.0 on 3.8
Łukasz Langa [Tue, 22 Feb 2022 14:19:45 +0000 (15:19 +0100)] 
Don't test with OpenSSL 3.0 on 3.8

4 years agoForce use of `windows-2019` on GHA to continue using the v140 platform toolkit
Łukasz Langa [Tue, 22 Feb 2022 10:06:36 +0000 (11:06 +0100)] 
Force use of `windows-2019` on GHA to continue using the v140 platform toolkit

4 years agobpo-46811: Make test suite support Expat >=2.4.5 (GH-31453)
Sebastian Pipping [Mon, 21 Feb 2022 14:48:32 +0000 (15:48 +0100)] 
bpo-46811: Make test suite support Expat >=2.4.5 (GH-31453)

Curly brackets were never allowed in namespace URIs
according to RFC 3986, and so-called namespace-validating
XML parsers have the right to reject them a invalid URIs.

libexpat >=2.4.5 has become strcter in that regard due to
related security issues; with ET.XML instantiating a
namespace-aware parser under the hood, this test has no
future in CPython.

References:
- https://datatracker.ietf.org/doc/html/rfc3968
- https://www.w3.org/TR/xml-names/

Also, test_minidom.py: Support Expat >=2.4.5
(cherry picked from commit 2cae93832f46b245847bdc252456ddf7742ef45e)

Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
4 years agobpo-46400: Update libexpat from 2.4.1 to 2.4.4 (GH-31022) (GH-31297)
Dong-hee Na [Mon, 21 Feb 2022 15:02:38 +0000 (00:02 +0900)] 
bpo-46400: Update libexpat from 2.4.1 to 2.4.4 (GH-31022) (GH-31297)

Co-authored-by: Cyril Jouve <jv.cyril@gmail.com>
4 years agobpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969) (GH-30344)
Miss Islington (bot) [Thu, 17 Feb 2022 18:55:23 +0000 (10:55 -0800)] 
bpo-41028: Doc: Move switchers to docsbuild-scripts. (GH-20969) (GH-30344)

(cherry picked from commit ee2549c2ba8bae00f2b2fea8a39c6dfbd1d06520)

Co-authored-by: Julien Palard <julien@palard.fr>
4 years agobpo-44949: Fix test_readline auto history tests (GH-27813) (GH-31118)
Miss Islington (bot) [Thu, 17 Feb 2022 08:32:03 +0000 (00:32 -0800)] 
bpo-44949: Fix test_readline auto history tests (GH-27813) (GH-31118)

(cherry picked from commit 6fb62b42f4db56ed5efe0ca4c1059049276c1083)

Co-authored-by: Victor Stinner <vstinner@python.org>
4 years ago[3.8] bpo-46474: Avoid REDoS in EntryPoint.pattern (sync with importlib_metadata...
Jason R. Coombs [Mon, 14 Feb 2022 17:56:03 +0000 (12:56 -0500)] 
[3.8] bpo-46474: Avoid REDoS in EntryPoint.pattern (sync with importlib_metadata 4.10.1) (GH-30803). (#30829)

(cherry picked from commit 51c3e28c8a163e58dc753765e3cc51d5a717e70d)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
4 years agobpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) (GH-31173)
Miss Islington (bot) [Tue, 8 Feb 2022 09:52:39 +0000 (01:52 -0800)] 
bpo-46648: Skip test_urllib2.test_issue16464() (GH-31161) (GH-31173)

POST requests to http://www.example.com/ fail randomly.
(cherry picked from commit 1578de2fcd685c71f9c84e09bac32901dea192c1)

Co-authored-by: Victor Stinner <vstinner@python.org>
4 years agobpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691...
Miss Islington (bot) [Sat, 11 Dec 2021 00:02:00 +0000 (16:02 -0800)] 
bpo-45859: Mark test_field_descriptor in test_collections as CPython-only (GH-29691) (GH-29710)

(cherry picked from commit 4fad314246399b69ef0c57ba8527d9efade99069)

Co-authored-by: Carl Friedrich Bolz-Tereick <cfbolz@gmx.de>
4 years agobpo-45792: Fix contextvar.Token's intersphinx FQN (GH-29533) (GH-29537)
Miss Islington (bot) [Tue, 16 Nov 2021 09:56:56 +0000 (01:56 -0800)] 
bpo-45792: Fix contextvar.Token's intersphinx FQN (GH-29533) (GH-29537)

Since `.. module:: contextvars` sets the module using `.. class:: contextvars.Token`, intersphinx records it as `contextvars.contextvars.Token`.
(cherry picked from commit e501d70b347c5093018d12482c30a7a98aab86d0)

Co-authored-by: Hynek Schlawack <hs@ox.cx>
4 years agobpo-44828: Avoid leaving a zombie Save panel (GH-29372)
Ned Deily [Thu, 4 Nov 2021 20:21:25 +0000 (16:21 -0400)] 
bpo-44828: Avoid leaving a zombie Save panel (GH-29372)

Patch by Marc Culler of the Tk project.

4 years agobpo-45583: Correct datamodel documentation of int() (GH-29182) (GH-29287)
Miss Islington (bot) [Thu, 28 Oct 2021 20:02:07 +0000 (13:02 -0700)] 
bpo-45583: Correct datamodel documentation of int() (GH-29182) (GH-29287)

It should be noted that this part of the documentation is redundant with
function.rst's documentation of int. This one was correctly updated with Python 3.8.
(cherry picked from commit d9c1868c25ec6466e8d8ae21fe9315a8a03836ab)

Co-authored-by: Arthur Milchior <arthur@milchior.fr>
4 years agobpo-44828: Avoid tkinter file dialog failure on macOS 12 Monterey (GH-29276) (GH...
Miss Islington (bot) [Thu, 28 Oct 2021 19:10:15 +0000 (12:10 -0700)] 
bpo-44828: Avoid tkinter file dialog failure on macOS 12 Monterey (GH-29276) (GH-29279)

when using the Tk 8.6.11 provided by python.org macOS installers.
Patch by Marc Culler of the Tk project.
(cherry picked from commit be8318be05e1a874215fa75b8845ede74b2c69b6)

Co-authored-by: Ned Deily <nad@python.org>
4 years ago[3.9] bpo-45618: Fix documentation build by pinning Docutils version to 0.17.1 (GH...
Ned Deily [Thu, 28 Oct 2021 19:08:42 +0000 (15:08 -0400)] 
[3.9] bpo-45618: Fix documentation build by pinning Docutils version to 0.17.1 (GH-29230) (GH-29241) (GH-29245)

Co-authored-by: Maciej Olko <maciej.olko@yougov.com>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
4 years agobpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077) (GH-29093)
Miss Islington (bot) [Wed, 20 Oct 2021 14:08:43 +0000 (07:08 -0700)] 
bpo-45436: Fix tkinter tests with Tcl/Tk 8.6.11+ (GH-29077) (GH-29093)

Since v8.6.11, a few configuration options seem to accept an empty value
where they did not previously; particularly the `type` of a `Menu`
widget, and the `compound` of any ttk widget with a label.  Providing an
explicit expected error message to `checkEnumParam` bypasses the check
of an empty value, which no longer raises `TclError`.
(cherry picked from commit 4fe454c6f54b0948af67b53af6c2f35af6377e69)

Co-authored-by: Zachary Ware <zach@python.org>
4 years agobpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623) (GH-28978)
Miss Islington (bot) [Tue, 19 Oct 2021 19:15:29 +0000 (12:15 -0700)] 
bpo-44849: Fix os.set_inheritable() on FreeBSD 14 with O_PATH (GH-27623) (GH-28978)

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 agobpo-45310: Fix parrallel shared memory tests (GH-28661) (GH-28979)
Victor Stinner [Tue, 19 Oct 2021 19:15:06 +0000 (21:15 +0200)] 
bpo-45310: Fix parrallel shared memory tests (GH-28661) (GH-28979)

Add a PID to names of POSIX shared memory objects to allow
running multiprocessing tests (test_multiprocessing_fork,
test_multiprocessing_spawn, etc) in parallel.

(cherry picked from commit eb4495e8e275c83d691add116c4f2b74e73e3cc8)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
4 years agobpo-45195: Fix test_readline.test_nonascii() (GH-28329) (GH-28984)
Miss Islington (bot) [Tue, 19 Oct 2021 19:14:36 +0000 (12:14 -0700)] 
bpo-45195: Fix test_readline.test_nonascii() (GH-28329) (GH-28984)

Fix test_readline.test_nonascii(): sometimes, the newline character
is not written at the end, so don't expect it in the output.
(cherry picked from commit 797c8eb9ef511f0c25f10a453b35c4d2fe383c30)

Co-authored-by: Victor Stinner <vstinner@python.org>
4 years ago[3.8] bpo-44394: Ensure libexpat is linked against libm (GH-28617) (GH-28620)
Miss Islington (bot) [Wed, 29 Sep 2021 14:35:53 +0000 (07:35 -0700)] 
[3.8] bpo-44394: Ensure libexpat is linked against libm (GH-28617) (GH-28620)

(cherry picked from commit 6c1154b9de29e1c9cd3d05f5289543e5cff73895)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
4 years agobpo-45220: Avoid automatically selecting the Windows 11 SDK preview when building...
Miss Islington (bot) [Wed, 29 Sep 2021 13:54:47 +0000 (06:54 -0700)] 
bpo-45220: Avoid automatically selecting the Windows 11 SDK preview when building (GH-28393) (GH-28622)

(cherry picked from commit f4b94b1f57827083990272b5f282aa1493ae2bf4)

Co-authored-by: Steve Dower <steve.dower@python.org>
4 years ago[docs] Update documentation for `multiprocessing.get_start_method` (GH-18170) (GH...
Miss Islington (bot) [Thu, 23 Sep 2021 21:39:26 +0000 (14:39 -0700)] 
[docs] Update documentation for `multiprocessing.get_start_method` (GH-18170) (GH-28535)

(cherry picked from commit af90b5498b8c6acd67b50fdad007d26dfd1c5823)

Co-authored-by: Sam Sneddon <me@gsnedders.com>
4 years agobpo-45104: Clarify when __init__ is called (GH-28210) (GH-28213)
Miss Islington (bot) [Tue, 7 Sep 2021 16:21:23 +0000 (09:21 -0700)] 
bpo-45104: Clarify when __init__ is called (GH-28210) (GH-28213)

(cherry picked from commit fa15df77f02ba4a66ba0b71989381a426038be01)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
4 years agobpo-45022: Pin current libffi build to fixed version in preparation for upcoming...
Steve Dower [Fri, 3 Sep 2021 16:53:12 +0000 (17:53 +0100)] 
bpo-45022: Pin current libffi build to fixed version in preparation for upcoming update (GH-27982) (GH-28001)

Also improve the build script for libffi, which is not used as part of the regular build.
(cherry picked from commit 969ae7f7356584e30667b4e490ffa2ffa1810429)

Co-authored-by: Steve Dower <steve.dower@python.org>
4 years agoPost 3.8.12
Łukasz Langa [Mon, 30 Aug 2021 17:03:50 +0000 (19:03 +0200)] 
Post 3.8.12

4 years agoPython 3.8.12 v3.8.12
Łukasz Langa [Mon, 30 Aug 2021 14:26:41 +0000 (16:26 +0200)] 
Python 3.8.12

4 years ago[3.8] bpo-45007: Update multissl to openssl 1.1.1l as well (GH-28044) (GH-28063)
Christian Heimes [Mon, 30 Aug 2021 13:08:12 +0000 (15:08 +0200)] 
[3.8] bpo-45007: Update multissl to openssl 1.1.1l as well (GH-28044) (GH-28063)

This was missed while upgrading CI..
(cherry picked from commit d6cb5dd9e19210f5963ff8beadde7ca2fda71574)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
4 years agobpo-45007: Update macOS installer builds to use OpenSSL 1.1.1l (GH-28051) (GH-28059)
Miss Islington (bot) [Mon, 30 Aug 2021 09:50:25 +0000 (02:50 -0700)] 
bpo-45007: Update macOS installer builds to use OpenSSL 1.1.1l (GH-28051) (GH-28059)

(cherry picked from commit 94b2639fad50d7ff8acd12c11e5fe5f9a6e1da5c)

Co-authored-by: Ned Deily <nad@python.org>
4 years agobpo-44689: ctypes.util.find_library() now finds macOS 11+ system libraries when built...
Miss Islington (bot) [Mon, 30 Aug 2021 09:07:19 +0000 (02:07 -0700)] 
bpo-44689: ctypes.util.find_library() now finds macOS 11+ system libraries when built on older macOS systems (GH-27251) (GH-28054)

Previously, when built on older macOS systems, `find_library` was not able to find macOS system libraries when running on Big Sur due to changes in how system libraries are stored.
(cherry picked from commit 71853a73024a98aa38a3c0444fe364dbd9709134)

Co-authored-by: Tobias Bergkvist <tobias@bergkv.ist>
4 years ago[3.8] bpo-45007: Update to OpenSSL 1.1.1l in Windows build and CI (GH-28009) (GH...
Łukasz Langa [Sun, 29 Aug 2021 16:27:01 +0000 (18:27 +0200)] 
[3.8] bpo-45007: Update to OpenSSL 1.1.1l in Windows build and CI (GH-28009) (GH-28041)

(cherry picked from commit d3bdbbf9a4352a24fc2bfc7a63a024b244b61aba)

Co-authored-by: Steve Dower <steve.dower@python.org>
4 years ago[3.8] bpo-43124: Fix smtplib multiple CRLF injection (GH-25987) (GH-28036)
Miss Islington (bot) [Sun, 29 Aug 2021 15:04:17 +0000 (08:04 -0700)] 
[3.8] bpo-43124: Fix smtplib multiple CRLF injection (GH-25987) (GH-28036)

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

Co-authored-by: Miguel Brito <5544985+miguendes@users.noreply.github.com>
4 years agobpo-44394: Update libexpat copy to 2.4.1 (GH-26945) (GH-28033)
Miss Islington (bot) [Sun, 29 Aug 2021 14:31:27 +0000 (07:31 -0700)] 
bpo-44394: Update libexpat copy to 2.4.1 (GH-26945) (GH-28033)

Update the vendored copy of libexpat to 2.4.1 (from 2.2.8) to get the
fix for the CVE-2013-0340 "Billion Laughs" vulnerability. This copy
is most used on Windows and macOS.

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

Co-authored-by: Victor Stinner <vstinner@python.org>
4 years agobpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc ...
Miss Islington (bot) [Sun, 29 Aug 2021 12:57:05 +0000 (05:57 -0700)] 
bpo-42278: Use tempfile.TemporaryDirectory rather than tempfile.mktemp in pydoc (GH-23200) (GH-28026)

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

Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
4 years agoFix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993) (GH-27999)
Miss Islington (bot) [Fri, 27 Aug 2021 12:33:33 +0000 (05:33 -0700)] 
Fix typo in a comment in Modules/_ssl.c: s/validata/validate/ (GH-27993) (GH-27999)

(cherry picked from commit 28db1f61f20352c02e4ae1518e5aeb6505df3045)

Co-authored-by: Adam Dangoor <adamdangoor@gmail.com>