]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
14 months ago[3.12] gh-123254: Improve `tuple` C API docs with more info about errors (GH-123255...
Miss Islington (bot) [Wed, 28 Aug 2024 07:37:06 +0000 (09:37 +0200)] 
[3.12] gh-123254: Improve `tuple` C API docs with more info about errors (GH-123255) (#123415)

gh-123254: Improve `tuple` C API docs with more info about errors (GH-123255)
(cherry picked from commit 6f563e364d1a7902417573f842019746a79cdc1b)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
14 months ago[3.12] gh-121804: Backport idlelib.pyshell change (GH-121886) (#123366)
Terry Jan Reedy [Mon, 26 Aug 2024 23:59:14 +0000 (19:59 -0400)] 
[3.12] gh-121804: Backport idlelib.pyshell change (GH-121886) (#123366)

To aid future backports here.

14 months ago[3.12] Further revise idlelib/Icons/README.text (GH-123364) (#123365)
Miss Islington (bot) [Mon, 26 Aug 2024 22:08:47 +0000 (00:08 +0200)] 
[3.12] Further revise idlelib/Icons/README.text (GH-123364) (#123365)

In particular, add trademark derivative approval information.
(cherry picked from commit fe85a8291d9aa11c9ce9e207c39ea0a0c35f9625)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
14 months ago[3.12] Rewrite idlelib/Icons/README.txt (GH-123329) (#123331)
Miss Islington (bot) [Mon, 26 Aug 2024 02:40:13 +0000 (04:40 +0200)] 
[3.12] Rewrite idlelib/Icons/README.txt (GH-123329) (#123331)

Rewrite idlelib/Icons/README.txt (GH-123329)
(cherry picked from commit 6401cdf90810252a0de1775cac2f4f2f7c6b1d5a)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
14 months ago[3.12] gh-82378: Document the difference between sys.tracebacklimit and the limit...
Miss Islington (bot) [Sun, 25 Aug 2024 22:57:16 +0000 (00:57 +0200)] 
[3.12] gh-82378: Document the difference between sys.tracebacklimit and the limit arguments (GH-123286) (#123326)

gh-82378: Document the difference between sys.tracebacklimit and the limit arguments (GH-123286)
(cherry picked from commit 70bfef52b5734d6cd81c5e8ca9eaf85658916b04)

Co-authored-by: CF Bolz-Tereick <cfbolz@gmx.de>
14 months ago[3.12] gh-123297: Propagate LD_FLAGS to LDCXXSHARED in sysconfig (GH-123298) (#123320)
Miss Islington (bot) [Sun, 25 Aug 2024 20:18:57 +0000 (22:18 +0200)] 
[3.12] gh-123297: Propagate LD_FLAGS to LDCXXSHARED in sysconfig (GH-123298) (#123320)

gh-123297: Propagate LD_FLAGS to LDCXXSHARED in sysconfig (GH-123298)
(cherry picked from commit c535a49e9260ad0fac022474f6381836051c9758)

Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
14 months ago[3.12] gh-122982: Extend the deprecation period for bool inversion by two years ...
Miss Islington (bot) [Sun, 25 Aug 2024 19:40:11 +0000 (21:40 +0200)] 
[3.12] gh-122982: Extend the deprecation period for bool inversion by two years (GH-123306) (#123317)

gh-122982: Extend the deprecation period for bool inversion by two years (GH-123306)
(cherry picked from commit 249b083ed8b3cfdff30bf578d7f9d3c5e982a4eb)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
14 months ago[3.12] gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with...
Miss Islington (bot) [Sat, 24 Aug 2024 22:37:11 +0000 (00:37 +0200)] 
[3.12] gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with backslashes (GH-123075) (#123104)

gh-123067: Fix quadratic complexity in parsing "-quoted cookie values with backslashes (GH-123075)

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

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.12] Docs: Fix Makefile syntax (GH-123287) (#123289)
Miss Islington (bot) [Sat, 24 Aug 2024 15:29:21 +0000 (17:29 +0200)] 
[3.12] Docs: Fix Makefile syntax (GH-123287) (#123289)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
14 months ago[3.12] gh-123229: Fix valgrind warning by initializing the f-string buffers to 0...
Pablo Galindo Salgado [Fri, 23 Aug 2024 13:04:25 +0000 (14:04 +0100)] 
[3.12] gh-123229: Fix valgrind warning by initializing the f-string buffers to 0 in the tokenizer (GH-123263) (#123265)

(cherry picked from commit adc5190014efcf7b7a4c5dfc9998faa8345527ed)

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
14 months ago[3.12] gh-122478: Remove internal frames from tracebacks in REPL (GH-122528) (GH...
Serhiy Storchaka [Fri, 23 Aug 2024 06:27:03 +0000 (09:27 +0300)] 
[3.12] gh-122478: Remove internal frames from tracebacks in REPL (GH-122528) (GH-122816)

Frames of methods in code and codeop modules was show with non-default
sys.excepthook.

Save correct tracebacks in sys.last_traceback and update __traceback__
attribute of sys.last_value and sys.last_exc.
(cherry picked from commit e73e7a7abdc3fed252affcb1629df1b3c8fff2ef)

14 months ago[3.12] gh-123083: Fix a potential use-after-free in ``STORE_ATTR_WITH… (#123237)
Donghee Na [Thu, 22 Aug 2024 16:37:40 +0000 (01:37 +0900)] 
[3.12] gh-123083: Fix a potential use-after-free in ``STORE_ATTR_WITH… (#123237)

[3.12] gh-123083: Fix a potential use-after-free in ``STORE_ATTR_WITH_HINT`` (gh-123092)
(cherry picked from commit 297f2e093ec95800ae2184330b8408c875523467)

14 months ago[3.12] gh-123142: Fix too wide source locations in tracebacks of exceptions from...
Irit Katriel [Thu, 22 Aug 2024 09:22:43 +0000 (10:22 +0100)] 
[3.12] gh-123142: Fix too wide source locations in tracebacks of exceptions from broken iterables in comprehensions (GH-123173). (#123210)

(cherry picked from commit ec89620e5e147ba028a46dd695ef073a72000b84)

14 months ago[3.12] gh-123110: correct note about _Bool in the struct module docs (GH-123111)...
Miss Islington (bot) [Mon, 19 Aug 2024 07:31:12 +0000 (09:31 +0200)] 
[3.12] gh-123110: correct note about _Bool in the struct module docs (GH-123111) (#123127)

gh-123110: correct note about _Bool in the struct module docs (GH-123111)
(cherry picked from commit b0f462d4c808d6fb1d381bba4932acd8309c1f3b)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
14 months ago[3.12] gh-116789: Add more tests for `inspect.getmembers` (GH-116802) (#123130)
Miss Islington (bot) [Sun, 18 Aug 2024 16:18:53 +0000 (18:18 +0200)] 
[3.12] gh-116789: Add more tests for `inspect.getmembers` (GH-116802) (#123130)

gh-116789: Add more tests for `inspect.getmembers` (GH-116802)
(cherry picked from commit c15bfa9a71c8b7ce7ff6d8486f51aab566e8d81d)

Co-authored-by: sobolevn <mail@sobolevn.me>
14 months ago[3.12] Docs: Run ``latexmk`` in parallel when creating PDFs (GH-123113) (#123116)
Miss Islington (bot) [Sat, 17 Aug 2024 21:04:34 +0000 (23:04 +0200)] 
[3.12] Docs: Run ``latexmk`` in parallel when creating PDFs (GH-123113) (#123116)

Docs: Run ``latexmk`` in parallel when creating PDFs (GH-123113)
(cherry picked from commit 79c542b5cc774ba758acc2b2e3b6556934190e34)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
14 months ago[3.12] fix typo in dis.rst (GH-121612) (#123096)
Miss Islington (bot) [Sat, 17 Aug 2024 09:03:04 +0000 (11:03 +0200)] 
[3.12] fix typo in dis.rst (GH-121612) (#123096)

fix typo in dis.rst (GH-121612)
(cherry picked from commit e9287ea426e8e1b930f1c3f0cb949a1416d29090)

Co-authored-by: mathysEthical <110499907+mathysEthical@users.noreply.github.com>
14 months ago[3.12] gh-122519: Adding socket module shutdown() constants description (GH-122543...
Miss Islington (bot) [Sat, 17 Aug 2024 08:35:50 +0000 (10:35 +0200)] 
[3.12] gh-122519: Adding socket module shutdown() constants description (GH-122543) (#123094)

gh-122519: Adding socket module shutdown() constants description (GH-122543)
(cherry picked from commit 8a59deca59aa9452e71bb49e909199fbb41a5de7)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
14 months ago[3.12] gh-112182: Replace StopIteration with RuntimeError for future (GH-113220)...
Miss Islington (bot) [Thu, 15 Aug 2024 15:34:53 +0000 (17:34 +0200)] 
[3.12] gh-112182: Replace StopIteration with RuntimeError for future (GH-113220) (GH-123033)

When an `StopIteration` raises into `asyncio.Future`, this will cause
a thread to hang. This commit address this by not raising an exception
and silently transforming the `StopIteration` with a `RuntimeError`,
which the caller can reconstruct from `fut.exception().__cause__`
(cherry picked from commit 4826d52338396758b2d6790a498c2a06eec19a86)

Co-authored-by: Jamie Phan <jamie@ordinarylab.dev>
14 months ago[3.12] gh-123005: Add version added in enum.Flag.__len__ (GH-123007) (#123025)
Miss Islington (bot) [Wed, 14 Aug 2024 21:30:44 +0000 (23:30 +0200)] 
[3.12] gh-123005: Add version added in enum.Flag.__len__ (GH-123007) (#123025)

gh-123005: Add version added in enum.Flag.__len__ (GH-123007)
(cherry picked from commit 8e2dc7f380c7ffe6b0fe525b4d0558aaed9d7145)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
14 months ago[3.12] gh-122255: Add black box tests in test_warnings (GH-122227) (GH-122819)
Miss Islington (bot) [Wed, 14 Aug 2024 14:12:34 +0000 (16:12 +0200)] 
[3.12] gh-122255: Add black box tests in test_warnings (GH-122227) (GH-122819)

They are similar to white box tests for gh-86298 in test_importlib.
(cherry picked from commit fe13c9baf40673fe369e98626dd87aea8b805aa2)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
14 months ago[3.12] gh-122965: Fix `reusable-change-detection.yml` on `workflow_dispatch` (GH...
Miss Islington (bot) [Wed, 14 Aug 2024 12:32:42 +0000 (14:32 +0200)] 
[3.12] gh-122965: Fix `reusable-change-detection.yml` on `workflow_dispatch` (GH-122966) (#123009)

gh-122965: Fix `reusable-change-detection.yml` on `workflow_dispatch` (GH-122966)
(cherry picked from commit 6ae942f412492b840fc6b43d39ba9133aa890ee7)

Co-authored-by: sobolevn <mail@sobolevn.me>
14 months ago[3.12] Fix `print` usage in `turtle` doctests (GH-122940) (#122978)
Miss Islington (bot) [Tue, 13 Aug 2024 16:58:37 +0000 (18:58 +0200)] 
[3.12] Fix `print` usage in `turtle` doctests (GH-122940) (#122978)

Fix `print` usage in `turtle` doctests (GH-122940)
(cherry picked from commit 901d94992eddd84ded2edc55235cbf22503c4de4)

Co-authored-by: sobolevn <mail@sobolevn.me>
14 months ago[3.12] gh-122944: Fix incorrect prompt strings in the Python Tutorial (GH-122949...
Miss Islington (bot) [Mon, 12 Aug 2024 18:43:53 +0000 (20:43 +0200)] 
[3.12] gh-122944: Fix incorrect prompt strings in the Python Tutorial (GH-122949) (#122955)

gh-122944: Fix incorrect prompt strings in the Python Tutorial (GH-122949)

In the REPL, top level comments are followed by a primary, not secondary prompt.
Fix the places in the in the tutorial that use the latter.
(cherry picked from commit be90648fb2de58b148dcc7553a08ca646911baf2)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
14 months ago[3.12] gh-99437: runpy: decode path-like objects before setting globals (#114838)
Miss Islington (bot) [Mon, 12 Aug 2024 08:22:13 +0000 (10:22 +0200)] 
[3.12] gh-99437: runpy: decode path-like objects before setting globals (#114838)

Co-authored-by: Kamil Turek <kamil.turek@hotmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
14 months ago[3.12] gh-122903: Honor directories in zipfile.Path.glob. (GH-122908) (#122927)
Jason R. Coombs [Mon, 12 Aug 2024 01:03:03 +0000 (21:03 -0400)] 
[3.12] gh-122903: Honor directories in zipfile.Path.glob. (GH-122908) (#122927)

(cherry picked from commit 6aa35f3002dda25858d47e702e750e2871e42a7c)

14 months ago[3.12] gh-122905: Sanitize names in zipfile.Path. (GH-122906) (#122923)
Miss Islington (bot) [Mon, 12 Aug 2024 00:35:17 +0000 (02:35 +0200)] 
[3.12] gh-122905: Sanitize names in zipfile.Path. (GH-122906) (#122923)

14 months ago[3.12] gh-122701: Fix wording of raw strings/bytes in `lexical_analysis.rst` (GH...
Miss Islington (bot) [Sun, 11 Aug 2024 21:09:13 +0000 (23:09 +0200)] 
[3.12] gh-122701: Fix wording of raw strings/bytes in `lexical_analysis.rst` (GH-122702) (#122915)

gh-122701: Fix wording of raw strings/bytes in `lexical_analysis.rst` (GH-122702)
(cherry picked from commit ea70439bd2b5a1c881342646f30942f527f61373)

Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
14 months ago[3.12] Docs: Standardise versionchanged text in weakref.rst (GH-122898) (#122912)
Miss Islington (bot) [Sun, 11 Aug 2024 20:46:05 +0000 (22:46 +0200)] 
[3.12] Docs: Standardise versionchanged text in weakref.rst (GH-122898) (#122912)

Docs: Standardise versionchanged text in weakref.rst (GH-122898)
(cherry picked from commit db8b83c2b0247f1d9b15152bbfcfe4afc7e588ed)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
15 months ago[3.12] GH-120794: Use example paths with multiple parts in pathlib docs (GH-122887...
Miss Islington (bot) [Sat, 10 Aug 2024 21:31:59 +0000 (23:31 +0200)] 
[3.12] GH-120794: Use example paths with multiple parts in pathlib docs (GH-122887) (#122896)

GH-120794: Use example paths with multiple parts in pathlib docs (GH-122887)

In the documentation of `PosixPath` and `WindowsPath`, and their `Pure*`
equivalents, use example paths with multiple non-anchor parts.

(cherry picked from commit 363374cf69a7e2292fe3f1c6bedd199088958cc2)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.12] gh-122868: Add more lower bounds for sphinxcontrib dependencies (GH-122891...
Miss Islington (bot) [Sat, 10 Aug 2024 20:58:38 +0000 (22:58 +0200)] 
[3.12] gh-122868: Add more lower bounds for sphinxcontrib dependencies (GH-122891) (#122894)

gh-122868: Add more lower bounds for sphinxcontrib dependencies (GH-122891)
(cherry picked from commit 0959142e4defcf7a9fcbbb228d2e2b97a074f7ea)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.12] gh-122868: Add lower bounds for sphinxcontrib dependencies (GH-122870) (#122872)
Miss Islington (bot) [Fri, 9 Aug 2024 22:33:38 +0000 (00:33 +0200)] 
[3.12] gh-122868: Add lower bounds for sphinxcontrib dependencies (GH-122870) (#122872)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.12] gh-120083: Add IDLE Hovertip foreground color needed for recent macOS (GH...
Miss Islington (bot) [Fri, 9 Aug 2024 17:12:41 +0000 (19:12 +0200)] 
[3.12] gh-120083: Add IDLE Hovertip foreground color needed for recent macOS (GH-120605) (#122592)

On recent versions of macOS (sometime between Catalina and Sonoma 14.5), the default Hovertip foreground color changed from black to white, thereby matching the background. This might be a matter of matching the white foreground of the dark-mode text. The unreadable result is shown here (GH-120083 (comment)).

The foreground and background colors were made parameters so we can pass different colors for future additional hovertips in IDLE.

---------
(cherry picked from commit 5a7f7c48644baf82988f30bcb43e03dcfceb75dd)

Co-authored-by: John Riggles <jriggles@icloud.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
15 months ago[3.12] gh-79846: Make ssl.create_default_context() ignore invalid certificates (GH...
Miss Islington (bot) [Fri, 9 Aug 2024 16:55:36 +0000 (18:55 +0200)] 
[3.12] gh-79846: Make ssl.create_default_context() ignore invalid certificates (GH-91740) (#122769)

An error in one certificate should not cause the whole thing to fail.

(cherry picked from commit 9e551f9b351440ebae79e07a02d0e4a1b61d139e)

Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.12] gh-113785: csv: fields starting with escapechar are not quoted (GH-122110...
Miss Islington (bot) [Fri, 9 Aug 2024 16:04:29 +0000 (18:04 +0200)] 
[3.12] gh-113785: csv: fields starting with escapechar are not quoted (GH-122110) (GH-122259)

(cherry picked from commit a3327dbfd4db9e5ad1ca514963d503abbbbfede7)

Co-authored-by: Mikołaj Kuranowski <mkuranowski@gmail.com>
15 months ago[3.12] gh-122695: Fix double-free when using `gc.get_referents` with a freed `_asynci...
Victor Stinner [Fri, 9 Aug 2024 14:33:24 +0000 (16:33 +0200)] 
[3.12] gh-122695: Fix double-free when using `gc.get_referents` with a freed `_asyncio.FutureIter` (#122837) (#122859)

[3.13] gh-122695: Fix double-free when using `gc.get_referents` with a freed `_asyncio.FutureIter` (#122837)

* Backport #122834 for 3.13

(cherry picked from commit e8fb088dbaa71dd5f0146b2f4a8f7ecbe2ce9625)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
15 months ago[3.12] gh-122744: test_venv: ignore pip's complaint about missing ssl (GH-122776...
Miss Islington (bot) [Fri, 9 Aug 2024 07:27:11 +0000 (09:27 +0200)] 
[3.12] gh-122744: test_venv: ignore pip's complaint about missing ssl (GH-122776) (GH-122822)

(cherry picked from commit 0d9c123d1ac4f3dd30bdef5182049d9a831eca10)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
15 months ago[3.12] gh-118814: Fix the TypeVar constructor when name is passed by keyword (GH...
Serhiy Storchaka [Thu, 8 Aug 2024 06:49:50 +0000 (09:49 +0300)] 
[3.12] gh-118814: Fix the TypeVar constructor when name is passed by keyword (GH-122664) (GH-122807)

Fix _PyArg_UnpackKeywordsWithVararg for the case when argument for
positional-or-keyword parameter is passed by keyword.
There was only one such case in the stdlib -- the TypeVar constructor.
(cherry picked from commit 540fcc62f5da982b79504221cac01bfab8b73ba1)

15 months agogh-100256: Skip inaccessible registry keys in the WinAPI mimetype implementation...
Miss Islington (bot) [Wed, 7 Aug 2024 18:39:51 +0000 (20:39 +0200)] 
gh-100256: Skip inaccessible registry keys in the WinAPI mimetype implementation (GH-122047)

(cherry picked from commit 0bd93755f37e6b8beb597787fce39eb141179965)

Co-authored-by: Lucas Esposito <LucasEsposito@users.noreply.github.com>
15 months ago[3.12] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122791)
Miss Islington (bot) [Wed, 7 Aug 2024 16:06:54 +0000 (18:06 +0200)] 
[3.12] Docs: Change `remove` to `removes` for consistency (GH-121072) (#122791)

Docs: Change `remove` to `removes` for consistency (GH-121072)
(cherry picked from commit 967a4f1d180d4cd669d5c6e3ac5ba99af4e72d4e)

Co-authored-by: smij720 <122238526+smij720@users.noreply.github.com>
15 months ago[3.12] Doc: cmdline.rst: Include -P and -R in usage (GH-122590) (#122784)
Miss Islington (bot) [Wed, 7 Aug 2024 15:11:12 +0000 (17:11 +0200)] 
[3.12] Doc: cmdline.rst: Include -P and -R in usage (GH-122590) (#122784)

Doc: cmdline.rst: Include -P and -R in usage (GH-122590)

* ``-P``: safe path (https://docs.python.org/3/using/cmdline.htmlGH-cmdoption-P)
* ``-R``: hash randomization (https://docs.python.org/3/using/cmdline.htmlGH-cmdoption-R)
(cherry picked from commit c25898d51e4ec84319b7113d5bf453c6e6519d9c)

Co-authored-by: Wim Jeantine-Glenn <hey@wimglenn.com>
15 months ago[3.12] gh-122511: Improve documentation for object identity of mutable/immutable...
Miss Islington (bot) [Wed, 7 Aug 2024 13:56:40 +0000 (15:56 +0200)] 
[3.12] gh-122511: Improve documentation for object identity of mutable/immutable types (GH-122512) (#122779)

gh-122511: Improve documentation for object identity of mutable/immutable types (GH-122512)
(cherry picked from commit 76bdeebef6c6206f3e0af1e42cbfc75c51fbb8ca)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.12] Workaround 3.12.5 bundled pip 24.2 issue on macOS 10.9 to 10.12. (#122774)
Ned Deily [Wed, 7 Aug 2024 12:29:43 +0000 (08:29 -0400)] 
[3.12] Workaround 3.12.5 bundled pip 24.2 issue on macOS 10.9 to 10.12. (#122774)

Workaround bundled pip 24.2 failures on macOS 10.9 to 10.12 installers.

See https://github.com/pypa/pip/issues/12901 for more information.

15 months agoPost 3.12.5
Thomas Wouters [Wed, 7 Aug 2024 11:34:56 +0000 (13:34 +0200)] 
Post 3.12.5

15 months agoPython 3.12.5 v3.12.5
Thomas Wouters [Tue, 6 Aug 2024 19:02:15 +0000 (21:02 +0200)] 
Python 3.12.5

15 months ago[3.12] gh-122334: Fix test_embed failure when missing _ssl module (GH-122630) (#122648)
Miss Islington (bot) [Tue, 6 Aug 2024 18:59:55 +0000 (20:59 +0200)] 
[3.12] gh-122334: Fix test_embed failure when missing _ssl module (GH-122630) (#122648)

gh-122334: Fix test_embed failure when missing _ssl module (GH-122630)
(cherry picked from commit 50b36037518a8e7f7eee39b597d56b5b2756eb86)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
Co-authored-by: Wulian233 <1055917385@qq.com>
15 months ago[3.12] gh-122744: Bump bundled pip to 24.2 (#122747)
Pradyun Gedam [Tue, 6 Aug 2024 18:50:14 +0000 (19:50 +0100)] 
[3.12] gh-122744: Bump bundled pip to 24.2 (#122747)

(cherry picked from commit 5b8a6c5186be299d96dd483146dc6ea737ffdfe7)

Co-authored-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
15 months ago[3.12] gh-119577: Adjust DeprecationWarning when testing element truth values in...
Gregory P. Smith [Tue, 6 Aug 2024 17:20:06 +0000 (10:20 -0700)] 
[3.12] gh-119577: Adjust DeprecationWarning when testing element truth values in Element tree (GH-119762) (#120190)

gh-119577: Adjust DeprecationWarning when testing element truth values in ElementTree (GH-119762)

Adjust DeprecationWarning when testing element truth values in
ElementTree, we're planning to go with the more natural True return
rather than a disruptive harder to code around exception raise, and are
deferring the behavior change for a few more releases.

Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com>
15 months ago[3.12] gh-117270: Add missed change to COMPARE_OP from 3.12 to dis documentation...
Christopher Chianelli [Tue, 6 Aug 2024 17:19:44 +0000 (13:19 -0400)] 
[3.12] gh-117270: Add missed change to COMPARE_OP from 3.12 to dis documentation (GH-117272) (#117274)

15 months ago[3.12] gh-120104: IDLE: Fix padding in config and search dialogs (GH-120107) (#122741)
Miss Islington (bot) [Tue, 6 Aug 2024 17:07:35 +0000 (19:07 +0200)] 
[3.12] gh-120104: IDLE: Fix padding in config and search dialogs (GH-120107) (#122741)

(cherry picked from commit 4b66b6b7d6e65f9eb2d61435b9b37ffeb7bb00fb)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.12] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233...
Petr Viktorin [Tue, 6 Aug 2024 17:07:19 +0000 (19:07 +0200)] 
[3.12] gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233) (#122599)

* gh-121650: Encode newlines in headers, and verify headers are sound (GH-122233)

- Encode header parts that contain newlines

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.

Co-authored-by: Bas Bloemsaat <bas@bloemsaat.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit 097633981879b3c9de9a1dd120d3aa585ecc2384)

* Document changes as made in 3.12.5

15 months ago[3.12] gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574) (#122677)
Gregory P. Smith [Tue, 6 Aug 2024 16:53:32 +0000 (09:53 -0700)] 
[3.12] gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574) (#122677)

gh-122573: Require Python 3.10 or newer for Windows builds (GH-122574)

Match statements in tooling require a more recent Python. `Tools/cases_generator/*.py`

Co-authored-by: Jonathan Protzenko <protz@microsoft.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
15 months ago[3.12] gh-83505: Add markdown mimetype mapping (GH-17995) (#118594)
Miss Islington (bot) [Tue, 6 Aug 2024 14:05:18 +0000 (16:05 +0200)] 
[3.12] gh-83505: Add markdown mimetype mapping (GH-17995) (#118594)

gh-83505: Add markdown mimetype mapping (GH-17995)
(cherry picked from commit b6f0ab5b1cb6d779efe4867d83a60e8d66c48dee)

Co-authored-by: Ryan Batchelder <ryanbatch@gmail.com>
15 months ago[3.12] Fix syntax in generate_re_casefix.py (GH-122699) (#122722)
Miss Islington (bot) [Tue, 6 Aug 2024 06:42:27 +0000 (08:42 +0200)] 
[3.12] Fix syntax in generate_re_casefix.py (GH-122699) (#122722)

This was broken in gh-97963.
(cherry picked from commit b72c748d7fb4ecc0bc4626c7bc05fbc6c83f0ba8)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
15 months ago[3.12] gh-122613: Document PyLong_GetInfo() (part of Limited API) (GH-122280) (#122644)
Sergey B Kirpichev [Mon, 5 Aug 2024 18:11:42 +0000 (21:11 +0300)] 
[3.12] gh-122613: Document PyLong_GetInfo() (part of Limited API) (GH-122280) (#122644)

[3.12] gh-122613: Document PyLong_GetInfo() (part of Limited API) (GH-GH-122280)
(cherry picked from commit d91ac525ef166edc0083acf5a96f81b87324fe7f)

15 months ago[3.12] gh-121367: [doc] BUILD_TUPLE arg can be 0 (GH-122663) (#122684)
Miss Islington (bot) [Mon, 5 Aug 2024 09:24:22 +0000 (11:24 +0200)] 
[3.12] gh-121367: [doc] BUILD_TUPLE arg can be 0 (GH-122663) (#122684)

gh-121367: [doc] BUILD_TUPLE arg can be 0 (GH-122663)
(cherry picked from commit 1422500d020bd199b26357fc387f8b79b82226cd)

Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
15 months ago[3.12] Add `3.13` and remove `3.7` in Azure Pipelines (GH-122670) (#122672)
Miss Islington (bot) [Sun, 4 Aug 2024 17:16:45 +0000 (19:16 +0200)] 
[3.12] Add `3.13` and remove `3.7` in Azure Pipelines (GH-122670) (#122672)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
15 months ago[3.12] gh-122661: Remove GNU make-specific directive from Doc/Makefile (GH-122662...
Miss Islington (bot) [Sun, 4 Aug 2024 14:24:57 +0000 (16:24 +0200)] 
[3.12] gh-122661: Remove GNU make-specific directive from Doc/Makefile (GH-122662) (#122669)

Co-authored-by: Libor Martínek <libas@acco.cz>
15 months ago[3.12] gh-122623: Improve `c-api/bytearray.rst` with error handling info (GH-122624...
Miss Islington (bot) [Sat, 3 Aug 2024 22:02:24 +0000 (00:02 +0200)] 
[3.12] gh-122623: Improve `c-api/bytearray.rst` with error handling info (GH-122624) (#122659)

gh-122623: Improve `c-api/bytearray.rst` with error handling info (GH-122624)
(cherry picked from commit 151934a324789c58cca9c7bbd6753d735454df5a)

Co-authored-by: sobolevn <mail@sobolevn.me>
15 months ago[3.12] GH-121970: Fix ``gettext`` for audit events (GH-122651) (#122654)
Miss Islington (bot) [Sat, 3 Aug 2024 16:47:43 +0000 (18:47 +0200)] 
[3.12] GH-121970: Fix ``gettext`` for audit events (GH-122651) (#122654)

GH-121970: Fix ``gettext`` for audit events (GH-122651)
(cherry picked from commit 95f5c89b545beaafad73f05a695742da3e90bc41)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.12] Doc: Grammar fix in ``library/ssl.rst``, 'Verifying certificates' (GH-122646...
Miss Islington (bot) [Sat, 3 Aug 2024 13:31:12 +0000 (15:31 +0200)] 
[3.12] Doc: Grammar fix in ``library/ssl.rst``, 'Verifying certificates' (GH-122646) (#122650)

Doc: Grammar fix in ``library/ssl.rst``, 'Verifying certificates' (GH-122646)
(cherry picked from commit 06eb9701a182b4720dfa8766cb41cc5a3728a8b9)

Co-authored-by: scottwoodall <scott.woodall@gmail.com>
15 months ago[3.12] Doc: Improve wording of ``os.path.commonpath()`` (GH-122627) (#122642)
Miss Islington (bot) [Sat, 3 Aug 2024 11:29:51 +0000 (13:29 +0200)] 
[3.12] Doc: Improve wording of ``os.path.commonpath()`` (GH-122627) (#122642)

Doc: Improve wording of ``os.path.commonpath()`` (GH-122627)
(cherry picked from commit 7a5c4103b094aaf1b65af6de65795d172cfe8fe0)

Co-authored-by: Matth-M <93771840+Matth-M@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.12] gh-122334: Fix crash when importing ssl after re-initialization (GH-122481...
neonene [Fri, 2 Aug 2024 13:44:55 +0000 (22:44 +0900)] 
[3.12] gh-122334: Fix crash when importing ssl after re-initialization (GH-122481) (#122495)

Fix crash when importing ssl after re-initialization

The current METH_FASTCALL|METH_KEYWORDS functions in a non-builtin module can cause segfaults after restarting the main interpreter, invoking _PyArg_UnpackKeywords() with an insufficiently cleared _PyArg_Parser struct.

This patch fixes the invalidation of the static argument parsers.

15 months ago[3.12] Fix typos in docs (#122502) (#122605)
Alex Waygood [Fri, 2 Aug 2024 11:59:34 +0000 (12:59 +0100)] 
[3.12] Fix typos in docs (#122502) (#122605)

Co-authored-by: jianghuyiyuan <shuangcui@live.com>
Fix typos in docs, error messages and comments (#122502)

15 months ago[3.12] gh-121723: Relax constraints on queue objects for `logging.handlers.QueueHandl...
Miss Islington (bot) [Fri, 2 Aug 2024 11:46:04 +0000 (13:46 +0200)] 
[3.12] gh-121723: Relax constraints on queue objects for `logging.handlers.QueueHandler`. (GH-122154) (GH-122604)

(cherry picked from commit fb864c76cd5e450e789a7b4095832e118cc49a39)

15 months ago[3.12] gh-122544: Change OS image in readthedocs.yml to ubuntu-24.04 (GH-122568)...
Miss Islington (bot) [Fri, 2 Aug 2024 06:45:14 +0000 (08:45 +0200)] 
[3.12] gh-122544: Change OS image in readthedocs.yml to ubuntu-24.04 (GH-122568) (#122594)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
15 months ago[3.12] Fixes typo in idlelib/idle_test/example_stub.pyi (GH-122520) (#122591)
Miss Islington (bot) [Fri, 2 Aug 2024 02:01:49 +0000 (04:01 +0200)] 
[3.12] Fixes typo in idlelib/idle_test/example_stub.pyi (GH-122520) (#122591)

---------
(cherry picked from commit dbdbef3668293abdceac2b8a7b3e4615e6bde143)

Co-authored-by: Jonathon Vandezande <jevandezande@gmail.com>
15 months ago[3.12] gh-122384: Mark strings from Download page for translation (GH-122385) (#122554)
Miss Islington (bot) [Thu, 1 Aug 2024 09:37:18 +0000 (11:37 +0200)] 
[3.12] gh-122384: Mark strings from Download page for translation (GH-122385) (#122554)

Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
15 months ago[3.12] Move change detection to separate workflow in CI (GH-122336). (#122538)
Sviatoslav Sydorenko (Святослав Сидоренко) [Thu, 1 Aug 2024 05:03:28 +0000 (07:03 +0200)] 
[3.12] Move change detection to separate workflow in CI (GH-122336). (#122538)

15 months ago[3.12] gh-122133: Rework pure Python socketpair tests to avoid use of importlib.reloa...
Miss Islington (bot) [Wed, 31 Jul 2024 16:23:10 +0000 (18:23 +0200)] 
[3.12] gh-122133: Rework pure Python socketpair tests to avoid use of importlib.reload. (GH-122493) (GH-122505)

gh-122133: Rework pure Python socketpair tests to avoid use of importlib.reload. (GH-122493)

(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.12] gh-87320: In the code module, handle exceptions raised in sys.excepthook ...
Serhiy Storchaka [Wed, 31 Jul 2024 11:54:06 +0000 (14:54 +0300)] 
[3.12] gh-87320: In the code module, handle exceptions raised in sys.excepthook (GH-122456) (GH-122515)

Before, the exception caused by calling non-default sys.excepthook
in code.InteractiveInterpreter bubbled up to the caller, ending the REPL.
(cherry picked from commit bd3d31f380cd451a4ab6da5fbfde463fed95b5b5)

Co-authored-by: CF Bolz-Tereick <cfbolz@gmx.de>
15 months ago[3.12] Docs: bump Sphinx to 8.0 and update constraints (GH-122496) (#122500)
Hugo van Kemenade [Wed, 31 Jul 2024 07:49:31 +0000 (10:49 +0300)] 
[3.12] Docs: bump Sphinx to 8.0 and update constraints (GH-122496) (#122500)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.12] GH-122482: Make About IDLE direct discussion to DPO (GH-122483) (#122486)
Miss Islington (bot) [Tue, 30 Jul 2024 22:48:52 +0000 (00:48 +0200)] 
[3.12] GH-122482: Make About IDLE direct discussion to DPO (GH-122483) (#122486)

GH-122482: Make About IDLE direct discussion to DPO (GH-122483)

Currently, idle-dev@python.org and idle-dev mailing list
serve to collect spam (90+%).  Change About IDLE to direct
discussions to discuss.python.org.  Users are already
doing so.
(cherry picked from commit 29c04dfa2718dd25ad8b381a1027045b312f9739)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
15 months ago[3.12] Remove outdated note about instance methods from datamodel.rst (GH-122471...
Miss Islington (bot) [Tue, 30 Jul 2024 19:48:29 +0000 (21:48 +0200)] 
[3.12] Remove outdated note about instance methods from datamodel.rst (GH-122471) (#122480)

Remove outdated note about instance methods from datamodel.rst (GH-122471)
(cherry picked from commit c68cb8e0c9bd75ded25578c2fba6469e55a06e93)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
15 months ago[3.12] gh-122208: Don't delivery PyDict_EVENT_ADDED until it can't fail (#122327)
Dino Viehland [Tue, 30 Jul 2024 16:13:40 +0000 (09:13 -0700)] 
[3.12] gh-122208: Don't delivery PyDict_EVENT_ADDED until it can't fail (#122327)

Don't delivery PyDict_EVENT_ADDED until it can't fail

15 months ago[3.12] gh-121474: Add threading.Barrier parties arg sanity check. (GH-121480) (GH...
Miss Islington (bot) [Tue, 30 Jul 2024 09:12:11 +0000 (11:12 +0200)] 
[3.12] gh-121474: Add threading.Barrier parties arg sanity check. (GH-121480) (GH-122443)

(cherry picked from commit d27a53fc02a87e76066fc4e15ff1fff3922a482d)

Co-authored-by: Clinton <pygeek@users.noreply.github.com>
15 months ago[3.12] gh-122400: Handle ValueError in filecmp (GH-122401) (GH-122442)
Miss Islington (bot) [Tue, 30 Jul 2024 09:07:06 +0000 (11:07 +0200)] 
[3.12] gh-122400: Handle ValueError in filecmp (GH-122401) (GH-122442)

(cherry picked from commit 3a9b2aae615165a40614db9aaa8b90c55ff0c7f9)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
15 months ago[3.12] GH-121970: Extract ``audit_events`` into a new extension (GH-122325) (#122435)
Miss Islington (bot) [Tue, 30 Jul 2024 03:55:15 +0000 (05:55 +0200)] 
[3.12] GH-121970: Extract ``audit_events`` into a new extension (GH-122325) (#122435)

15 months ago[3.12] GH-122085: Use include files for C API deprecations (GH-109843) (#122423)
Adam Turner [Tue, 30 Jul 2024 03:40:18 +0000 (04:40 +0100)] 
[3.12] GH-122085: Use include files for C API deprecations (GH-109843) (#122423)

(cherry picked from commit 76bdfa4cd02532519fb43ae91244e2b4b3650d78)

15 months ago[3.12] gh-122133: Authenticate socket connection for `socket.socketpair()` fallback...
Miss Islington (bot) [Mon, 29 Jul 2024 22:02:20 +0000 (00:02 +0200)] 
[3.12] gh-122133: Authenticate socket connection for `socket.socketpair()` fallback (GH-122134) (GH-122425)

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.12] gh-122311: Fix a refleak in pickle (GH-122411) (GH-122416)
Miss Islington (bot) [Mon, 29 Jul 2024 19:10:46 +0000 (21:10 +0200)] 
[3.12] gh-122311: Fix a refleak in pickle (GH-122411) (GH-122416)

(cherry picked from commit 68840e91ac6689d3954b98a9ab136e194b5250b8)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months agoRevert "[3.12] gh-120713: Normalize year with century for datetime.strftime (GH-12082...
Serhiy Storchaka [Mon, 29 Jul 2024 18:55:12 +0000 (21:55 +0300)] 
Revert "[3.12] gh-120713: Normalize year with century for datetime.strftime (GH-120820) (GH-121145)" (GH-122409)

This reverts commit 027902b56f2176c571e5e244c3c23dc7247b67dc.

15 months ago[3.12] gh-117482: Fix the Slot Wrapper Inheritance Tests (gh-122250)
Eric Snow [Mon, 29 Jul 2024 16:25:17 +0000 (10:25 -0600)] 
[3.12] gh-117482: Fix the Slot Wrapper Inheritance Tests (gh-122250)

The tests were only checking cases where the slot wrapper was present in the initial case.  They were missing when the slot wrapper was added in the additional initializations.  This fixes that.

(cherry-picked from commit 490e0ad83ac72c5688dfbbab4eac61ccfd7be5fd, AKA gh-122248)

15 months ago[3.12] gh-122292: Split up ``Lib/test/test_ast.py`` into a couple of … (#122395)
Kirill Podoprigora [Mon, 29 Jul 2024 14:17:38 +0000 (17:17 +0300)] 
[3.12] gh-122292: Split up ``Lib/test/test_ast.py`` into a couple of … (#122395)

[3.12] gh-122292: Split up ``Lib/test/test_ast.py`` into a couple of files (GH-122293)
(cherry picked from commit 9187484dd97f6beb94fc17676014706922e380e1)

15 months ago[3.12] gh-122311: Fix some error messages in pickle (GH-122386) (GH-122388)
Miss Islington (bot) [Mon, 29 Jul 2024 09:27:34 +0000 (11:27 +0200)] 
[3.12] gh-122311: Fix some error messages in pickle (GH-122386) (GH-122388)

(cherry picked from commit 3b034d26eb8480f8d12ae11f42d038d24cf8498a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.12] gh-122311: Add more tests for pickle (GH-122376) (GH-122378)
Serhiy Storchaka [Sun, 28 Jul 2024 09:04:50 +0000 (12:04 +0300)] 
[3.12] gh-122311: Add more tests for pickle (GH-122376) (GH-122378)

(cherry picked from commit bc93923a2dee00751e44da58b6967c63e3f5c392)

15 months ago[3.12] gh-122085: Create dedicated page for deprecations (GH-122352) (#122375)
Miss Islington (bot) [Sun, 28 Jul 2024 08:09:20 +0000 (10:09 +0200)] 
[3.12] gh-122085: Create dedicated page for deprecations (GH-122352) (#122375)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.12] gh-122300: Preserve AST nodes for format specifiers with single elements ...
Pablo Galindo Salgado [Sat, 27 Jul 2024 19:20:28 +0000 (20:20 +0100)] 
[3.12] gh-122300: Preserve AST nodes for format specifiers with single elements (GH-122308) (#122363)

(cherry picked from commit db2d8b6db1b56c2bd3802b86f9b76da33e8898d7)

15 months ago[3.12] GH-121462: pathlib docs: improve table of corresponding os/os.path functions...
Barney Gale [Sat, 27 Jul 2024 17:13:20 +0000 (18:13 +0100)] 
[3.12] GH-121462: pathlib docs: improve table of corresponding os/os.path functions (GH-121465) (#122360)

Re-order table of corresponding functions with the following priorities:

1. Pure functionality is at the top
2. `os.path` functions are shown before `os` functions
3. Similar functionality is kept together
4. Functionality follows docs order where possible

Add a few missed correspondences:

- `os.path.isjunction` and `Path.is_junction`
- `os.path.ismount` and `Path.is_mount`
- `os.lstat()` and `Path.lstat()`
- `os.lchmod()` and `Path.lchmod()`

Also add footnotes describing a few differences.

(cherry picked from commit cbac8a3888411587beb026e246889154fbdd49a3)

15 months ago[3.12] gh-122044: Don't error during gitignore filtering with no files (GH-122045...
Miss Islington (bot) [Sat, 27 Jul 2024 14:27:34 +0000 (16:27 +0200)] 
[3.12] gh-122044: Don't error during gitignore filtering with no files (GH-122045) (#122354)

Co-authored-by: Seth Michael Larson <seth@python.org>
15 months ago[3.12] gh-122085: Use include files for `whatsnew/3.14.rst` deprecations (GH-122242...
Hugo van Kemenade [Sat, 27 Jul 2024 11:42:51 +0000 (14:42 +0300)] 
[3.12] gh-122085: Use include files for `whatsnew/3.14.rst` deprecations (GH-122242) (#122351)

15 months ago[3.12] gh-122170: Handle ValueError raised by os.stat() in linecache (GH-122176)...
Miss Islington (bot) [Sat, 27 Jul 2024 10:48:14 +0000 (12:48 +0200)] 
[3.12] gh-122170: Handle ValueError raised by os.stat() in linecache (GH-122176) (GH-122349)

(cherry picked from commit 7a6d4ccf0ec16e09f0d8b21c5a0c591e5e3e45f7)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
15 months ago[3.12] Move macOS matrix to the calling workflow (GH-121809) (#122330)
Sviatoslav Sydorenko (Святослав Сидоренко) [Sat, 27 Jul 2024 09:19:59 +0000 (11:19 +0200)] 
[3.12] Move macOS matrix to the calling workflow (GH-121809) (#122330)

15 months ago[3.12] gh-122332: Fix missing `NULL` check in `asyncio.Task.get_coro` (GH-122338...
Miss Islington (bot) [Sat, 27 Jul 2024 07:06:40 +0000 (09:06 +0200)] 
[3.12] gh-122332: Fix missing `NULL` check in `asyncio.Task.get_coro` (GH-122338) (#122345)

gh-122332: Fix missing `NULL` check in `asyncio.Task.get_coro` (GH-122338)
(cherry picked from commit c08696286f52d286674f264eecf7b33a335a890b)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
15 months ago[3.12] Document ``mimetypes.MimeTypes.add_type()`` (GH-122301) (#122329)
Miss Islington (bot) [Fri, 26 Jul 2024 22:10:01 +0000 (00:10 +0200)] 
[3.12] Document ``mimetypes.MimeTypes.add_type()`` (GH-122301) (#122329)

Document ``mimetypes.MimeTypes.add_type()`` (GH-122301)
(cherry picked from commit d52726ccd456833ea9f09cabb4b8aef09755e472)

Co-authored-by: Subrahmanya Gaonkar <148525245+negativenagesh@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
15 months ago[3.12] gh-122311: Fix typo in the pickle error formatting code (GH-122312) (GH-122315)
Miss Islington (bot) [Fri, 26 Jul 2024 15:09:52 +0000 (17:09 +0200)] 
[3.12] gh-122311: Fix typo in the pickle error formatting code (GH-122312) (GH-122315)

(cherry picked from commit 7c2921844f9fa713f93152bf3a569812cee347a0)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.12] gh-121913: Use str(exc) instead of exc.strerror in `asyncio.base_events` ...
Miss Islington (bot) [Thu, 25 Jul 2024 12:15:22 +0000 (14:15 +0200)] 
[3.12] gh-121913: Use str(exc) instead of exc.strerror in `asyncio.base_events` (GH-122269) (#122279)

gh-121913: Use str(exc) instead of exc.strerror in `asyncio.base_events` (GH-122269)
(cherry picked from commit 070f1e2e5b9b31ee3e7a1af2e30d7e3a66040b17)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
15 months ago[3.12] gh-122270: Fix typos in the Py_DEBUG macro name (GH-122271) (GH-122276)
Miss Islington (bot) [Thu, 25 Jul 2024 11:22:42 +0000 (13:22 +0200)] 
[3.12] gh-122270: Fix typos in the Py_DEBUG macro name (GH-122271) (GH-122276)

(cherry picked from commit 6c09b8de5c67406113e8d082e05c9587e35a852a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.12] gh-82951: Fix serializing by name in pickle protocols < 4 (GH-122149) (GH...
Miss Islington (bot) [Thu, 25 Jul 2024 10:44:25 +0000 (12:44 +0200)] 
[3.12] gh-82951: Fix serializing by name in pickle protocols < 4 (GH-122149) (GH-122265)

Serializing objects with complex __qualname__ (such as unbound methods and
nested classes) by name no longer involves serializing parent objects by value
in pickle protocols < 4.
(cherry picked from commit dc07f65a53baf60d9857186294d3d7ba92d5606d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
15 months ago[3.12] gh-122191: Fix test_warnings failure if run with -Werror (GH-122222) (GH-122257)
Serhiy Storchaka [Thu, 25 Jul 2024 07:18:57 +0000 (10:18 +0300)] 
[3.12] gh-122191: Fix test_warnings failure if run with -Werror (GH-122222) (GH-122257)

__spec__.loader is now required in the module globals (see gh-86298).
(cherry picked from commit 9b4fe9b718f27352ba0c1cf1184f5b90d77d7df4)