]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
8 months ago[3.11] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465...
Miss Islington (bot) [Thu, 13 Feb 2025 01:32:37 +0000 (02:32 +0100)] 
[3.11] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465 (GH-129561) (#129566)

gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465 (GH-129561)

Restore the skipUnless removed by GH-119465.

This test can only pass on virtual machines, not actual machines.

actual machines see:

```
    self.cli.connect((cid, VSOCKPORT))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
OSError: [Errno 19] No such device
```

Reproduced on (Linux) Ubuntu 24.04.1 running 6.8.0-52-generic.
(cherry picked from commit e1006ce1ded1b18972888ef057718dba6f2c7edd)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
8 months ago[3.11] Docs: pin python-docs-theme to 2025.2 (#129576)
Adam Turner [Thu, 13 Feb 2025 01:31:11 +0000 (01:31 +0000)] 
[3.11] Docs: pin python-docs-theme to 2025.2 (#129576)

9 months ago[3.11] gh-119461: Fix ThreadedVSOCKSocketStreamTest (#129171)
Victor Stinner [Thu, 23 Jan 2025 21:14:08 +0000 (22:14 +0100)] 
[3.11] gh-119461: Fix ThreadedVSOCKSocketStreamTest (#129171)

Fix ThreadedVSOCKSocketStreamTest: if get_cid() returns the host
address or the "any" address, use the local communication address
(loopback): VMADDR_CID_LOCAL.

On Linux 6.9, apparently, the /dev/vsock device is now available but
get_cid() returns VMADDR_CID_ANY (-1).

(cherry picked from commit e94dbe4ed83460f18bd72563c5f09f6cdc71f604)
(cherry picked from commit c750061047ee520d8299334df4b112fd983d7e48)
(cherry picked from commit cbfe3023e46b544b80ea1a38a8c900c6fb881554)

9 months ago[3.11] gh-128069: brew link --overwrite tcl-tk@8 to prevent conflict with GitHub...
Miss Islington (bot) [Wed, 22 Jan 2025 12:25:24 +0000 (13:25 +0100)] 
[3.11] gh-128069: brew link --overwrite tcl-tk@8 to prevent conflict with GitHub image's version (GH-128090) (#129172)

9 months ago[3.11] gh-128874: Fix the documentation for blurb 2.0 (GH-128875) (#128879)
Miss Islington (bot) [Tue, 21 Jan 2025 19:26:25 +0000 (20:26 +0100)] 
[3.11] gh-128874: Fix the documentation for blurb 2.0 (GH-128875) (#128879)

gh-128874: Fix the documentation for blurb 2.0 (GH-128875)
(cherry picked from commit 40a4d88a14c741172a158683c39d232c587c6f11)

Co-authored-by: Victor Stinner <vstinner@python.org>
10 months ago[3.11] gh-121277: Allow .. versionadded:: next in docs (GH-121278) (#124718) (#127827)
Petr Viktorin [Wed, 11 Dec 2024 14:58:46 +0000 (15:58 +0100)] 
[3.11] gh-121277: Allow .. versionadded:: next in docs (GH-121278) (#124718) (#127827)

* [3.11] gh-121277: Allow `.. versionadded:: next` in docs (GH-121278) (#124718)

Make `versionchanged:: next`` expand to current (unreleased) version.

When a new CPython release is cut, the release manager will replace
all such occurences of "next" with the just-released version.
(See the issue for release-tools and devguide PRs.)

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

gh-121277: Raise nice error on `next` as second argument to deprecated-removed (GH-124623)

(cherry-picked from e349f73a5ad2856b0a7cbe4aef7cc081c7aed777)

* Import VersionChange

sphinx.domains.changeset.VersionChange exists at least since Sphinx 2.1,
according to: https://www.sphinx-doc.org/en/master/extdev/deprecated.html

* Get config from env

* Use version, not arguments directly

11 months agoPost 3.11.11
Pablo Galindo [Tue, 3 Dec 2024 18:25:54 +0000 (13:25 -0500)] 
Post 3.11.11

11 months agoPython 3.11.11 v3.11.11
Pablo Galindo [Tue, 3 Dec 2024 17:19:03 +0000 (12:19 -0500)] 
Python 3.11.11

11 months ago[3.11] gh-122792: Make IPv4-mapped IPv6 address properties consistent with IPv4 ...
Miss Islington (bot) [Tue, 3 Dec 2024 16:57:10 +0000 (17:57 +0100)] 
[3.11] gh-122792: Make IPv4-mapped IPv6 address properties consistent with IPv4 (GH-122793) (GH-123818)

Make IPv4-mapped IPv6 address properties consistent with IPv4.
(cherry picked from commit 76a1c5d18312712baed4699fe7333abb050ec9b7)

Co-authored-by: Seth Michael Larson <seth@python.org>
---------

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
11 months ago[3.11] gh-126623: Update libexpat to 2.6.4, make future updates easier (GH-126792...
Seth Michael Larson [Tue, 3 Dec 2024 16:42:23 +0000 (10:42 -0600)] 
[3.11] gh-126623: Update libexpat to 2.6.4, make future updates easier (GH-126792) (GH-126798)

Update libexpat to 2.6.4, make future updates easier.
(cherry picked from commit 3c9996909402fadc98e6ca2a64e75a71a7427352)

11 months ago[3.11] gh-127359: Pin Tcl/Tk to 8 (8.6) for testing macOS (GH-127365) (#127407)
Hugo van Kemenade [Sat, 30 Nov 2024 16:38:21 +0000 (18:38 +0200)] 
[3.11] gh-127359: Pin Tcl/Tk to 8 (8.6) for testing macOS (GH-127365) (#127407)

11 months ago[3.11] gh-111942: Remove an extra incref in textiowrapper_change_encoding (#126542)
Petr Viktorin [Fri, 8 Nov 2024 12:26:57 +0000 (13:26 +0100)] 
[3.11] gh-111942: Remove an extra incref in textiowrapper_change_encoding (#126542)

12 months ago[3.11] gh-87846: test_io: Ignore OpenWrapper in test___all__ (#126478)
Petr Viktorin [Wed, 6 Nov 2024 13:39:30 +0000 (14:39 +0100)] 
[3.11] gh-87846: test_io: Ignore OpenWrapper in test___all__ (#126478)

12 months ago[3.11] gh-124651: Quote template strings in `venv` activation scripts (GH-124712...
Victor Stinner [Fri, 1 Nov 2024 13:11:47 +0000 (14:11 +0100)] 
[3.11] gh-124651: Quote template strings in `venv` activation scripts (GH-124712) (GH-126185) (#126269)

12 months ago[3.11] gh-123418: Update CI to use fresh OpenSSL releases (GH-123675) (#123699)
Zachary Ware [Tue, 22 Oct 2024 15:48:51 +0000 (10:48 -0500)] 
[3.11] gh-123418: Update CI to use fresh OpenSSL releases (GH-123675) (#123699)

* [3.11] gh-123418: Update CI to use fresh OpenSSL releases (GH-123675)

Also adds openssl/openssl GitHub URL template for newer OpenSSL downloads
(cherry picked from commit 56b00f4705634af2861a8aa9c2eb5769012220f0)

Co-authored-by: Zachary Ware <zach@python.org>
* Adjust build_ubuntu_ssltests job to use cache for the correct OS version

12 months ago[3.11] Adjust build_ubuntu_ssltests job to use cache for the correct OS version ...
Zachary Ware [Tue, 22 Oct 2024 15:05:48 +0000 (10:05 -0500)] 
[3.11] Adjust build_ubuntu_ssltests job to use cache for the correct OS version (#124484)

12 months ago[3.11] gh-125041: test_zlib: For s390x HW acceleration, only skip checking the compre...
Petr Viktorin [Tue, 22 Oct 2024 11:11:14 +0000 (13:11 +0200)] 
[3.11] gh-125041: test_zlib: For s390x HW acceleration, only skip checking the compressed bytes (GH-125042) (#125577)

gh-125041: test_zlib: For s390x HW acceleration, only skip checking the compressed bytes (#125042)

(cherry picked from commit cc5a225cdc2a5d4e035dd08d59cef39182c10a6c)

14 months agoPost 3.11.10
Pablo Galindo [Sat, 7 Sep 2024 01:34:11 +0000 (02:34 +0100)] 
Post 3.11.10

14 months agoPython 3.11.10 v3.11.10
Pablo Galindo [Sat, 7 Sep 2024 01:02:27 +0000 (02:02 +0100)] 
Python 3.11.10

14 months ago[3.11] gh-102988: Adjust version numbers in versionadded directives (#123772)
Petr Viktorin [Fri, 6 Sep 2024 12:29:04 +0000 (14:29 +0200)] 
[3.11] gh-102988: Adjust version numbers in versionadded directives (#123772)

14 months ago[3.11] [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr...
Petr Viktorin [Fri, 6 Sep 2024 10:46:23 +0000 (12:46 +0200)] 
[3.11] [CVE-2023-27043] gh-102988: Reject malformed addresses in email.parseaddr() (GH-111116) (#123767)

Detect email address parsing errors and return empty tuple to
indicate the parsing error (old API). Add an optional 'strict'
parameter to getaddresses() and parseaddr() functions. Patch by
Thomas Dwyer.

(cherry picked from commit 4a153a1d3b18803a684cd1bcc2cdf3ede3dbae19)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Thomas Dwyer <github@tomd.tel>
14 months ago[3.11] gh-123418: Update OpenSSL to 3.0.15 on Windows (GH-123673) (#123692)
Zachary Ware [Thu, 5 Sep 2024 12:28:35 +0000 (07:28 -0500)] 
[3.11] gh-123418: Update OpenSSL to 3.0.15 on Windows (GH-123673) (#123692)

(cherry picked from commit d2eafe2f48aac31aa8a152620bdfd0f2a274ee1d)

14 months ago[3.11] gh-123678: Upgrade libexpat 2.6.3 (#123709)
Seth Michael Larson [Thu, 5 Sep 2024 12:27:22 +0000 (07:27 -0500)] 
[3.11] gh-123678: Upgrade libexpat 2.6.3 (#123709)

(cherry picked from commit e6fe0ac014e8f5b17064c20d1ae937dbd4c761a2)

14 months ago[3.11]GH-112275: Fix HEAD_LOCK deadlock in child process after fork (#112336)
ChuBoning [Wed, 4 Sep 2024 17:14:59 +0000 (01:14 +0800)] 
[3.11]GH-112275: Fix HEAD_LOCK deadlock in child process after fork (#112336)

HEAD_LOCK is called from _PyEval_ReInitThreads->_PyThreadState_DeleteExcept before _PyRuntimeState_ReInitThreads reinit runtime->interpreters.mutex which might be locked before fork.

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
14 months ago[3.11] gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions...
Miss Islington (bot) [Wed, 4 Sep 2024 16:06:13 +0000 (18:06 +0200)] 
[3.11] gh-100117: Fix inaccuracy in documentation of the CodeObject's co_positions field. (GH-119364) (#119871)

(cherry picked from commit 015b1fdd0ae03f94a5dfda051b020810d1c952dd)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
14 months ago[3.11] gh-119690: Fixes buffer type confusion in _winapi.CreateNamedPipe audit event...
Steve Dower [Wed, 4 Sep 2024 16:02:48 +0000 (17:02 +0100)] 
[3.11] gh-119690: Fixes buffer type confusion in _winapi.CreateNamedPipe audit event (#119734)

gh-119690: Fixes buffer type confusion in _winapi.CreateNamedPipe audit event

14 months ago[3.11] gh-123270: Replaced SanitizedNames with a more surgical fix. (GH-123354) ...
Jason R. Coombs [Wed, 4 Sep 2024 15:52:54 +0000 (11:52 -0400)] 
[3.11] gh-123270: Replaced SanitizedNames with a more surgical fix. (GH-123354) (#123425)

Applies changes from zipp 3.20.1 and jaraco/zippGH-124
(cherry picked from commit 2231286d78d328c2f575e0b05b16fe447d1656d6)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
* Restore the slash-prefixed paths in the malformed_paths test.

14 months ago[3.11] gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with...
Miss Islington (bot) [Wed, 4 Sep 2024 15:50:00 +0000 (17:50 +0200)] 
[3.11] gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with backslashes (GH-123075) (#123105)

This fixes CVE-2024-7592.
(cherry picked from commit 44e458357fca05ca0ae2658d62c8c595b048b5ef)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.11] gh-67693: Fix urlunparse() and urlunsplit() for URIs with path starting with...
Serhiy Storchaka [Wed, 4 Sep 2024 15:42:58 +0000 (18:42 +0300)] 
[3.11] gh-67693: Fix urlunparse() and urlunsplit() for URIs with path starting with multiple slashes and no authority (GH-113563) (#119025)

(cherry picked from commit e237b25a4fa5626fcd1b1848aa03f725f892e40e)

14 months ago[3.11] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233...
Łukasz Langa [Wed, 4 Sep 2024 15:37:28 +0000 (17:37 +0200)] 
[3.11] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) (#122608)

Per RFC 2047:

> [...] these encoding schemes allow the
> encoding of arbitrary octet values, mail readers that implement this
> decoding should also ensure that display of the decoded data on the
> recipient's terminal will not cause unwanted side-effects

It seems that the "quoted-word" scheme is a valid way to include
a newline character in a header value, just like we already allow
undecodable bytes or control characters.
They do need to be properly quoted when serialized to text, though.

Verify that email headers are well-formed.

This should fail for custom fold() implementations that aren't careful
about newlines.

(cherry picked from commit 097633981879b3c9de9a1dd120d3aa585ecc2384)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Bas Bloemsaat <bas@bloemsaat.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.11] gh-121285: Remove backtracking when parsing tarfile headers (GH-121286) (...
Seth Michael Larson [Tue, 3 Sep 2024 15:07:13 +0000 (10:07 -0500)] 
[3.11] gh-121285: Remove backtracking when parsing tarfile headers (GH-121286) (#123639)

* Remove backtracking when parsing tarfile headers
* Rewrite PAX header parsing to be stricter
* Optimize parsing of GNU extended sparse headers v0.0

(cherry picked from commit 34ddb64d088dd7ccc321f6103d23153256caa5d4)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
14 months ago[3.11] gh-122905: Sanitize names in zipfile.Path. (GH-122906) (#122925)
Jason R. Coombs [Mon, 19 Aug 2024 23:28:20 +0000 (19:28 -0400)] 
[3.11] gh-122905: Sanitize names in zipfile.Path. (GH-122906) (#122925)

* gh-122905: Sanitize names in zipfile.Path. (#122906)

Ported from zipp 3.19.1; ref jaraco/zipp#119.

(cherry picked from commit 9cd03263100ddb1657826cc4a71470786cab3932)

* [3.11] gh-122905: Sanitize names in zipfile.Path. (GH-122906)

Ported from zipp 3.19.1; ref jaraco/zippGH-119.
(cherry picked from commit 9cd03263100ddb1657826cc4a71470786cab3932)

Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
14 months ago[3.11] gh-119506: fix _io.TextIOWrapper.write() write during flush (#119507) (#120314)
Inada Naoki [Fri, 9 Aug 2024 17:04:36 +0000 (02:04 +0900)] 
[3.11] gh-119506: fix _io.TextIOWrapper.write() write during flush (#119507) (#120314)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
fix _io.TextIOWrapper.write() write during flush (#119507)

14 months ago[3.11] gh-114539: Clarify implicit launching of shells by subprocess (GH-117996)...
Miss Islington (bot) [Fri, 9 Aug 2024 13:57:50 +0000 (15:57 +0200)] 
[3.11] gh-114539: Clarify implicit launching of shells by subprocess (GH-117996) (#118003)

Co-authored-by: Steve Dower <steve.dower@python.org>
15 months ago[3.11] gh-122133: Rework pure Python socketpair tests to avoid use of importlib.reloa...
Miss Islington (bot) [Fri, 2 Aug 2024 13:09:45 +0000 (15:09 +0200)] 
[3.11] gh-122133: Rework pure Python socketpair tests to avoid use of importlib.reload. (GH-122493) (GH-122506)

(cherry picked from commit f071f01b7b7e19d7d6b3a4b0ec62f820ecb14660)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
15 months ago[3.11] gh-122133: Authenticate socket connection for `socket.socketpair()` fallback...
Miss Islington (bot) [Tue, 30 Jul 2024 12:43:45 +0000 (14:43 +0200)] 
[3.11] gh-122133: Authenticate socket connection for `socket.socketpair()` fallback (GH-122134) (#122426)

Authenticate socket connection for `socket.socketpair()` fallback when the platform does not have a native `socketpair` C API.  We authenticate in-process using `getsocketname` and `getpeername` (thanks to Nathaniel J Smith for that suggestion).

(cherry picked from commit 78df1043dbdce5c989600616f9f87b4ee72944e5)

Co-authored-by: Seth Michael Larson <seth@python.org>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
15 months ago[3.11] gh-121957: Emit audit events for python -i and python -m asyncio (GH-122118)
Łukasz Langa [Mon, 22 Jul 2024 11:44:55 +0000 (13:44 +0200)] 
[3.11] gh-121957: Emit audit events for python -i and python -m asyncio (GH-122118)

16 months ago[3.11] gh-112346: Document the OS byte in `gzip.compress` output change in 3.11 ...
Miss Islington (bot) [Mon, 17 Jun 2024 18:01:59 +0000 (20:01 +0200)] 
[3.11] gh-112346: Document the OS byte in `gzip.compress` output change in 3.11 (GH-120480) (#120614)

17 months ago[3.11] gh-118486: Support mkdir(mode=0o700) on Windows (GH-118488) (GH-118739)
Steve Dower [Fri, 24 May 2024 00:13:18 +0000 (01:13 +0100)] 
[3.11] gh-118486: Support mkdir(mode=0o700) on Windows (GH-118488) (GH-118739)

17 months ago[3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)
Serhiy Storchaka [Thu, 23 May 2024 12:09:03 +0000 (15:09 +0300)] 
[3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)

Fix regression introduced in gh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in gh-100884.
(cherry picked from commit 858b9e85fcdd495947c9e892ce6e3734652c48f2)

18 months ago[3.11] gh-113171: gh-65056: Fix "private" (non-global) IP address ranges (GH-113179...
Petr Viktorin [Thu, 25 Apr 2024 12:45:48 +0000 (14:45 +0200)] 
[3.11] gh-113171: gh-65056: Fix "private" (non-global) IP address ranges (GH-113179) (GH-113186) (GH-118177) (#118227)

18 months ago[3.11] gh-116741: Upgrade libexpat to 2.6.2 (GH-117296) (#118185)
Seth Michael Larson [Tue, 23 Apr 2024 19:28:50 +0000 (14:28 -0500)] 
[3.11] gh-116741: Upgrade libexpat to 2.6.2 (GH-117296) (#118185)

Upgrade libexpat to 2.6.2
(cherry picked from commit c9829eec0883a8991ea4d319d965e123a3cf6c20)

19 months ago[3.11] gh-109120: Fix syntax error in handlinh of incorrect star expressions… (#117464)
Grigoriev Semyon [Wed, 3 Apr 2024 10:37:39 +0000 (13:37 +0300)] 
[3.11] gh-109120: Fix syntax error in handlinh of incorrect star expressions… (#117464)

gh-109120: Fix syntax error in handlinh of incorrect star expressions (#117444)

(cherry picked from commit c97d3af2391e62ef456ef2365d48ab9b8cdbe27b)

19 months agoMerge remote-tracking branch 'upstream/3.11' into 3.11
Pablo Galindo [Tue, 2 Apr 2024 13:38:17 +0000 (14:38 +0100)] 
Merge remote-tracking branch 'upstream/3.11' into 3.11

19 months agoPost 3.11.9
Pablo Galindo [Tue, 2 Apr 2024 13:37:54 +0000 (14:37 +0100)] 
Post 3.11.9

19 months ago[3.11] gh-115538: Use pathlib to compare prefixes in test_venv (GH-117076)
Miss Islington (bot) [Tue, 2 Apr 2024 13:31:08 +0000 (15:31 +0200)] 
[3.11] gh-115538: Use pathlib to compare prefixes in test_venv (GH-117076)

gh-115538: Use pathlib to compare prefixes in test_venv (GH-117076)
(cherry picked from commit 52f5b7f9e05fc4a25e385c046e0b091641674556)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
19 months agoPython 3.11.9 v3.11.9
Pablo Galindo [Tue, 2 Apr 2024 08:24:04 +0000 (09:24 +0100)] 
Python 3.11.9

19 months ago[3.11] Docs: specify XML document name in xml.etree.elementtree example (GH-24223...
Miss Islington (bot) [Mon, 1 Apr 2024 20:02:54 +0000 (22:02 +0200)] 
[3.11] Docs: specify XML document name in xml.etree.elementtree example (GH-24223) (#117430)

(cherry picked from commit 9dae05ee59eeba0e67af2a46f2a2907c9f8d7e4a)

Co-authored-by: Moshe Kaplan <mosheekaplan@gmail.com>
19 months ago[3.11] Docs: add more links to PIPE in subprocess docs (GH-25416) (#117428)
Miss Islington (bot) [Mon, 1 Apr 2024 19:58:28 +0000 (21:58 +0200)] 
[3.11] Docs: add more links to PIPE in subprocess docs (GH-25416) (#117428)

(cherry picked from commit fc2071687b708598264a3403b7f9104667c1092f)

Co-authored-by: Matthew Davis <7035647+mdavis-xyz@users.noreply.github.com>
19 months ago[3.11] [3.12] gh-117347: Fix test_clinic side effects (GH-117363) (GH-117365) (#117366)
Miss Islington (bot) [Fri, 29 Mar 2024 11:21:56 +0000 (12:21 +0100)] 
[3.11] [3.12] gh-117347: Fix test_clinic side effects (GH-117363) (GH-117365) (#117366)

[3.12] gh-117347: Fix test_clinic side effects (GH-117363) (GH-117365)

gh-117347: Fix test_clinic side effects (GH-117363)

Save/restore converters in ClinicWholeFileTest and
ClinicExternalTest.

(cherry picked from commit c80d13838dbcfe239eeabfd950bc524d797e6db1)

Co-authored-by: Victor Stinner <vstinner@python.org>
(cherry picked from commit 35b6c4a4da201a947b2ceb96ae4c0d83d4d2df4f)

Co-authored-by: Victor Stinner <vstinner@python.org>
19 months ago[3.11] gh-117110: Fix subclasses of typing.Any with custom constructors (GH-117111...
Miss Islington (bot) [Fri, 29 Mar 2024 00:38:13 +0000 (01:38 +0100)] 
[3.11] gh-117110: Fix subclasses of typing.Any with custom constructors (GH-117111) (#117358)

gh-117110: Fix subclasses of typing.Any with custom constructors (GH-117111)
(cherry picked from commit 8eec7ed714e65d616573b7331780b0aa43c6ed6a)

Co-authored-by: 傅立业(Chris Fu) <17433201@qq.com>
19 months ago[3.11] gh-114331: Skip decimal test_maxcontext_exact_arith on s390x (#117326) (#117331)
Victor Stinner [Thu, 28 Mar 2024 17:53:43 +0000 (18:53 +0100)] 
[3.11] gh-114331: Skip decimal test_maxcontext_exact_arith on s390x (#117326) (#117331)

gh-114331: Skip decimal test_maxcontext_exact_arith on s390x (#117326)

Add test.support.skip_on_s390x decorator.

(cherry picked from commit 6702d2bf6edcd5b5415e17837383623b9d76a5b8)

19 months ago[3.11] gh-117310: Remove extra DECREF on "no ciphers" error path in `_ssl._SSLContext...
Miss Islington (bot) [Thu, 28 Mar 2024 17:05:19 +0000 (18:05 +0100)] 
[3.11] gh-117310: Remove extra DECREF on "no ciphers" error path in `_ssl._SSLContext` constructor (GH-117309) (GH-117318)

gh-117310: Remove extra DECREF on "no ciphers" error path in `_ssl._SSLContext` constructor (GH-117309)

Remove extra self DECREF on ssl "no ciphers" error path.

This doesn't come up in practice because nobody links against a broken
OpenSSL library that provides nothing.
(cherry picked from commit 8cb7d7ff86a1a2d41195f01ba4f218941dd7308c)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
19 months ago[3.11] gh-117178: Recover lazy loading of self-referential modules (GH-117179) (...
Miss Islington (bot) [Thu, 28 Mar 2024 11:17:10 +0000 (12:17 +0100)] 
[3.11] gh-117178: Recover lazy loading of self-referential modules (GH-117179) (#117320)

Co-authored-by: Chris Markiewicz <effigies@gmail.com>
19 months ago[3.11] gh-104242: Enable test_is_char_device_true in pathlib test on all platform...
Miss Islington (bot) [Wed, 27 Mar 2024 08:57:08 +0000 (09:57 +0100)] 
[3.11] gh-104242: Enable test_is_char_device_true in pathlib test on all platform (GH-116983) (GH-117277) (GH-117280)

(cherry picked from commit 17a82a1d16a46b6c008240bcc698619419ce5554)
(cherry picked from commit af1b0e94400d1bf732466d675054df8cf7dfb62d)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
19 months ago[3.11] Change links on the index page (GH-117230) (#117269)
Miss Islington (bot) [Tue, 26 Mar 2024 19:14:43 +0000 (20:14 +0100)] 
[3.11] Change links on the index page (GH-117230) (#117269)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
19 months ago[3.11] [3.12] gh-115538: Use isolate mode when running venv test_multiproces… (GH...
Miss Islington (bot) [Tue, 26 Mar 2024 17:13:23 +0000 (18:13 +0100)] 
[3.11] [3.12] gh-115538: Use isolate mode when running venv test_multiproces… (GH-117264) (#117265)

[3.12] gh-115538: Use isolate mode when running venv test_multiproces… (GH-117264)

[3.12] gh-115538: Use isolate mode when running venv test_multiprocessing_recursion() (GH-117116)
(cherry picked from commit 4ec347760f98b156c6a2d42ca397af6b0b6ecc50)

(cherry picked from commit ca0793980b90a6a0f9a91f1a5303a1f27b235f83)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
19 months ago[3.11] pre-commit: add `check-case-conflict` and `check-merge-conflict` (GH-117259...
Miss Islington (bot) [Tue, 26 Mar 2024 14:11:30 +0000 (15:11 +0100)] 
[3.11] pre-commit: add `check-case-conflict` and `check-merge-conflict` (GH-117259) (#117261)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
19 months ago[3.11] gh-66543: Fix mimetype.guess_type() (GH-117217) (GH-117257)
Miss Islington (bot) [Tue, 26 Mar 2024 11:46:28 +0000 (12:46 +0100)] 
[3.11] gh-66543: Fix mimetype.guess_type() (GH-117217) (GH-117257)

Fix parsing of the following corner cases:

* URLs with only a host name
* URLs containing a fragment
* URLs containing a query
* filenames with only a UNC sharepoint on Windows

(cherry picked from commit 9654daf793b534b44a831c80f43505ab9e380f1f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
19 months ago[3.11] gh-83845: Add tests for operator module (GH-115883) (#117254)
Miss Islington (bot) [Tue, 26 Mar 2024 09:50:40 +0000 (10:50 +0100)] 
[3.11] gh-83845: Add tests for operator module (GH-115883) (#117254)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Karthikeyan Singaravelan <tir.karthi@gmail.com>
19 months ago[3.11] [3.12] gh-83434: Sync libregrtest and test_regrtest with the main branch ...
Miss Islington (bot) [Tue, 26 Mar 2024 08:18:10 +0000 (09:18 +0100)] 
[3.11] [3.12] gh-83434: Sync libregrtest and test_regrtest with the main branch (GH-117250) (#117251)

[3.12] gh-83434: Sync libregrtest and test_regrtest with the main branch (GH-117250)

* gh-115122: Add --bisect option to regrtest (GH-115123)

* test.bisect_cmd now exit with code 0 on success, and code 1 on
  failure. Before, it was the opposite.
* test.bisect_cmd now runs the test worker process with
  -X faulthandler.
* regrtest RunTests: Add create_python_cmd() and bisect_cmd()
  methods.

(cherry picked from commit 1e5719a663d5b1703ad588dda4fccd763c7d3e99)

* gh-115720: Show number of leaks in huntrleaks progress reports (GH-115726)

Instead of showing a dot for each iteration, show:
- '.' for zero (on negative) leaks
- number of leaks for 1-9
- 'X' if there are more leaks

This allows more rapid iteration: when bisecting, I don't need
to wait for the final report to see if the test still leaks.

Also, show the full result if there are any non-zero entries.
This shows negative entries, for the unfortunate cases where
a reference is created and cleaned up in different runs.

Test *failure* is still determined by the existing heuristic.

(cherry picked from commit af5f9d682c20c951b90e3c020eeccac386c9bbb0)

* gh-83434: Disable XML in regrtest when -R option is used (GH-117232)

(cherry picked from commit d52bdfb19fadd7614a0e5abaf68525fc7300e841)

---------

(cherry picked from commit 477ef9015c312725734c4613b5ba12e80d920a22)

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
19 months ago[3.11] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (GH-117245)
Miss Islington (bot) [Tue, 26 Mar 2024 02:08:28 +0000 (03:08 +0100)] 
[3.11] gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203) (GH-117245)

gh-117187: Fix XML tests for vanilla Expat <2.6.0 (GH-117203)

This fixes XML unittest fallout from the https://github.com/python/cpython/issues/115398 security fix.  When configured using `--with-system-expat` on systems with older pre 2.6.0 versions of libexpat, our unittests were failing.

* sax|etree: Simplify Expat version guard where simplifiable

Idea by Matěj Cepl

* sax|etree: Fix reparse deferral tests for vanilla Expat <2.6.0

This *does not fix* the case of distros with an older version of libexpat with the 2.6.0 feature backported as a security fix.  (Ubuntu is a known example of this with its libexpat1 2.5.0-2ubunutu0.1 package)
(cherry picked from commit 9f74e86c78853c101a23e938f8e32ea838d8f62e)

Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
19 months ago[3.11] Add information about negative indexes to sequence datamodel doc (GH-110903...
Miss Islington (bot) [Mon, 25 Mar 2024 22:40:41 +0000 (23:40 +0100)] 
[3.11] Add information about negative  indexes to sequence datamodel doc (GH-110903) (#117239)

Co-authored by Terry Jan Reedy
(cherry picked from commit c2276176d543a2fc2d57709c2787f99850fbb073)

Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
19 months ago[3.11] gh-91227: Ignore ERROR_PORT_UNREACHABLE in proactor recvfrom() (GH-32011)...
Serhiy Storchaka [Mon, 25 Mar 2024 10:34:25 +0000 (12:34 +0200)] 
[3.11] gh-91227: Ignore ERROR_PORT_UNREACHABLE in proactor recvfrom() (GH-32011) (GH-117210)

(cherry picked from commit f11d0d8be8af28e1368c3c7c116218cf65ddf93e)

Co-authored-by: Erik Soma <stillusingirc@gmail.com>
19 months ago[3.11] GH-115986 Docs: promote pprint.pp usage as a default (GH-116614) (#117197)
Miss Islington (bot) [Sun, 24 Mar 2024 15:14:51 +0000 (16:14 +0100)] 
[3.11] GH-115986 Docs: promote pprint.pp usage as a default (GH-116614) (#117197)

Co-authored-by: Kerim Kabirov <the.privat33r+gh@pm.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
19 months ago[3.11] gh-101760: Improve the imaplib.IMAP4 example (GH-101764) (#117192)
Miss Islington (bot) [Sun, 24 Mar 2024 10:07:37 +0000 (11:07 +0100)] 
[3.11] gh-101760: Improve the imaplib.IMAP4 example (GH-101764) (#117192)

Co-authored-by: LilKS <1244886+LilKS@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
19 months ago[3.11] [docs] Fix typo in docstring and add example to logging cookbook. (GH-117157...
Miss Islington (bot) [Sat, 23 Mar 2024 10:19:14 +0000 (11:19 +0100)] 
[3.11] [docs] Fix typo in docstring and add example to logging cookbook. (GH-117157) (GH-117158)

(cherry picked from commit 00baaa21de229a6db80ff2b84c2fd6ad1999a24c)

19 months ago[3.11] docs: fix over-linking in dataclasses.rst (GH-117005) (#117164)
Carol Willing [Fri, 22 Mar 2024 21:11:57 +0000 (14:11 -0700)] 
[3.11] docs: fix over-linking in dataclasses.rst (GH-117005) (#117164)

* docs: fix over-linking in dataclasses.rst (#117005)

(cherry picked from commit 0907871d43bffb613cbd560224e1a9db13d06c06)

* [3.11] docs: fix over-linking in dataclasses.rst (GH-117005)
(cherry picked from commit 0907871d43bffb613cbd560224e1a9db13d06c06)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
---------

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
19 months ago[3.11] gh-117084: Fix ZIP file extraction for directory entry names with backslashes...
Serhiy Storchaka [Fri, 22 Mar 2024 19:24:27 +0000 (21:24 +0200)] 
[3.11] gh-117084: Fix ZIP file extraction for directory entry names with backslashes on Windows (GH-117129) (GH-117162) (GH-117165)

(cherry picked from commit f3fee231d359979133e1d58085f43277c41476d0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 567ab3bd15398c8c7b791f3e376ae3e3c0bbe079)

19 months agoFix get_packagefamilyname helper function on Windows 32-bit (GH-117153)
Miss Islington (bot) [Fri, 22 Mar 2024 15:20:38 +0000 (16:20 +0100)] 
Fix get_packagefamilyname helper function on Windows 32-bit (GH-117153)

(cherry picked from commit 3be9b9d8722696b95555937bb211dc4cda714d56)

Co-authored-by: Steve Dower <steve.dower@python.org>
19 months ago[3.11] gh-117127: glob tests: Reopen dir_fd to pick up directory changes (GH-117128...
Miss Islington (bot) [Fri, 22 Mar 2024 10:21:53 +0000 (11:21 +0100)] 
[3.11] gh-117127: glob tests: Reopen dir_fd to pick up directory changes (GH-117128) (GH-117149)

gh-117127: glob tests: Reopen dir_fd to pick up directory changes (GH-117128)
(cherry picked from commit 42ae924d278c48a719fb0ab86357f3235a9f7ab9)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
19 months ago[3.11] gh-75988: Fix issues with autospec ignoring wrapped object (GH-115223) (#117124)
infohash [Fri, 22 Mar 2024 09:48:41 +0000 (15:18 +0530)] 
[3.11] gh-75988: Fix issues with autospec ignoring wrapped object (GH-115223) (#117124)

gh-75988: Fix issues with autospec ignoring wrapped object (#115223)

* set default return value of functional types as _mock_return_value

* added test of wrapping child attributes

* added backward compatibility with explicit return

* added docs on the order of precedence

* added test to check default return_value

(cherry picked from commit 735fc2cbbcf875c359021b5b2af7f4c29f4cf66d)

19 months ago[3.11] gh-117061: Fix test_posix.test_sched_setaffinity() on RHEL9 (GH-117126) (...
Miss Islington (bot) [Thu, 21 Mar 2024 22:37:16 +0000 (23:37 +0100)] 
[3.11] gh-117061: Fix test_posix.test_sched_setaffinity() on RHEL9 (GH-117126) (#117138)

gh-117061: Fix test_posix.test_sched_setaffinity() on RHEL9 (GH-117126)

On RHEL9, sched_setaffinity(0, []) does not fail.
(cherry picked from commit 50f9b0b1e0fb181875751cef951351ed007b6397)

Co-authored-by: Victor Stinner <vstinner@python.org>
19 months ago[3.11] gh-117021: Fix integer overflow in PyLong_AsPid() on non-Windows 64-bit platfo...
Serhiy Storchaka [Thu, 21 Mar 2024 09:43:42 +0000 (11:43 +0200)] 
[3.11] gh-117021: Fix integer overflow in PyLong_AsPid() on non-Windows 64-bit platforms (GH-117064) (GH-117070) (GH-117075)

(cherry picked from commit da2f9d1417a7d28df6e1ced87d64ecf28acb0a5f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 519b2ae22b54760475bbf62b9558d453c703f9c6)

19 months ago[3.11] Fix sort order for "locale encoding" glossary item (GH-115794) (#117103)
Miss Islington (bot) [Wed, 20 Mar 2024 21:08:18 +0000 (22:08 +0100)] 
[3.11] Fix sort order for "locale encoding" glossary item (GH-115794) (#117103)

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
19 months ago[3.11] gh-116773: Fix overlapped memory corruption crash (GH-116774) (#117077)
jkriegshauser [Wed, 20 Mar 2024 20:10:32 +0000 (13:10 -0700)] 
[3.11] gh-116773: Fix overlapped memory corruption crash (GH-116774) (#117077)

Manual backport of gh-116774.

19 months ago[3.11] gh-117058: Update GUI and packaging recommendations for macOS. (GH-117059...
Miss Islington (bot) [Wed, 20 Mar 2024 15:52:29 +0000 (16:52 +0100)] 
[3.11] gh-117058: Update GUI and packaging recommendations for macOS. (GH-117059) (#117082)

Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
19 months ago[3.11] gh-90300: Improve the Python CLI help output (GH-115853) (GH-117022) (GH-117034)
Serhiy Storchaka [Tue, 19 Mar 2024 20:08:00 +0000 (22:08 +0200)] 
[3.11] gh-90300: Improve the Python CLI help output (GH-115853) (GH-117022) (GH-117034)

* document equivalent command-line options for all environment variables
* document equivalent environment variables for all command-line options
* reduce the size of variable and option descriptions to minimum
* remove the ending period in single-sentence descriptions

(cherry picked from commit b85572c47dc7a8c65fc366a87a3660fc7a3ed244)

(cherry picked from commit 4be9fa896117bf07dc944a29c98dd18b71dd6c74)

Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
19 months ago[3.11] docs: announce venv creation before installing packages (GH-117036) (#117039)
Miss Islington (bot) [Tue, 19 Mar 2024 20:03:21 +0000 (21:03 +0100)] 
[3.11] docs: announce venv creation before installing packages (GH-117036) (#117039)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
19 months ago[3.11] gh-101100: Fix Sphinx warnings in `library/pydoc.rst` (GH-116913) (#117038)
Miss Islington (bot) [Tue, 19 Mar 2024 19:55:43 +0000 (20:55 +0100)] 
[3.11] gh-101100: Fix Sphinx warnings in `library/pydoc.rst` (GH-116913) (#117038)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
19 months ago[3.11] Update titles and subtitles on landing page template (GH-116914) (#117019)
Miss Islington (bot) [Tue, 19 Mar 2024 17:52:08 +0000 (18:52 +0100)] 
[3.11] Update titles and subtitles on landing page template (GH-116914) (#117019)

Update titles and subtitles on landing page template (GH-116914)

* Update titles and subtitles on landing page template

* address review from gvanrossum

* Edits from hugovk review

* Change word order back. Down the road we should split license and history
(cherry picked from commit c514a975abe35fa4604cd3541e2286168ef67d10)

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
19 months ago[3.11] gh-116957: configparser: Do post-process values after DuplicateOptionError...
David Röthlisberger [Tue, 19 Mar 2024 17:19:04 +0000 (17:19 +0000)] 
[3.11] gh-116957: configparser: Do post-process values after DuplicateOptionError (GH-116958) (GH-117012)

If you catch DuplicateOptionError / DuplicateSectionError when reading a
config file (the intention is to skip invalid config files) and then
attempt to use the ConfigParser instance, any values it *had* read
successfully so far, were stored as a list instead of string! Later
`get` calls would raise "AttributeError: 'list' object has no attribute
'find'" from somewhere deep in the interpolation code.

(cherry picked from commit b1bc37597f0d36084c4dcb15977fe6d4b9322cd4)

19 months ago[3.11] gh-107607: Update comment about utf-8 BOM being ignored (GH-107858) (#117015)
Miss Islington (bot) [Tue, 19 Mar 2024 15:59:52 +0000 (16:59 +0100)] 
[3.11] gh-107607: Update comment about utf-8 BOM being ignored (GH-107858) (#117015)

(cherry picked from commit 7f64ae30ddc22577ce4101ce0b6601b3548b036f)
Co-authored-by: Terry Jan Reedy tjreedy@udel.edu
19 months ago[3.11] gh-90872: Fix subprocess.Popen.wait() for negative timeout (#116989) (#117003)
Victor Stinner [Tue, 19 Mar 2024 14:21:42 +0000 (15:21 +0100)] 
[3.11] gh-90872: Fix subprocess.Popen.wait() for negative timeout (#116989) (#117003)

gh-90872: Fix subprocess.Popen.wait() for negative timeout (#116989)

On Windows, subprocess.Popen.wait() no longer calls
WaitForSingleObject() with a negative timeout: pass 0 ms if the
timeout is negative.

(cherry picked from commit 27cf3ed00cfe942f4277c273a3dda8ee2ba61fc8)

19 months ago[3.11] gh-105866: fix dataclass with slots=True, weakref_slot=True (GH-105870) (GH...
Miss Islington (bot) [Tue, 19 Mar 2024 10:57:45 +0000 (11:57 +0100)] 
[3.11] gh-105866: fix dataclass with slots=True, weakref_slot=True (GH-105870) (GH-116979)

(cherry picked from commit a22d05f04c074dbb4f71e7837f54c0bb693db75d)

Co-authored-by: Aviel Boag <avboag@gmail.com>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
Co-authored-by: Carl Meyer <carl@oddbird.net>
19 months ago[3.11] Bump GitHub Actions (GH-116944) (GH-116949)
Hugo van Kemenade [Tue, 19 Mar 2024 10:56:19 +0000 (12:56 +0200)] 
[3.11] Bump GitHub Actions (GH-116944) (GH-116949)

(cherry picked from commit 3a99f5c5f34dc7b67597ca7230da355d92927c71)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
19 months ago[3.11] gh-90535: Fix support of interval>1 in logging.TimedRotatingFileHandler (GH...
Miss Islington (bot) [Mon, 18 Mar 2024 17:47:53 +0000 (18:47 +0100)] 
[3.11] gh-90535: Fix support of interval>1 in logging.TimedRotatingFileHandler (GH-116220) (GH-116893)

Fix support of interval values > 1 in logging.TimedRotatingFileHandler
for when='MIDNIGHT' and when='Wx'.
(cherry picked from commit 269051d20e65eda30734cbbbdb07d21df61978d6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
19 months ago[3.11] gh-116881: Remove erroneous or redundant grammar NULL (GH-116885) (#116952)
Miss Islington (bot) [Mon, 18 Mar 2024 14:37:42 +0000 (15:37 +0100)] 
[3.11] gh-116881: Remove erroneous or redundant grammar NULL (GH-116885) (#116952)

In Lexical Analysis f-strings section, NULL in the description
of 'literal character' means '\0'.  In the format_spec grammar
production, it is wrong with that meaning and redundant if
instead interpreted as <nothing>.  Remove it there.
(cherry picked from commit 4e45c6c54a9457b1ca5b4cf3aa2843b7218d4414)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
19 months ago[3.11] gh-116831: Fixes tests for c extension in WASI for Python 3.11 (GH-116831...
Kushal Das [Mon, 18 Mar 2024 06:03:01 +0000 (07:03 +0100)] 
[3.11] gh-116831: Fixes tests for c extension in WASI for Python 3.11 (GH-116831) (#116933)

gh-116831: Fixes tests for c extension in WASI

We can skip the C extension based tests under WASI.

19 months ago[3.11] gh-116851: Remove "from ctypes import *" from a ctypes example (GH-116852...
Miss Islington (bot) [Sat, 16 Mar 2024 13:18:52 +0000 (14:18 +0100)] 
[3.11] gh-116851: Remove "from ctypes import *" from a ctypes example (GH-116852) (GH-116906)

It is confusing, because libc is not imported from ctypes,
but defined in previous examples, which already contain the import.
(cherry picked from commit 744c0777952f1e535d1192ee15b286aa67b61533)

Co-authored-by: jnchen <caojingchen@live.com>
19 months ago[3.11] gh-116484: Fix collisions between Checkbutton and ttk.Checkbutton default...
Miss Islington (bot) [Sat, 16 Mar 2024 11:58:10 +0000 (12:58 +0100)] 
[3.11] gh-116484: Fix collisions between Checkbutton and ttk.Checkbutton default names (GH-116495) (GH-116902)

Change automatically generated tkinter.Checkbutton widget names to
avoid collisions with automatically generated tkinter.ttk.Checkbutton
widget names within the same parent widget.
(cherry picked from commit c61cb507c10c5b597928284e087a9a384ab267d0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
19 months ago[3.11] gh-116764: Fix regressions in urllib.parse.parse_qsl() (GH-116801) (GH-116895)
Miss Islington (bot) [Sat, 16 Mar 2024 11:04:31 +0000 (12:04 +0100)] 
[3.11] gh-116764: Fix regressions in urllib.parse.parse_qsl() (GH-116801) (GH-116895)

* Restore support of None and other false values.
* Raise TypeError for non-zero integers and non-empty sequences.

The regressions were introduced in gh-74668
(bdba8ef42b15e651dc23374a08143cc2b4c4657d).
(cherry picked from commit 1069a462f611f0b70b6eec0bba603d618a0378f3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
19 months ago[3.11] gh-116858: Add `@cpython_only` to several tests in `test_cmd_line` (GH-116859...
Nikita Sobolev [Sat, 16 Mar 2024 09:29:11 +0000 (12:29 +0300)] 
[3.11] gh-116858: Add `@cpython_only` to several tests in `test_cmd_line` (GH-116859) (#116890)

19 months ago[3.11] gh-116811: Ensure MetadataPathFinder.invalidate_caches is reachable when deleg...
Jason R. Coombs [Fri, 15 Mar 2024 13:59:32 +0000 (09:59 -0400)] 
[3.11] gh-116811: Ensure MetadataPathFinder.invalidate_caches is reachable when delegated through PathFinder. (GH-116812) (#116865)

* Make MetadataPathFinder a proper classmethod.

* In PathFinder.invalidate_caches, also invoke MetadataPathFinder.invalidate_caches.

* Add blurb
(cherry picked from commit 5f52d20a93908196f74271db8437cc1ba7e1e262)

19 months ago[3.11] gh-90095: Ignore empty lines and comments in `.pdbrc` (GH-116834) (#116855)
Miss Islington (bot) [Fri, 15 Mar 2024 09:55:44 +0000 (10:55 +0100)] 
[3.11] gh-90095: Ignore empty lines and comments in `.pdbrc` (GH-116834) (#116855)

gh-90095: Ignore empty lines and comments in `.pdbrc` (GH-116834)
(cherry picked from commit a50cf6c3d76b34e2ee9f92a248f1b0df24e407f6)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
19 months ago[3.11] gh-90300: Fix undocumented envvars in the Python CLI help (GH-116765) (GH...
Miss Islington (bot) [Thu, 14 Mar 2024 13:41:52 +0000 (14:41 +0100)] 
[3.11] gh-90300: Fix undocumented envvars in the Python CLI help (GH-116765) (GH-116797) (GH-116803)

(cherry picked from commit fc4d5fdffe3d9829b118232f35ccee61a27392ee)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 19ac28bd08fdb16795e6f82ea7bfac73e8f3791b)

19 months ago[3.11] gh-90300: Document equivalent -X options for envvars in the Python CLI help...
Miss Islington (bot) [Thu, 14 Mar 2024 10:39:32 +0000 (11:39 +0100)] 
[3.11] gh-90300: Document equivalent -X options for envvars in the Python CLI help (GH-116756) (GH-116786) (GH-116796)

(cherry picked from commit 991710af022f27db862ff1399178bcc76b062669)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 8c6db45ce34df7081d7497e638daf3e130303295)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
19 months ago[3.11] gh-116785: Fix direct invocation of `test_inspect` (GH-116787) (#116795)
Miss Islington (bot) [Thu, 14 Mar 2024 10:25:48 +0000 (11:25 +0100)] 
[3.11] gh-116785: Fix direct invocation of `test_inspect` (GH-116787) (#116795)

gh-116785: Fix direct invocation of `test_inspect` (GH-116787)
(cherry picked from commit 66fb613d90fe3dea32130a5937963a9362c8a59e)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
19 months ago[3.11] gh-90300: Sort the -X options and some envvars in the Python CLI help (GH...
Serhiy Storchaka [Thu, 14 Mar 2024 10:07:31 +0000 (12:07 +0200)] 
[3.11] gh-90300: Sort the -X options and some envvars in the Python CLI help (GH-116739) (GH-116766) (GH-116779)

(cherry picked from commit 870cd901ea72e85eea825425336305296ee443cc)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit e54bdeab9ce2958a22ba08c1f1f1431c5e8056bd)

19 months ago[3.11] GH-115979: update test_importlib to work under WASI SDK 21 (GH-116754) (GH...
Brett Cannon [Wed, 13 Mar 2024 21:55:29 +0000 (14:55 -0700)] 
[3.11] GH-115979: update test_importlib to work under WASI SDK 21 (GH-116754) (GH-116762)

(cherry picked from commit 61733a2fb9dc36d2246d922146a3462a2248832d)