]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
20 months ago[3.11] gh-96310: Fix a traceback in argparse when all options in a mutually exclusive...
Miss Islington (bot) [Wed, 21 Feb 2024 16:20:08 +0000 (17:20 +0100)] 
[3.11] gh-96310: Fix a traceback in argparse when all options in a mutually exclusive group are suppressed (GH-96311) (GH-115768)

Reproducer depends on terminal size - the traceback occurs when there's
an option long enough so the usage line doesn't fit the terminal width.
Option order is also important for reproducibility.

Excluding empty groups (with all options suppressed) from inserts
fixes the problem.
(cherry picked from commit 5f7df88821347c5f44fc4e2c691e83a60a6c6cd5)

Co-authored-by: Daniel Mach <daniel.mach@suse.com>
20 months ago[3.11] gh-114785: Remove content from `Porting from Python2` how-to (GH-114805) ...
Miss Islington (bot) [Wed, 21 Feb 2024 12:50:07 +0000 (13:50 +0100)] 
[3.11] gh-114785: Remove content from `Porting from Python2` how-to (GH-114805) (GH-115328)

Keep the page though, because people might still rely on it (the traffic shows that they do).
Instead of our own manual we now give links to the 3rd-party ones.

(cherry picked from commit 705c76d4a202f1faf41027d48d44eac0e76bb1f0)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
20 months ago[3.11] gh-115399: Document CVE-2023-52425 under "XML vulnerabilities" (GH-115400...
Miss Islington (bot) [Wed, 21 Feb 2024 11:43:16 +0000 (12:43 +0100)] 
[3.11] gh-115399: Document CVE-2023-52425 under "XML vulnerabilities" (GH-115400) (GH-115761)

Doc/library/xml.rst: Document CVE-2023-52425 under "XML vulnerabilities"
(cherry picked from commit fbd40ce46e7335a5dbaf48a3aa841be22d7302ba)

Co-authored-by: Sebastian Pipping <sebastian@pipping.org>
20 months ago[3.11] gh-115712: Support CSV dialects with delimiter=' ' and skipinitialspace=True...
Serhiy Storchaka [Tue, 20 Feb 2024 19:09:10 +0000 (21:09 +0200)] 
[3.11] gh-115712: Support CSV dialects with delimiter=' ' and skipinitialspace=True (GH-115721) (GH-115729) (GH-115738)

(cherry picked from commit 5ea86f496a4cfb34abbe2b7bb6fa7f25eeeb6294)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
csv.writer() now quotes empty fields if delimiter is a space and
skipinitialspace is true and raises exception if quoting is not possible.
(cherry picked from commit 937d2821501de7adaa5ed8491eef4b7f3dc0940a)

20 months ago[3.11] gh-86291: linecache: get module name from __spec__ if available (GH-22908...
Miss Islington (bot) [Tue, 20 Feb 2024 18:18:16 +0000 (19:18 +0100)] 
[3.11] gh-86291: linecache: get module name from __spec__ if available (GH-22908) (GH-115732)

This allows getting source code for the __main__ module when a custom
loader is used.
(cherry picked from commit e976baba99a5c243ff3a3b5ef2fd14608a398338)

Co-authored-by: Eugene Toder <eltoder@users.noreply.github.com>
20 months ago[3.11] Add missed `stream` argument (GH-111775) (#115717)
Miss Islington (bot) [Tue, 20 Feb 2024 16:36:59 +0000 (17:36 +0100)] 
[3.11] Add missed `stream` argument (GH-111775) (#115717)

Add missed `stream` argument (GH-111775)

* Add missed `stream` argument

* Add news
(cherry picked from commit 1ff6c1416b0bb422f4847cd84fcb33662a2497ef)

Co-authored-by: Alexander Shadchin <shadchin@yandex-team.com>
20 months ago[3.11] gh-114572: Fix locking in cert_store_stats and get_ca_certs (GH-114573) (...
Miss Islington (bot) [Tue, 20 Feb 2024 16:34:44 +0000 (17:34 +0100)] 
[3.11] gh-114572: Fix locking in cert_store_stats and get_ca_certs (GH-114573) (#115549)

gh-114572: Fix locking in cert_store_stats and get_ca_certs (GH-114573)

* gh-114572: Fix locking in cert_store_stats and get_ca_certs

cert_store_stats and get_ca_certs query the SSLContext's X509_STORE with
X509_STORE_get0_objects, but reading the result requires a lock. See
https://github.com/openssl/openssl/pull/23224 for details.

Instead, use X509_STORE_get1_objects, newly added in that PR.
X509_STORE_get1_objects does not exist in current OpenSSLs, but we can
polyfill it with X509_STORE_lock and X509_STORE_unlock.

* Work around const-correctness problem

* Add missing X509_STORE_get1_objects failure check

* Add blurb
(cherry picked from commit bce693111bff906ccf9281c22371331aaff766ab)

Co-authored-by: David Benjamin <davidben@google.com>
20 months ago[3.11] gh-112020: Document the meaning of empty bytes returned by socket.recv() ...
Miss Islington (bot) [Tue, 20 Feb 2024 15:00:30 +0000 (16:00 +0100)] 
[3.11] gh-112020: Document the meaning of empty bytes returned by socket.recv() (GH-112055) (GH-115723)

(cherry picked from commit e71468ba4f5fb2da0cefe9e923b01811cb53fb5f)

Co-authored-by: talcs <talh8787@gmail.com>
20 months ago[3.11] gh-115539: Allow enum.Flag to have None members (GH-115636) (GH-115695)
Miss Islington (bot) [Tue, 20 Feb 2024 00:18:30 +0000 (01:18 +0100)] 
[3.11] gh-115539: Allow enum.Flag to have None members (GH-115636) (GH-115695)

gh-115539: Allow enum.Flag to have None members (GH-115636)
(cherry picked from commit c2cb31bbe1262213085c425bc853d6587c66cae9)

Co-authored-by: Jason Zhang <yurenzhang2017@gmail.com>
20 months agogh-115543: Update py.exe to know about Python 3.13 and to install 3.12 by default...
Miss Islington (bot) [Mon, 19 Feb 2024 21:05:04 +0000 (22:05 +0100)] 
gh-115543: Update py.exe to know about Python 3.13 and to install 3.12 by default (GH-115544)

(cherry picked from commit 6cd18c75a41a74cab69ebef0b7def3e48421bdd1)

Co-authored-by: Steve Dower <steve.dower@python.org>
20 months ago[3.11] gh-115664: Fix versionadded and versionchanged directives in multiprocessing...
Serhiy Storchaka [Mon, 19 Feb 2024 18:52:17 +0000 (20:52 +0200)] 
[3.11] gh-115664: Fix versionadded and versionchanged directives in multiprocessing.rst (GH-115665) (GH-115682)

(cherry picked from commit 8f602981ba95273f036968cfc5ac28fdcd1808fa)

20 months ago[3.11] gh-115664: Fix chronological ordering of versionadded and versionchanged direc...
Brian Schubert [Mon, 19 Feb 2024 18:42:19 +0000 (13:42 -0500)] 
[3.11] gh-115664: Fix chronological ordering of versionadded and versionchanged directives (GH-115676) (#115681)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
20 months ago[3.11] Fix typo in multiprocessing docs (GH-115650) (#115680)
Miss Islington (bot) [Mon, 19 Feb 2024 18:25:59 +0000 (19:25 +0100)] 
[3.11] Fix typo in multiprocessing docs (GH-115650) (#115680)

(cherry picked from commit 57d31ec3598429789492e0b3544efaaffca5799f)

Co-authored-by: Naglis Jonaitis <827324+naglis@users.noreply.github.com>
20 months ago[3.11] gh-60346: Improve handling single-dash options in ArgumentParser.parse_known_a...
Miss Islington (bot) [Mon, 19 Feb 2024 18:20:51 +0000 (19:20 +0100)] 
[3.11] gh-60346: Improve handling single-dash options in ArgumentParser.parse_known_args() (GH-114180) (GH-115674)

(cherry picked from commit e47ecbd0420528f1f9f282d9e7acfcf586a4caa1)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
20 months ago[3.11] Fix test_compile with -O mode (GH-115346) (GH-115673)
Serhiy Storchaka [Mon, 19 Feb 2024 18:06:13 +0000 (20:06 +0200)] 
[3.11] Fix test_compile with -O mode (GH-115346) (GH-115673)

(cherry picked from commit 7b25a82e83ad8fe15e4302bb7655309573affa83)

20 months ago[3.11] gh-115341: Fix loading unit tests with doctests in -OO mode (GH-115342) (GH...
Miss Islington (bot) [Mon, 19 Feb 2024 17:54:59 +0000 (18:54 +0100)] 
[3.11] gh-115341: Fix loading unit tests with doctests in -OO mode (GH-115342) (GH-115672)

(cherry picked from commit 872cc9957a9c8b971448e7377fad865f351da6c9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
20 months ago[3.11] Fix test_py_compile with -O mode (GH-115345) (GH-115670)
Miss Islington (bot) [Mon, 19 Feb 2024 17:45:56 +0000 (18:45 +0100)] 
[3.11] Fix test_py_compile with -O mode (GH-115345) (GH-115670)

(cherry picked from commit 07ef9d86a5efa82d06a8e7e15dd3aff1e946aa6b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
20 months ago[3.11] gh-115652: Fix indentation in the documentation of multiprocessing.get_start_m...
Miss Islington (bot) [Mon, 19 Feb 2024 15:09:07 +0000 (16:09 +0100)] 
[3.11] gh-115652: Fix indentation in the documentation of multiprocessing.get_start_method (GH-115658) (GH-115660)

(cherry picked from commit d504968983c5cd5ddbdf73ccd3693ffb89e7952f)

Co-authored-by: Daniel Haag <121057143+denialhaag@users.noreply.github.com>
20 months ago[3.11] Docs: Add explanation about little/big endian (GH-109841) (#115647)
Miss Islington (bot) [Mon, 19 Feb 2024 07:57:00 +0000 (08:57 +0100)] 
[3.11] Docs: Add explanation about little/big endian (GH-109841) (#115647)

Docs: Add explanation about little/big endian (GH-109841)
(cherry picked from commit 177b9cb52e57da4e62dd8483bcd5905990d03f9e)

Co-authored-by: Simon A. Eugster <simon.eu@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
20 months ago[3.11] gh-115572: Move `codeobject.replace()` docs to the data model … (#115632)
Kirill Podoprigora [Sun, 18 Feb 2024 14:37:27 +0000 (17:37 +0300)] 
[3.11] gh-115572: Move `codeobject.replace()` docs to the data model … (#115632)

* [3.11] gh-115572: Move `codeobject.replace()` docs to the data model (GH-115631)
(cherry picked from commit 0c80da4c14d904a367968955544dd6ae58c8101c)

Co-authored-by: Daler <48939169+daler-sz@users.noreply.github.com>
* Remove note about copy.replace

---------

Co-authored-by: Daler <48939169+daler-sz@users.noreply.github.com>
20 months ago[3.11] gh-108303: Move `Lib/test/sortperf.py` to `Tools/scripts` (GH-114687) (#115626)
Miss Islington (bot) [Sun, 18 Feb 2024 07:43:36 +0000 (08:43 +0100)] 
[3.11] gh-108303: Move `Lib/test/sortperf.py` to `Tools/scripts` (GH-114687) (#115626)

gh-108303: Move `Lib/test/sortperf.py` to `Tools/scripts` (GH-114687)
(cherry picked from commit f9154f8f237e31e7c30f8698f980bee5e494f1e0)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
20 months ago[3.11] gh-101100: Fix Sphinx warnings in `whatsnew/3.2.rst` (GH-115580) (#115590)
Miss Islington (bot) [Sat, 17 Feb 2024 21:51:28 +0000 (22:51 +0100)] 
[3.11] gh-101100: Fix Sphinx warnings in `whatsnew/3.2.rst` (GH-115580) (#115590)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
20 months ago[3.11] gh-115618: Remove improper Py_XDECREFs in property methods (GH-115619) (GH...
Serhiy Storchaka [Sat, 17 Feb 2024 21:47:32 +0000 (23:47 +0200)] 
[3.11] gh-115618: Remove improper Py_XDECREFs in property methods (GH-115619) (GH-115621)

(cherry picked from commit 090dd21ab9379d6a2a6923d6cbab697355fb7165)

20 months ago[3.11] gh-115596: Fix ProgramPriorityTests in test_os permanently changing the proces...
Miss Islington (bot) [Sat, 17 Feb 2024 17:14:41 +0000 (18:14 +0100)] 
[3.11] gh-115596: Fix ProgramPriorityTests in test_os permanently changing the process priority (GH-115610) (GH-115617)

(cherry picked from commit 90dd653a6122a6c5b4b1fe5abe773c4751e5ca25)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
20 months ago[3.11] gh-107155: Fix help() for lambda function with return annotation (GH-115613)
Kirill Podoprigora [Sat, 17 Feb 2024 15:39:48 +0000 (18:39 +0300)] 
[3.11] gh-107155: Fix help() for lambda function with return annotation (GH-115613)

(cherry picked from commit b9a9e3dd62326b726ad2e8e8efd87ca6327b4019)

20 months ago[3.11] Fix ProgramPriorityTests on FreeBSD with high nice value (GH-100145) (GH-115615)
Miss Islington (bot) [Sat, 17 Feb 2024 15:38:38 +0000 (16:38 +0100)] 
[3.11] Fix ProgramPriorityTests on FreeBSD with high nice value (GH-100145) (GH-115615)

It expects priority to be capped with 19, which is the cap for Linux,
but for FreeBSD the cap is 20 and the test fails under the similar
conditions. Tweak the condition to cover FreeBSD as well.
(cherry picked from commit 437924465de5cb81988d1e580797b07090c26a28)

Co-authored-by: Dmitry Marakasov <amdmi3@amdmi3.ru>
20 months ago[3.11] gh-100985: Consistently wrap IPv6 IP address during CONNECT (GH-100986) (GH...
Serhiy Storchaka [Sat, 17 Feb 2024 14:15:21 +0000 (16:15 +0200)] 
[3.11] gh-100985: Consistently wrap IPv6 IP address during CONNECT (GH-100986) (GH-115606)

Update _get_hostport to always remove square brackets
from IPv6 addresses. Then add them if needed
in "CONNECT .." and "Host: ".
(cherry picked from commit 465db27cb983084e718a1fd9519b2726c96935cb)

Co-authored-by: Derek Higgins <derekh@redhat.com>
20 months ago[3.11] Document use of ANY in test assertions (GH-94060) (GH-115608)
Miss Islington (bot) [Sat, 17 Feb 2024 13:24:40 +0000 (14:24 +0100)] 
[3.11] Document use of ANY in test assertions (GH-94060) (GH-115608)

(cherry picked from commit 04005f5021a17b191dae319faaadf1c942af3fe9)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
20 months ago[3.11] gh-96497: Mangle name before symtable lookup in 'symtable_extend_namedexpr_sco...
Serhiy Storchaka [Sat, 17 Feb 2024 13:13:26 +0000 (15:13 +0200)] 
[3.11] gh-96497: Mangle name before symtable lookup in 'symtable_extend_namedexpr_scope' (GH-96561) (GH-115604)

(cherry picked from commit 664965a1c141e8af5eb465d29099781a6a2fc3f3)

Co-authored-by: wookie184 <wookie1840@gmail.com>
20 months ago[3.11] gh-101699: Explain using Match.expand with \g<0> (GH-101701) (GH-115584)
Miss Islington (bot) [Sat, 17 Feb 2024 13:03:43 +0000 (14:03 +0100)] 
[3.11] gh-101699: Explain using Match.expand with \g<0> (GH-101701) (GH-115584)

Update documentation for re library to explain that a backreference `\g<0>` is
expanded to the entire string when using Match.expand().
Note that numeric backreferences to group 0 (`\0`) are not supported.

(cherry picked from commit d2d78088530433f475d9304104bbc0dac2536edd)

Co-authored-by: Stevoisiak <S.Vascellaro@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
20 months ago[3.11] gh-101384: Add socket timeout to ThreadedVSOCKSocketStreamTest and skip it...
Miss Islington (bot) [Sat, 17 Feb 2024 13:02:47 +0000 (14:02 +0100)] 
[3.11] gh-101384: Add socket timeout to ThreadedVSOCKSocketStreamTest and skip it on WSL (GH-101419) (GH-115586)

(cherry picked from commit 9fd420f53d1b1087d2ae648b0efc44107d27d867)

Co-authored-by: Peter Jiping Xie <peter.jp.xie@gmail.com>
20 months ago[3.11] gh-100884: email/_header_value_parser: don't encode list separators (GH-100885...
Miss Islington (bot) [Sat, 17 Feb 2024 13:01:02 +0000 (14:01 +0100)] 
[3.11] gh-100884: email/_header_value_parser: don't encode list separators (GH-100885) (GH-115593)

ListSeparator should not be encoded. This could happen when a long line
pushes its separator to the next line, which would have been encoded.
(cherry picked from commit 09fab93c3d857496c0bd162797fab816c311ee48)

Co-authored-by: Thomas Weißschuh <thomas@t-8ch.de>
20 months ago[3.11] gh-87688: Amend SSLContext.hostname_checks_common_name docs (GH-100517) (GH...
Miss Islington (bot) [Sat, 17 Feb 2024 12:59:31 +0000 (13:59 +0100)] 
[3.11] gh-87688: Amend SSLContext.hostname_checks_common_name docs (GH-100517) (GH-115595)

(cherry picked from commit debb1386be024181c8c003c5cbf61608024aee09)

Co-authored-by: Rami <72725910+ramikg@users.noreply.github.com>
20 months ago[3.11] gh-56499: Update the pickle library's note section for the __setstate__ functi...
Miss Islington (bot) [Sat, 17 Feb 2024 12:56:54 +0000 (13:56 +0100)] 
[3.11] gh-56499: Update the pickle library's note section for the __setstate__ function (GH-101062) (GH-115598)

(cherry picked from commit d5a30a1777f04523c7b151b894e999f5714d8e96)

Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
20 months ago[3.11] gh-95782: Fix io.BufferedReader.tell() etc. being able to return offsets ...
Miss Islington (bot) [Sat, 17 Feb 2024 12:55:43 +0000 (13:55 +0100)] 
[3.11] gh-95782: Fix io.BufferedReader.tell() etc. being able to return offsets < 0 (GH-99709) (GH-115600)

lseek() always returns 0 for character pseudo-devices like
`/dev/urandom` (for other non-regular files, e.g. `/dev/stdin`, it
always returns -1, to which CPython reacts by raising appropriate
exceptions). They are thus technically seekable despite not having seek
semantics.

When calling read() on e.g. an instance of `io.BufferedReader` that
wraps such a file, `BufferedReader` reads ahead, filling its buffer,
creating a discrepancy between the number of bytes read and the internal
`tell()` always returning 0, which previously resulted in e.g.
`BufferedReader.tell()` or `BufferedReader.seek()` being able to return
positions < 0 even though these are supposed to be always >= 0.

Invariably keep the return value non-negative by returning
max(former_return_value, 0) instead, and add some corresponding tests.
(cherry picked from commit 26800cf25a0970d46934fa9a881c0ef6881d642b)

Co-authored-by: 6t8k <58048945+6t8k@users.noreply.github.com>
20 months ago[3.11] gh-97590: Update docs and tests for ftplib.FTP.voidcmd() (GH-96825) (GH-115602)
Miss Islington (bot) [Sat, 17 Feb 2024 12:54:31 +0000 (13:54 +0100)] 
[3.11] gh-97590: Update docs and tests for ftplib.FTP.voidcmd() (GH-96825) (GH-115602)

Since 2f3941d743481ac48628b8b2c075f2b82762050b this function returns the
response string, rather than nothing.
(cherry picked from commit e88ebc1c4028cf2f0db43659e513440257eaec01)

Co-authored-by: Matthew Hughes <34972397+matthewhughes934@users.noreply.github.com>
20 months ago[3.11] gh-101100: Fix Sphinx warnings in `whatsnew/3.1.rst` (GH-115575) (#115588)
Miss Islington (bot) [Sat, 17 Feb 2024 09:47:54 +0000 (10:47 +0100)] 
[3.11] gh-101100: Fix Sphinx warnings in `whatsnew/3.1.rst` (GH-115575) (#115588)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
20 months ago[3.11] docs: Add glossary term references to shutil docs (GH-115559) (#115579)
Miss Islington (bot) [Fri, 16 Feb 2024 22:12:45 +0000 (23:12 +0100)] 
[3.11] docs: Add glossary term references to shutil docs (GH-115559) (#115579)

docs: Add glossary term references to shutil docs (GH-115559)

Add glossary term references to shutil docs
(cherry picked from commit 318f2190bc93796008b0a4241243b0851b418436)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
20 months ago[3.11] gh-115570: Fix DeprecationWarnings in test_typing (#115571)
Jelle Zijlstra [Fri, 16 Feb 2024 19:37:42 +0000 (11:37 -0800)] 
[3.11] gh-115570: Fix DeprecationWarnings in test_typing (#115571)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
20 months ago[3.11] gh-100734: What's New in 3.x: Add missing detail from 3.x branch (GH-114689...
Hugo van Kemenade [Thu, 15 Feb 2024 15:44:50 +0000 (17:44 +0200)] 
[3.11] gh-100734: What's New in 3.x: Add missing detail from 3.x branch (GH-114689) (#115527)

20 months ago[3.11] gh-108303: Move all `pydoc` related files to `test_pydoc` (GH-114506) (#115501)
Nikita Sobolev [Thu, 15 Feb 2024 13:36:10 +0000 (16:36 +0300)] 
[3.11] gh-108303: Move all `pydoc` related files to `test_pydoc` (GH-114506) (#115501)

(cherry picked from commit ccc76c3e88647e416184bb1f5210b4e8946ae358)

20 months ago[3.11] [3.12] GH-113516: don't set `LDSHARED` when building for WASI (GH-115495)...
Miss Islington (bot) [Thu, 15 Feb 2024 01:34:45 +0000 (02:34 +0100)] 
[3.11] [3.12] GH-113516: don't set `LDSHARED` when building for WASI (GH-115495) (GH-115496) (GH-115497)

[3.12] GH-113516: don't set `LDSHARED` when building for WASI (GH-115495) (GH-115496)
(cherry picked from commit 0e4f73b8e457b1efa57b735205e8e85a3d11d9f2)

Co-authored-by: Brett Cannon <brett@python.org>
20 months ago[3.11] gh-112087: Fix reduce logic for the empty reverse iterator for list (gh-115472)
Donghee Na [Wed, 14 Feb 2024 18:43:39 +0000 (03:43 +0900)] 
[3.11] gh-112087: Fix reduce logic for the empty reverse iterator for list (gh-115472)

20 months ago[3.11] Docs: spell out sentence about ndbm/gdbm file formats (GH-115470) (#115477)
Miss Islington (bot) [Wed, 14 Feb 2024 18:10:06 +0000 (19:10 +0100)] 
[3.11] Docs: spell out sentence about ndbm/gdbm file formats (GH-115470) (#115477)

(cherry picked from commit 49e8fdc1df41b6547fb3255f9e3a44dfb3b81fe0)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
20 months ago[3.11] Upgrade bundled libexpat to 2.6.0 (GH-115399) (GH-115468)
Seth Michael Larson [Wed, 14 Feb 2024 17:29:27 +0000 (11:29 -0600)] 
[3.11] Upgrade bundled libexpat to 2.6.0 (GH-115399) (GH-115468)

Manual backport due to code differences.

20 months ago[3.11] gh-115243: Fix crash in deque.index() when the deque is concurrently modified...
Miss Islington (bot) [Wed, 14 Feb 2024 17:21:12 +0000 (18:21 +0100)] 
[3.11] gh-115243: Fix crash in deque.index() when the deque is concurrently modified (GH-115247) (GH-115466)

(cherry picked from commit 671360161f0b7a5ff4c1d062e570962e851b4bde)

Co-authored-by: kcatss <kcats9731@gmail.com>
20 months ago[3.11] Docs: reword sentences about dbm submodule traits (GH-114609) (#115463)
Miss Islington (bot) [Wed, 14 Feb 2024 15:56:04 +0000 (16:56 +0100)] 
[3.11] Docs: reword sentences about dbm submodule traits (GH-114609) (#115463)

Don't repeatedly say that keys and values are coerced into bytes.
(cherry picked from commit 81e140d10b77f0a41a5581412e3f3471cc77981f)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
20 months ago[3.11] gh-115392: Fix doctest reporting incorrect line numbers for decorated function...
Miss Islington (bot) [Wed, 14 Feb 2024 15:55:48 +0000 (16:55 +0100)] 
[3.11] gh-115392: Fix doctest reporting incorrect line numbers for decorated functions (GH-115440) (#115458)

gh-115392: Fix doctest reporting incorrect line numbers for decorated functions (GH-115440)
(cherry picked from commit bb791c7728e0508ad5df28a90b27e202d66a9cfa)

Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
20 months ago[3.11] gh-101100: Fix sphinx warnings in `c-api/gcsupport.rst` (GH-114786) (#115430)
Hugo van Kemenade [Wed, 14 Feb 2024 14:32:58 +0000 (16:32 +0200)] 
[3.11] gh-101100: Fix sphinx warnings in `c-api/gcsupport.rst` (GH-114786) (#115430)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
20 months ago[3.11] gh-115403: Remove extra colon after "Examples" in datetime documentation ...
Miss Islington (bot) [Wed, 14 Feb 2024 14:07:21 +0000 (15:07 +0100)] 
[3.11] gh-115403: Remove extra colon after "Examples" in datetime documentation (GH-115452) (#115456)

gh-115403: Remove extra colon after "Examples" in datetime documentation (GH-115452)
(cherry picked from commit 6755c4e0c8803a246e632835030c0b8837b3b676)

Co-authored-by: Stanislav Lyu <wallseat@gmail.com>
20 months ago[3.11] gh-115450: Fix direct invocation of `test_desctut` (GH-115451) (#115454)
Miss Islington (bot) [Wed, 14 Feb 2024 14:04:23 +0000 (15:04 +0100)] 
[3.11] gh-115450: Fix direct invocation of `test_desctut` (GH-115451) (#115454)

gh-115450: Fix direct invocation of `test_desctut` (GH-115451)
(cherry picked from commit ec8909a23931338f81803ea3f18dc2073f74a152)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
20 months ago[3.11] ftplib docs: `timeout` doesn't have to be a whole number (GH-115443) (#115446)
Miss Islington (bot) [Wed, 14 Feb 2024 10:48:10 +0000 (11:48 +0100)] 
[3.11] ftplib docs: `timeout` doesn't have to be a whole number (GH-115443) (#115446)

ftplib docs: `timeout` doesn't have to be a whole number (GH-115443)
(cherry picked from commit 3fd2ad8241a61e75b2cd33c697af276863efbb51)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
20 months ago[3.11] gh-113437: Update documentation about PyUnicode_AsWideChar() function (GH...
Miss Islington (bot) [Wed, 14 Feb 2024 10:24:54 +0000 (11:24 +0100)] 
[3.11] gh-113437: Update documentation about PyUnicode_AsWideChar() function (GH-113455) (GH-115408)

(cherry picked from commit 5719aa23ab7f1c7a5f03309ca4044078a98e7b59)

Co-authored-by: qqwqqw689 <114795525+qqwqqw689@users.noreply.github.com>
20 months ago[3.11] gh-115383: Use runner version to compute config.cache key (GH-115409) (#115428)
Hugo van Kemenade [Wed, 14 Feb 2024 07:21:29 +0000 (09:21 +0200)] 
[3.11] gh-115383: Use runner version to compute config.cache key (GH-115409) (#115428)

Co-authored-by: Sam Gross <colesbury@gmail.com>
20 months ago[3.11] gh-115405: add versionadded tag for co_qualname in code objects documentation...
Miss Islington (bot) [Tue, 13 Feb 2024 16:16:22 +0000 (17:16 +0100)] 
[3.11] gh-115405: add versionadded tag for co_qualname in code objects documentation (GH-115411) (#115413)

gh-115405: add versionadded tag for co_qualname in code objects documentation (GH-115411)
(cherry picked from commit de07941729b8899b187b8ef9690f9a74b2d6286b)

Co-authored-by: Christophe Papazian <114495376+christophe-papazian@users.noreply.github.com>
20 months ago[3.11] gh-115252: Fix test_enum with -OO mode again (GH-115334) (GH-115397)
Serhiy Storchaka [Tue, 13 Feb 2024 10:40:40 +0000 (12:40 +0200)] 
[3.11] gh-115252: Fix test_enum with -OO mode again (GH-115334) (GH-115397)

(cherry picked from commit ca3604a3e33d833ef698b44a4b82c5bc8c771fcb)

20 months ago[3.11] gh-114563: C decimal falls back to pydecimal for unsupported format strings...
John Belmonte [Tue, 13 Feb 2024 08:38:06 +0000 (17:38 +0900)] 
[3.11] gh-114563: C decimal falls back to pydecimal for unsupported format strings (GH-114879) (GH-115384)

Immediate merits:
* eliminate complex workarounds for 'z' format support
  (NOTE: mpdecimal recently added 'z' support, so this becomes
  efficient in the long term.)
* fix 'z' format memory leak
* fix 'z' format applied to 'F'
* fix missing 'GH-' format support

Suggested and prototyped by Stefan Krah.

Fixes gh-114563, gh-91060

(cherry picked from commit 72340d15cdfdfa4796fdd7c702094c852c2b32d2)
(cherry picked from commit 09c98e4633848ce05df8621f41eb09954b55217a)

Co-authored-by: Stefan Krah <skrah@bytereef.org>
20 months ago[3.11] Update "Using Python on a Mac" (GH-115024) (#115388)
Miss Islington (bot) [Tue, 13 Feb 2024 07:06:35 +0000 (08:06 +0100)] 
[3.11] Update "Using Python on a Mac" (GH-115024) (#115388)

Update "Using Python on a Mac" (GH-115024)
(cherry picked from commit 0a6e1a4119864bec0247b04a5c99fdd9799cd8eb)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
20 months ago[3.11] gh-115317: Rewrite changelog filter to use vanilla JavaScript (GH-115324)...
Miss Islington (bot) [Tue, 13 Feb 2024 05:30:54 +0000 (06:30 +0100)] 
[3.11] gh-115317: Rewrite changelog filter to use vanilla JavaScript (GH-115324) (#115373)

gh-115317: Rewrite changelog filter to use vanilla JavaScript (GH-115324)
(cherry picked from commit 341d7874f063dcb141672b09f62c19ffedd0a557)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
20 months ago[3.11] gh-115233: Fix an example in the Logging Cookbook (GH-115325) (GH-115355)...
Miss Islington (bot) [Mon, 12 Feb 2024 21:25:47 +0000 (22:25 +0100)] 
[3.11] gh-115233: Fix an example in the Logging Cookbook (GH-115325) (GH-115355) (GH-115357)

Also add more tests for LoggerAdapter.

Also support stacklevel in LoggerAdapter._log().
(cherry picked from commit 225856ef3e6c5e4f234ede1dd118b57f6e8f6d0e)
(cherry picked from commit 91822018eeba12a6c9eabbc748363b2fd4291b30)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
20 months ago[3.11] gh-115285: Fix `test_dataclasses` with `-OO` mode (GH-115286) (#115358)
Miss Islington (bot) [Mon, 12 Feb 2024 20:21:18 +0000 (21:21 +0100)] 
[3.11] gh-115285: Fix `test_dataclasses` with `-OO` mode (GH-115286) (#115358)

gh-115285: Fix `test_dataclasses` with `-OO` mode (GH-115286)
(cherry picked from commit 4297d7301b97aba2e0df9f9cc5fa4010e53a8950)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
20 months ago[3.11] Remove stray backtick in NEWS entry (GH-115356) (#115363)
Miss Islington (bot) [Mon, 12 Feb 2024 19:30:22 +0000 (20:30 +0100)] 
[3.11] Remove stray backtick in NEWS entry (GH-115356) (#115363)

Remove stray backtick in NEWS entry (GH-115356)
(cherry picked from commit a82fbc13d0e352b9af7d7ffbef4bc04cf635f07f)

Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
20 months ago[3.11] gh-101100: Fix Sphinx warnings in `whatsnew/2.7.rst` and related (GH-115319...
Hugo van Kemenade [Mon, 12 Feb 2024 14:37:28 +0000 (16:37 +0200)] 
[3.11] gh-101100: Fix Sphinx warnings in `whatsnew/2.7.rst` and related (GH-115319) (#115331)

20 months ago[3.11] Add missing sections to blurbs (GH-114553) (#115337)
Miss Islington (bot) [Mon, 12 Feb 2024 14:22:41 +0000 (15:22 +0100)] 
[3.11] Add missing sections to blurbs (GH-114553) (#115337)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
20 months ago[3.11] gh-115198: Fix support of Docutils >= 0.19 in distutils (GH-115220)
Serhiy Storchaka [Mon, 12 Feb 2024 11:45:22 +0000 (13:45 +0200)] 
[3.11] gh-115198: Fix support of Docutils >= 0.19 in distutils (GH-115220)

20 months ago[3.11] gh-101100: Clean up Doc/c-api/exceptions.rst and Doc/c-api/sys.rst (GH-114825...
Skip Montanaro [Mon, 12 Feb 2024 10:54:44 +0000 (04:54 -0600)] 
[3.11] gh-101100: Clean up Doc/c-api/exceptions.rst and Doc/c-api/sys.rst (GH-114825) (GH-115311)

(cherry picked from commit e1552fd19de17e7a6daa3c2a6d1ca207bb8eaf8e)

20 months ago[3.11] gh-115252: Fix `test_enum` with `-OO` mode (GH-115253) (#115279)
Nikita Sobolev [Sun, 11 Feb 2024 15:19:59 +0000 (18:19 +0300)] 
[3.11] gh-115252: Fix `test_enum` with `-OO` mode (GH-115253) (#115279)

(cherry picked from commit 33f56b743285f8419e92cfabe673fa165165a580)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
20 months ago[3.11] [3.12] gh-97959: Fix rendering of routines in pydoc (GH-113941) (GH-115296...
Serhiy Storchaka [Sun, 11 Feb 2024 15:19:43 +0000 (17:19 +0200)] 
[3.11] [3.12] gh-97959: Fix rendering of routines in pydoc (GH-113941) (GH-115296) (GH-115302)

* Class methods no longer have "method of builtins.type instance" note.
* Corresponding notes are now added for class and unbound methods.
* Method and function aliases now have references to the module or the
  class where the origin was defined if it differs from the current.
* Bound methods are now listed in the static methods section.
* Methods of builtin classes are now supported as well as methods of
  Python classes.
(cherry picked from commit 2939ad02be62110ffa2ac6c4d9211c85e1d1720f)
(cherry picked from commit cfb79caaab6c4823b6b186aabab642c4dab3927f)

20 months ago[3.11] gh-113468: Remove the "_new_ suffix from class names in pydocfodder (GH-113469...
Miss Islington (bot) [Sun, 11 Feb 2024 14:51:32 +0000 (15:51 +0100)] 
[3.11] gh-113468: Remove the "_new_ suffix from class names in pydocfodder (GH-113469) (GH-115300)

(cherry picked from commit 8a3d0e4a661e6c27e4c17c818ce4187a36579e5f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
20 months ago[3.11] gh-99430: Remove duplicated tests for old-styled classes (GH-99432) (GH-115298)
Serhiy Storchaka [Sun, 11 Feb 2024 14:29:23 +0000 (16:29 +0200)] 
[3.11] gh-99430: Remove duplicated tests for old-styled classes (GH-99432) (GH-115298)

python 1 & 2 were a loong time ago.
(cherry picked from commit d329f859b9cea9e6fa76fdf03927f659cf17786b)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
20 months ago[3.11] gh-115011: Improve support of __index__() in setters of members with unsigned...
Serhiy Storchaka [Sun, 11 Feb 2024 12:03:48 +0000 (14:03 +0200)] 
[3.11] gh-115011: Improve support of __index__() in setters of members with unsigned integer type (GH-115029) (GH-115295)

Setters for members with an unsigned integer type now support
the same range of valid values for objects that has a __index__()
method as for int.

Previously, Py_T_UINT, Py_T_ULONG and Py_T_ULLONG did not support
objects that has a __index__() method larger than LONG_MAX.

Py_T_ULLONG did not support negative ints. Now it supports them and
emits a RuntimeWarning.
(cherry picked from commit d9d6909697501a2604d5895f9f88aeec61274ab0)

20 months ago[3.11] gh-79382: Fix recursive glob() with trailing "**" (GH-115134) (GH-115291)
Miss Islington (bot) [Sun, 11 Feb 2024 11:04:02 +0000 (12:04 +0100)] 
[3.11] gh-79382: Fix recursive glob() with trailing "**" (GH-115134) (GH-115291)

Trailing "**" no longer allows to match files and non-existing paths in
recursive glob().
(cherry picked from commit aeffc7f8951e04258f0fd8cadfa6cd8b704730f6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
20 months ago[3.11] gh-115172: Fix explicit index extries for the C API (GH-115173) (GH-115293)
Serhiy Storchaka [Sun, 11 Feb 2024 10:42:28 +0000 (12:42 +0200)] 
[3.11] gh-115172: Fix explicit index extries for the C API (GH-115173) (GH-115293)

(cherry picked from commit 573acb30f22a84c0f2c951efa002c9946e29b6a3)

20 months ago[3.11] gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) (GH-115289)
Miss Islington (bot) [Sun, 11 Feb 2024 10:38:04 +0000 (11:38 +0100)] 
[3.11] gh-115133: Fix tests for XMLPullParser with Expat 2.6.0 (GH-115164) (GH-115289)

Feeding the parser by too small chunks defers parsing to prevent
CVE-2023-52425. Future versions of Expat may be more reactive.
(cherry picked from commit 4a08e7b3431cd32a0daf22a33421cd3035343dc4)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
20 months ago[3.11] gh-101100: Fix dangling refs in bdb.rst (GH-114983) (#115284)
Miss Islington (bot) [Sun, 11 Feb 2024 09:28:03 +0000 (10:28 +0100)] 
[3.11] gh-101100: Fix dangling refs in bdb.rst (GH-114983) (#115284)

gh-101100: Fix dangling refs in bdb.rst (GH-114983)
(cherry picked from commit 1b895914742d20ccebd1b56b1b0936b7e00eb95e)

Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
Co-authored-by: AN Long <aisk@users.noreply.github.com>
20 months ago[3.11] gh-115274: Fix direct invocation of testmock/testpatch.py (GH-115275) (#115281)
Nikita Sobolev [Sun, 11 Feb 2024 09:14:25 +0000 (12:14 +0300)] 
[3.11] gh-115274: Fix direct invocation of testmock/testpatch.py (GH-115275) (#115281)

(cherry picked from commit f8e9c57067e32baab4ed2fd824b892c52ecb7225)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
20 months ago[3.11] gh-115249: Fix `test_descr` with `-OO` mode (GH-115250) (#115278)
Miss Islington (bot) [Sun, 11 Feb 2024 08:57:58 +0000 (09:57 +0100)] 
[3.11] gh-115249: Fix `test_descr` with `-OO` mode (GH-115250) (#115278)

gh-115249: Fix `test_descr` with `-OO` mode (GH-115250)
(cherry picked from commit 1f23837277e604f41589273aeb3a10377d416510)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
20 months ago[3.11] gh-115254: Fix `test_property` with `-00` mode (GH-115255) (#115262)
Miss Islington (bot) [Sun, 11 Feb 2024 07:58:51 +0000 (08:58 +0100)] 
[3.11] gh-115254: Fix `test_property` with `-00` mode (GH-115255) (#115262)

(cherry picked from commit b70a68fbd6b72a25b5ef430603e39c9e40f40d29)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
20 months ago[3.11] gh-114670: Fix `_testbuffer` module initialization (GH-114672) (#115271)
Miss Islington (bot) [Sun, 11 Feb 2024 07:53:17 +0000 (08:53 +0100)] 
[3.11] gh-114670: Fix `_testbuffer` module initialization (GH-114672) (#115271)

(cherry picked from commit 3a5b38e3b465e00f133ff8074a2d4afb1392dfb5)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
20 months ago[3.11] gh-115059: Remove debugging code in test_io (GH-115240) (GH-115245)
Miss Islington (bot) [Sat, 10 Feb 2024 14:04:32 +0000 (15:04 +0100)] 
[3.11] gh-115059: Remove debugging code in test_io (GH-115240) (GH-115245)

(cherry picked from commit 597fad07f7bf709ac7084ac20aa3647995759b01)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
20 months ago[3.11] gh-114552: Update `__dir__` method docs: it allows returning an iterable ...
Miss Islington (bot) [Sat, 10 Feb 2024 08:54:43 +0000 (09:54 +0100)] 
[3.11] gh-114552: Update `__dir__` method docs: it allows returning an iterable (GH-114662) (#115235)

gh-114552: Update `__dir__` method docs: it allows returning an iterable (GH-114662)
(cherry picked from commit e19103a346f0277c44a43dfaebad9a5aa468bf1e)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
20 months ago[3.11] gh-115198: Fix test_check_metadata_deprecation in test_distutils (#115200)
Serhiy Storchaka [Fri, 9 Feb 2024 23:23:29 +0000 (01:23 +0200)] 
[3.11] gh-115198: Fix test_check_metadata_deprecation in test_distutils (#115200)

* [3.11] gh-115198: Fix test_check_metadata_deprecation in test_distutils

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
---------

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
20 months ago[3.11] gh-115165: Fix `typing.Annotated` for immutable types (GH-115213) (#115228)
Miss Islington (bot) [Fri, 9 Feb 2024 22:43:24 +0000 (23:43 +0100)] 
[3.11] gh-115165: Fix `typing.Annotated` for immutable types (GH-115213) (#115228)

gh-115165: Fix `typing.Annotated` for immutable types (GH-115213)

The return value from an annotated callable can raise any exception from
__setattr__ for the `__orig_class__` property.
(cherry picked from commit 564385612cdf72c2fa8e629a68225fb2cd3b3d99)

Co-authored-by: dave-shawley <daveshawley@gmail.com>
20 months ago[3.11] gh-101100: Fix sphinx warnings in `library/enum.rst` (GH-114696) (GH-115209)
Nikita Sobolev [Fri, 9 Feb 2024 20:09:59 +0000 (23:09 +0300)] 
[3.11] gh-101100: Fix sphinx warnings in `library/enum.rst` (GH-114696) (GH-115209)

20 months ago[3.11] Docs: correctly link to code objects (GH-115214) (#115217)
Miss Islington (bot) [Fri, 9 Feb 2024 14:18:01 +0000 (15:18 +0100)] 
[3.11] Docs: correctly link to code objects (GH-115214) (#115217)

(cherry picked from commit 769d4448260aaec687d9306950225316f9faefce)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
20 months ago[3.11] gh-115059: Flush the underlying write buffer in io.BufferedRandom.read1()...
Miss Islington (bot) [Fri, 9 Feb 2024 11:01:47 +0000 (12:01 +0100)] 
[3.11] gh-115059: Flush the underlying write buffer in io.BufferedRandom.read1() (GH-115163) (GH-115206)

(cherry picked from commit 846fd721d518dda88a7d427ec3d2c03c45d9fa90)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
20 months agogh-115167: Exclude vcruntime140_threads.dll from Windows build output (GH-115176)
Miss Islington (bot) [Thu, 8 Feb 2024 22:19:11 +0000 (23:19 +0100)] 
gh-115167: Exclude vcruntime140_threads.dll from Windows build output (GH-115176)

(cherry picked from commit 5914a211ef5542edd1f792c2684e373a42647b04)

Co-authored-by: adang1345 <adang1345@gmail.com>
20 months ago[3.11] gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python 3.11...
Miss Islington (bot) [Thu, 8 Feb 2024 22:02:45 +0000 (23:02 +0100)] 
[3.11] gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python 3.11 (GH-115107) (GH-115118)

change versionchanged to versionadded
(cherry picked from commit 3f71c416c085cfaed49ef325f70eb374a4966256)

Co-authored-by: Finite State Machine <38001514+finite-state-machine@users.noreply.github.com>
21 months ago[3.11] gh-115136: Fix possible NULL deref in getpath_joinpath() (GH-115137) (ПР-115158)
Miss Islington (bot) [Thu, 8 Feb 2024 09:18:16 +0000 (10:18 +0100)] 
[3.11] gh-115136: Fix possible NULL deref in getpath_joinpath() (GH-115137) (ПР-115158)

(cherry picked from commit 9e90313320a2af2d9ff7049ed3842344ed236630)

Signed-off-by: Artem Chernyshev <artem.chernyshev@red-soft.ru>
Co-authored-by: Artem Chernyshev <62871052+dTenebrae@users.noreply.github.com>
21 months ago[3.11] gh-115146: Fix typo in pickletools.py documentation (GH-115148) (GH-115156)
Miss Islington (bot) [Thu, 8 Feb 2024 08:32:46 +0000 (09:32 +0100)] 
[3.11] gh-115146: Fix typo in pickletools.py documentation (GH-115148) (GH-115156)

(cherry picked from commit 4a7f63869aa61b24a7cc2d33f8a5e5a7fd0d76a4)

Co-authored-by: Justin Applegate <70449145+Legoclones@users.noreply.github.com>
21 months ago[3.11] gh-101100: Fix Py_DEBUG dangling Sphinx references (#115003) (#115141)
Skip Montanaro [Wed, 7 Feb 2024 17:16:51 +0000 (11:16 -0600)] 
[3.11] gh-101100: Fix Py_DEBUG dangling Sphinx references (#115003) (#115141)

gh-101100: Fix Py_DEBUG dangling Sphinx references (#115003)

(cherry picked from commit d0322fdf2c1a7292a43959fe5a572d783b88a1c4)

21 months ago[3.11] gh-103224: Resolve paths properly in test_sysconfig (GH-103292) (GH-115101)
Miss Islington (bot) [Wed, 7 Feb 2024 09:36:27 +0000 (10:36 +0100)] 
[3.11] gh-103224: Resolve paths properly in test_sysconfig (GH-103292) (GH-115101)

To pass tests when executed through a Python symlink.

(cherry picked from commit 71239d50b54c90afd3fdde260848e0c6d73a5c27)

Co-authored-by: Artem Mukhin <artem.m.mukhin@gmail.com>
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
21 months agoMerge remote-tracking branch 'upstream/3.11' into 3.11
Pablo Galindo [Tue, 6 Feb 2024 23:38:43 +0000 (23:38 +0000)] 
Merge remote-tracking branch 'upstream/3.11' into 3.11

21 months agoPost 3.11.8
Pablo Galindo [Tue, 6 Feb 2024 23:38:18 +0000 (23:38 +0000)] 
Post 3.11.8

21 months ago[3.11] gh-115009: Update Windows installer to use SQLite 3.45.1 (#115065) (#115111)
Erlend E. Aasland [Tue, 6 Feb 2024 23:06:34 +0000 (00:06 +0100)] 
[3.11] gh-115009: Update Windows installer to use SQLite 3.45.1 (#115065) (#115111)

(cherry picked from commit 11ac6f5354ec7a4da2a7e052d27d636b5a41c714)

21 months agoPython 3.11.8 v3.11.8
Pablo Galindo [Tue, 6 Feb 2024 21:20:31 +0000 (21:20 +0000)] 
Python 3.11.8

21 months ago[3.11] GH-gh-75705: Set unixfrom envelope in mailbox._mboxMMDF (GH-107117) (GH-115099)
Miss Islington (bot) [Tue, 6 Feb 2024 19:16:54 +0000 (20:16 +0100)] 
[3.11] GH-gh-75705: Set unixfrom envelope in mailbox._mboxMMDF (GH-107117) (GH-115099)

(cherry picked from commit 76108b8b05040fc49a6bc50eb2e990576595c57c)

Co-authored-by: Matthieu Caneill <matthieucan@users.noreply.github.com>
21 months ago[3.11] gh-46968: Fix invalid reference to Sound eXchange (SoX) 12.17.7 license (GH...
Miss Islington (bot) [Tue, 6 Feb 2024 18:22:48 +0000 (19:22 +0100)] 
[3.11] gh-46968: Fix invalid reference to Sound eXchange (SoX) 12.17.7 license (GH-115094) (GH-115095)

(cherry picked from commit b39119916c0daaf5e5fdfec63e18ad97f29e2e72)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
21 months ago[3.11] gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) (GH-115080)
Miss Islington (bot) [Tue, 6 Feb 2024 14:54:05 +0000 (15:54 +0100)] 
[3.11] gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877) (GH-115080)

gh-111239: Update Windows build to use zlib 1.3.1 (GH-114877)
(cherry picked from commit 618d7256e78da8200f6e2c6235094a1ef885dca4)

Co-authored-by: Zachary Ware <zach@python.org>
21 months ago[3.11] gh-89811: Check for valid tp_version_tag in specializer (GH-115045)
Peter Lazorchak [Tue, 6 Feb 2024 13:58:30 +0000 (05:58 -0800)] 
[3.11] gh-89811: Check for valid tp_version_tag in specializer (GH-115045)

* gh-89811: Check for valid tp_version_tag in specializer (GH-113558)

* gh-113937 Fix failures in type cache tests due to re-running (GH-113953)

* Update backported code for 3.11 specifically