]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
21 months agogh-81489: Use Unicode APIs for mmap tagname on Windows (GH-14133)
Steve Dower [Thu, 11 Jan 2024 23:04:36 +0000 (23:04 +0000)] 
gh-81489: Use Unicode APIs for mmap tagname on Windows (GH-14133)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend@python.org>
21 months agogh-87868: Sort and remove duplicates in getenvironment() (GH-102731)
Miss Islington (bot) [Thu, 11 Jan 2024 22:27:12 +0000 (23:27 +0100)] 
gh-87868: Sort and remove duplicates in getenvironment() (GH-102731)

(cherry picked from commit c31be58da8577ef140e83d4e46502c7bb1eb9abf)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Pieter Eendebak <pieter.eendebak@gmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
21 months ago[3.11] gh-109858: Protect zipfile from "quoted-overlap" zipbomb (GH-110016) (GH-113913)
Miss Islington (bot) [Thu, 11 Jan 2024 09:24:47 +0000 (10:24 +0100)] 
[3.11] gh-109858: Protect zipfile from "quoted-overlap" zipbomb (GH-110016) (GH-113913)

Raise BadZipFile when try to read an entry that overlaps with other entry or
central directory.
(cherry picked from commit 66363b9a7b9fe7c99eba3a185b74c5fdbf842eba)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.11] gh-113625: Align object addresses in the Descriptor HowTo Guide (GH-113894...
Miss Islington (bot) [Wed, 10 Jan 2024 17:32:52 +0000 (18:32 +0100)] 
[3.11] gh-113625: Align object addresses in the Descriptor HowTo Guide (GH-113894) (#113923)

gh-113625: Align object addresses in the Descriptor HowTo Guide (GH-113894)
(cherry picked from commit 901a971e161e060bd95f3cf3aeebe8b48d6e6dac)

Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
22 months ago[3.11] gh-113594: Fix UnicodeEncodeError in TokenList.fold() (GH-113730) (GH-113908)
Miss Islington (bot) [Wed, 10 Jan 2024 13:24:17 +0000 (14:24 +0100)] 
[3.11] gh-113594: Fix UnicodeEncodeError in TokenList.fold() (GH-113730) (GH-113908)

It occurred when try to re-encode an unknown-8bit part combined with non-unknown-8bit part.
(cherry picked from commit e9d5b6ea2d68564f176fdf70c2d7028e060c62b5)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.11] gh-113664: Improve style of Big O notation (GH-113695) (GH-113910)
Serhiy Storchaka [Wed, 10 Jan 2024 13:13:27 +0000 (15:13 +0200)] 
[3.11] gh-113664: Improve style of Big O notation (GH-113695) (GH-113910)

Use cursive to make it looking like mathematic formulas.
(cherry picked from commit a8629816c6c0e6770248a60529fd7c9ba08aad55)

22 months ago[3.11] gh-113877: Fix Tkinter method winfo_pathname() on 64-bit Windows (GH-113900...
Miss Islington (bot) [Wed, 10 Jan 2024 10:50:51 +0000 (11:50 +0100)] 
[3.11] gh-113877: Fix Tkinter method winfo_pathname() on 64-bit Windows (GH-113900) (GH-113902)

winfo_id() converts the result of "winfo id" command to integer, but
"winfo pathname" command requires an argument to be a hexadecimal number
on Win64.
(cherry picked from commit 1b7e0024a16c1820f61c04a8a100498568410afd)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.11] gh-113781: Silence AttributeError in warning module during Python finalization...
Miss Islington (bot) [Tue, 9 Jan 2024 20:41:02 +0000 (21:41 +0100)] 
[3.11] gh-113781: Silence AttributeError in warning module during Python finalization (GH-113813) (GH-113874)

The tracemalloc module can already be cleared.
(cherry picked from commit 0297418cacf998e778bc0517aa11eaac827b8c0f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.11] gh-113842: Add missing error check for PyIter_Next() in Python/symtable.c...
Miss Islington (bot) [Tue, 9 Jan 2024 11:09:32 +0000 (12:09 +0100)] 
[3.11] gh-113842: Add missing error check for PyIter_Next() in Python/symtable.c (GH-113843) (GH-113852)

(cherry picked from commit fda901a1ff94ea6cc338b74928acdbc5ee165ed7)

Co-authored-by: Yan Yanchii <yyanchiy@gmail.com>
22 months ago[3.11] gh-101100: Fix Sphinx warnings for 2.6 port-specific deprecations (GH-113752...
Hugo van Kemenade [Tue, 9 Jan 2024 09:58:59 +0000 (11:58 +0200)] 
[3.11] gh-101100: Fix Sphinx warnings for 2.6 port-specific deprecations (GH-113752) (#113847)

22 months ago[3.11] Docs: Link tokens in the format string grammars (GH-108184) (#113840)
Miss Islington (bot) [Tue, 9 Jan 2024 02:53:59 +0000 (03:53 +0100)] 
[3.11] Docs: Link tokens in the format string grammars (GH-108184) (#113840)

Docs: Link tokens in the format string grammars (GH-108184)
(cherry picked from commit f3d5d4aa8f0388217aeff69e28d078bdda464b38)

Co-authored-by: William Andrea <william.j.andrea@gmail.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
22 months ago[3.11] gh-74678: Increase base64 test coverage (GH-21913) (GH-113810)
Miss Islington (bot) [Mon, 8 Jan 2024 11:16:06 +0000 (12:16 +0100)] 
[3.11] gh-74678: Increase base64 test coverage (GH-21913) (GH-113810)

Ensure the character y is disallowed within an Ascii85 5-tuple.

(cherry picked from commit 802d4954f12541ba28dd7f18bf4a65054941a80d)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Lee Cannon <leecannon@leecannon.xyz>
22 months ago[3.11] gh-80109: Fix io.TextIOWrapper dropping the internal buffer during write(...
Miss Islington (bot) [Mon, 8 Jan 2024 10:47:50 +0000 (11:47 +0100)] 
[3.11] gh-80109: Fix io.TextIOWrapper dropping the internal buffer during write() (GH-22535) (GH-113809)

io.TextIOWrapper was dropping the internal decoding buffer
during read() and write() calls.
(cherry picked from commit 73c93265634257b1488262097e024c1727260cfd)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
22 months ago[3.11] gh-113729: Fix IDLE's Help -> "IDLE Help" menu bug in 3.12.1 and 3.11.7 (GH...
Miss Islington (bot) [Sat, 6 Jan 2024 06:45:41 +0000 (07:45 +0100)] 
[3.11] gh-113729: Fix IDLE's Help -> "IDLE Help" menu bug in 3.12.1 and 3.11.7 (GH-113731) (#113766)

(cherry picked from commit 66f39648154214621d388f519210442d5fce738f)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
22 months ago[3.11] gh-85567: Fix resouce warnings in pickle and pickletools CLIs (GH-113618)...
Miss Islington (bot) [Fri, 5 Jan 2024 22:29:31 +0000 (23:29 +0100)] 
[3.11] gh-85567: Fix resouce warnings in pickle and pickletools CLIs (GH-113618) (GH-113759)

Explicitly open and close files instead of using FileType.
(cherry picked from commit bd754b93ca837aa1f239252437a211271d068b71)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.11] gh-113360: Fix the documentation of module's attribute __test__ (GH-113393...
Miss Islington (bot) [Fri, 5 Jan 2024 22:29:14 +0000 (23:29 +0100)] 
[3.11] gh-113360: Fix the documentation of module's attribute __test__ (GH-113393) (GH-113761)

It can only be a dict since Python 2.4.
(cherry picked from commit d99d8712253c3affc54cf7f6e71f161dea8347ce)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.11] gh-101100: Fix Sphinx warnings in `library/pyclbr.rst` (GH-113739) (#113749)
Miss Islington (bot) [Fri, 5 Jan 2024 19:36:58 +0000 (20:36 +0100)] 
[3.11] gh-101100: Fix Sphinx warnings in `library/pyclbr.rst` (GH-113739) (#113749)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] gh-80532: Do not set ipv6type when cross-compiling (GH-17956) (#113741)
Erlend E. Aasland [Fri, 5 Jan 2024 16:04:25 +0000 (17:04 +0100)] 
[3.11] gh-80532: Do not set ipv6type when cross-compiling (GH-17956) (#113741)

(cherry picked from commit 5e1916ba1bf521d6ff9d2c553c057f3ef7008977)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Xavier de Gaye <xdegaye@gmail.com>
22 months ago[3.11] gh-110190: Fix ctypes structs with array on PPCLE64 (GH-112959) (#113167)
Diego Russo [Fri, 5 Jan 2024 15:38:20 +0000 (15:38 +0000)] 
[3.11] gh-110190: Fix ctypes structs with array on PPCLE64 (GH-112959) (#113167)

Fix the same issue of PR #112604 on PPC64LE platform
Refactor tests to make easier to add more platfroms if needed.

(cherry picked from commit 6644ca45cde9ca1b80513a90dacccfeea2d98620)
Change-Id: I1ada30808c0d593a43eca3fa7a628c26bc276310

22 months ago[3.11] gh-101100: Fix Sphinx warnings for 2.6 deprecations and removals (GH-113725...
Miss Islington (bot) [Fri, 5 Jan 2024 14:02:07 +0000 (15:02 +0100)] 
[3.11] gh-101100: Fix Sphinx warnings for 2.6 deprecations and removals (GH-113725) (#113735)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
22 months ago[3.11] gh-113696: Docs: Annotate PyObject_CallOneArg and PyObject_CallNoArgs as retur...
Miss Islington (bot) [Fri, 5 Jan 2024 00:17:31 +0000 (01:17 +0100)] 
[3.11] gh-113696: Docs: Annotate PyObject_CallOneArg and PyObject_CallNoArgs as returning a strong reference (GH-113697) (#113699)

(cherry picked from commit 1ae7ceba29771baf8f2e8d2d4c50a0355cb6b5c8)

Co-authored-by: Jamie Phan <jamie@ordinarylab.dev>
22 months ago[3.11] gh-113538: Don't error in stream reader protocol callback when task is cancell...
Miss Islington (bot) [Thu, 4 Jan 2024 20:39:52 +0000 (21:39 +0100)] 
[3.11] gh-113538: Don't error in stream reader protocol callback when task is cancelled (GH-113690) (#113714)

(cherry picked from commit 4681a5271a8598b46021cbc556ac8098ab8a1d81)

Co-authored-by: Guido van Rossum <guido@python.org>
22 months ago[3.11] Document the `co_lines` method on code objects (#113682) (#113687)
Alex Waygood [Wed, 3 Jan 2024 19:59:10 +0000 (19:59 +0000)] 
[3.11] Document the `co_lines` method on code objects (#113682) (#113687)

(cherry-picked from commit f1f839243251fef7422c31d6a7c3c747e0b5e27c)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
22 months ago[3.11] `functools.partial` docs: Use the more common spelling for "referenceable...
Miss Islington (bot) [Wed, 3 Jan 2024 13:19:49 +0000 (14:19 +0100)] 
[3.11] `functools.partial` docs: Use the more common spelling for "referenceable" (GH-113675) (#113678)

`functools.partial` docs: Use the more common spelling for "referenceable" (GH-113675)
(cherry picked from commit 4de468cce106221968d7ac08ddd94571b903c194)

Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
22 months ago[3.11] gh-113637: Let c_annotations.py to handle the spacing of Limited/Unstable...
Ege Akman [Wed, 3 Jan 2024 13:05:54 +0000 (16:05 +0300)] 
[3.11] gh-113637: Let c_annotations.py to handle the spacing of Limited/Unstable API & Stable ABI translation strings (#113638) (#113679)

22 months ago[3.11] gh-113628: Fix test_site test with long stdlib paths (GH-113640) (#113672)
Miss Islington (bot) [Wed, 3 Jan 2024 01:02:14 +0000 (02:02 +0100)] 
[3.11] gh-113628: Fix test_site test with long stdlib paths (GH-113640) (#113672)

gh-113628: Fix test_site test with long stdlib paths (GH-113640)
(cherry picked from commit 5dc79e3d7f26a6a871a89ce3efc9f1bcee7bb447)

Co-authored-by: Itamar Oren <itamarost@gmail.com>
22 months ago[3.11] gh-113602: Bail out when the parser tries to override existing errors (GH...
Miss Islington (bot) [Tue, 2 Jan 2024 13:22:39 +0000 (14:22 +0100)] 
[3.11] gh-113602: Bail out when the parser tries to override existing errors (GH-113607) (#113653)

gh-113602: Bail out when the parser tries to override existing errors (GH-113607)
(cherry picked from commit 9ed36d533ab8b256f0a589b5be6d7a2fdcf4aff2)

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
22 months ago[3.11] Use the official term "free-threading" for GitHub Action (g… (#113647)
Donghee Na [Tue, 2 Jan 2024 13:04:11 +0000 (22:04 +0900)] 
[3.11] Use the official term "free-threading" for GitHub Action (g… (#113647)

22 months ago[3.11] gh-101100: Fix Sphinx warnings from removed `~!` references (GH-113629) (...
Hugo van Kemenade [Tue, 2 Jan 2024 13:00:06 +0000 (15:00 +0200)] 
[3.11] gh-101100: Fix Sphinx warnings from removed `~!` references (GH-113629) (#113642)

(cherry picked from commit 7595380347610598a3f5529214a449660892537b)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] gh-81094: Refer to PEP 318 in compound_statements.rst (GH-113588) (#113644)
Miss Islington (bot) [Tue, 2 Jan 2024 08:45:51 +0000 (09:45 +0100)] 
[3.11] gh-81094: Refer to PEP 318 in compound_statements.rst (GH-113588) (#113644)

Co-authored-by: John D. McDonald <43117960+Rasputin2@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
22 months ago[3.11] gh-62260: Fix ctypes.Structure subclassing with multiple layers (GH-13374...
Serhiy Storchaka [Mon, 1 Jan 2024 16:46:07 +0000 (18:46 +0200)] 
[3.11] gh-62260: Fix ctypes.Structure subclassing with multiple layers (GH-13374) (GH-113624)

The length field of StgDictObject for Structure class contains now
the total number of items in ffi_type_pointer.elements (excluding
the trailing null).

The old behavior of using the number of elements in the parent class can
cause the array to be truncated when it is copied, especially when there
are multiple layers of subclassing.

(cherry picked from commit 5f3cc90a12d6df404fd6f48a0df1334902e271f2)

Co-authored-by: Jeffrey Kintscher <49998481+websurfer5@users.noreply.github.com>
22 months ago[3.11] gh-101100: Fix Sphinx warnings in `library/configparser.rst` (GH-113598) ...
Hugo van Kemenade [Sun, 31 Dec 2023 18:18:49 +0000 (20:18 +0200)] 
[3.11] gh-101100: Fix Sphinx warnings in `library/configparser.rst` (GH-113598) (#113600)

(cherry picked from commit 30a6d79fb8bc1ef96600c290c016720103b74b2d)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] Update ConfigParser docs defining valid section name (GH-110506) (#113590)
Miss Islington (bot) [Sat, 30 Dec 2023 23:24:39 +0000 (00:24 +0100)] 
[3.11] Update ConfigParser docs defining valid section name (GH-110506) (#113590)

Co-authored-by: Delgan <4193924+Delgan@users.noreply.github.com>
22 months ago[3.11] gh-89414: Document that SIGCLD is not available on macOS (GH-113580) (#113586)
Miss Islington (bot) [Sat, 30 Dec 2023 17:10:11 +0000 (18:10 +0100)] 
[3.11] gh-89414: Document that SIGCLD is not available on macOS (GH-113580) (#113586)

gh-89414: Document that SIGCLD is not available on macOS (GH-113580)

Document that SIGCLD is not available on macOS
(cherry picked from commit f48a1bcb2914addee971814fd014e4d8075ea6a9)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
22 months ago[3.11] gh-113566: Fix asyncio segfault during interpreter finalization (#113578)
Guido van Rossum [Sat, 30 Dec 2023 05:06:32 +0000 (21:06 -0800)] 
[3.11] gh-113566: Fix asyncio segfault during interpreter finalization (#113578)

22 months ago[3.11] gh-113543: Make sure that `MacOSXOSAScript` sends `webbrowser.open` audit...
Miss Islington (bot) [Fri, 29 Dec 2023 08:57:21 +0000 (09:57 +0100)] 
[3.11] gh-113543: Make sure that `MacOSXOSAScript` sends `webbrowser.open` audit event (GH-113544) (#113550)

gh-113543: Make sure that `MacOSXOSAScript` sends `webbrowser.open` audit event (GH-113544)
(cherry picked from commit fba324154e65b752e42aa59dea287d639935565f)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
22 months ago[3.11] Doc/library/os.rst: `os.waitid` absent on MacOS (GH-104558) (#113554)
Miss Islington (bot) [Fri, 29 Dec 2023 08:27:19 +0000 (09:27 +0100)] 
[3.11] Doc/library/os.rst: `os.waitid` absent on MacOS (GH-104558) (#113554)

Doc/library/os.rst: `os.waitid` absent on MacOS (GH-104558)

* Doc/library/os.rst: `os.waitid` absent on MacOS

(cherry picked from commit db1c88223986efe3076eb3b229a8b6db59bae284)

Co-authored-by: John Hawkinson <jhawk@alum.mit.edu>
Co-authored-by: AN Long <aisk@users.noreply.github.com>
22 months ago[3.11] gh-101100: Fix Sphinx warnings in library/random.rst (GH-112981) (#113552)
Miss Islington (bot) [Thu, 28 Dec 2023 19:40:46 +0000 (20:40 +0100)] 
[3.11] gh-101100: Fix Sphinx warnings in library/random.rst (GH-112981) (#113552)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] bpo-11102: Make configure enable major(), makedev(), and minor() on HP-UX...
Miss Islington (bot) [Thu, 28 Dec 2023 11:02:23 +0000 (12:02 +0100)] 
[3.11] bpo-11102: Make configure enable major(), makedev(), and minor() on HP-UX (GH-19856) (GH-113541)

Always include <sys/types.h> before <sys/sysmacros.h>.

(cherry picked from commit f108468970bf4e70910862476900f924fb701399)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.11] gh-57795: Add news to idlelib/News3.txt (GH-113522) (#113524)
Miss Islington (bot) [Wed, 27 Dec 2023 21:10:39 +0000 (22:10 +0100)] 
[3.11] gh-57795: Add news to idlelib/News3.txt (GH-113522) (#113524)

gh-57795: Add news to idlelib/News3.txt (GH-113522)
(cherry picked from commit 6c98fce33a4c2d6671978f6286377af0d6e22182)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
22 months ago[3.11] gh-67641: Clarify documentation on bytes vs text with non-seeking tarfile...
Miss Islington (bot) [Wed, 27 Dec 2023 17:33:00 +0000 (18:33 +0100)] 
[3.11] gh-67641: Clarify documentation on bytes vs text with non-seeking tarfile stream (GH-31610) (GH-113520)

(cherry picked from commit 0651936ae2bc6999f488f8c519b8d07a06a11557)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
22 months ago[3.11] bpo-26791: Update shutil.move() to provide the same symlink move behavior...
Miss Islington (bot) [Wed, 27 Dec 2023 17:03:45 +0000 (18:03 +0100)] 
[3.11] bpo-26791: Update shutil.move() to provide the same symlink move behavior as the mv shell when moving a symlink into a directory that is the target of the symlink (GH-21759) (GH-113518)

(cherry picked from commit c66b577d9f7a11ffab57985fd6fb22e9dfd4f245)

Co-authored-by: Jeffrey Kintscher <49998481+websurfer5@users.noreply.github.com>
22 months ago[3.11] gh-57795: IDLE: Enter the selected text when opening the "Replace" dialog...
Miss Islington (bot) [Wed, 27 Dec 2023 14:43:59 +0000 (15:43 +0100)] 
[3.11] gh-57795: IDLE: Enter the selected text when opening the "Replace" dialog (GH-17593) (GH-113515)

(cherry picked from commit 712afab5acbe27ceb1eddde5aa559078ae7eaa3b)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Roger Serwy <roger.serwy@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.11] gh-101100: Fix Sphinx warnings in `library/cmd.rst` (GH-113502) (#113510)
Miss Islington (bot) [Wed, 27 Dec 2023 10:24:18 +0000 (11:24 +0100)] 
[3.11] gh-101100: Fix Sphinx warnings in `library/cmd.rst` (GH-113502) (#113510)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] gh-101100: Fix Sphinx warnings in `library/calendar.rst` (GH-113500) (#113508)
Miss Islington (bot) [Wed, 27 Dec 2023 09:42:57 +0000 (10:42 +0100)] 
[3.11] gh-101100: Fix Sphinx warnings in `library/calendar.rst` (GH-113500) (#113508)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
22 months ago[3.11] gh-101100: Fix Sphinx warnings in `library/bisect.rst` (GH-113496) (#113505)
Hugo van Kemenade [Tue, 26 Dec 2023 21:54:07 +0000 (23:54 +0200)] 
[3.11] gh-101100: Fix Sphinx warnings in `library/bisect.rst` (GH-113496) (#113505)

22 months ago[3.11] bpo-36959: Fix error messages for invalid ISO format string in _strptime(...
Serhiy Storchaka [Tue, 26 Dec 2023 20:09:41 +0000 (22:09 +0200)] 
[3.11] bpo-36959: Fix error messages for invalid ISO format string in _strptime() (GH-13408) (GH-113499)

Previously some error messages complained about incompatible
combinations of directives that are not contained in the format string.

(cherry picked from commit 4b2c3e8e436b5191039cbe8cd9932654a60803e6)

Co-authored-by: Gordon P. Hemsley <me@gphemsley.org>
22 months ago[3.11] gh-101100: Fix Sphinx warnings in `howto/isolating-extensions.rst` (GH-113493...
Miss Islington (bot) [Tue, 26 Dec 2023 19:47:16 +0000 (20:47 +0100)] 
[3.11] gh-101100: Fix Sphinx warnings in `howto/isolating-extensions.rst` (GH-113493) (#113498)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
22 months ago[3.11] Docs: make htmllive: open browser when ready (GH-113288) (#113485)
Miss Islington (bot) [Tue, 26 Dec 2023 12:08:02 +0000 (13:08 +0100)] 
[3.11] Docs: make htmllive: open browser when ready (GH-113288) (#113485)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
22 months ago[3.11] gh-101778: Fix build error when there's a dangling symlink in the directory...
Ronald Oussoren [Tue, 26 Dec 2023 09:05:48 +0000 (10:05 +0100)] 
[3.11] gh-101778: Fix build error when there's a dangling symlink in the directory containing "ffi.h" (#113466)

gh-101778: Fix build error when there's a dangling symlink in the directory containing "ffi.h"

22 months ago[3.11] gh-106905: Use separate structs to track recursion depth in each PyAST_mod2obj...
Serhiy Storchaka [Mon, 25 Dec 2023 20:40:33 +0000 (22:40 +0200)] 
[3.11] gh-106905: Use separate structs to track recursion depth in each PyAST_mod2obj call. (GH-113035) (GH-113472) (GH-113476)

(cherry picked from commit 48c49739f5502fc7aa82f247ab2e4d7b55bdca62)
(cherry picked from commit d58a5f453f59f44ccf09b1a9b11a0b879ac6f35b)

Co-authored-by: Yilei Yang <yileiyang@google.com>
Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
22 months ago[3.11] bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503) (GH...
Miss Islington (bot) [Mon, 25 Dec 2023 18:55:27 +0000 (19:55 +0100)] 
[3.11] bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503) (GH-112598)

* Fix a crash when pass UINT_MAX.
* Fix an integer overflow on 64-bit non-Windows platforms.
(cherry picked from commit 0daf555c6fb3feba77989382135a58215e1d70a5)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
22 months ago[3.11] gh-76785: Make test.test_interpreters executable (GH-112982) (GH-113470) ...
Miss Islington (bot) [Mon, 25 Dec 2023 18:46:44 +0000 (19:46 +0100)] 
[3.11] gh-76785: Make test.test_interpreters executable (GH-112982) (GH-113470) (GH-113473)

This is so that we can run python -m test.test_interpreters. As such it
backports that aspect of commit 86a77f4e1a5ceaff1036b0072521e12752b5df47,
where it is implemented by a package __main__.py.
(cherry picked from commit bdad5c367f60d4939d6945f78d94608e4521009f)

Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>
22 months ago[3.11] docs: specify that PyBytes_AsStringAndSize returns 0 on success (GH-110888...
Miss Islington (bot) [Mon, 25 Dec 2023 18:24:44 +0000 (19:24 +0100)] 
[3.11] docs: specify that PyBytes_AsStringAndSize returns 0 on success (GH-110888) (GH-111691)

(cherry picked from commit 9f33ede12710c454643c394421f52d209247272c)

Co-authored-by: lefp <70862148+lefp@users.noreply.github.com>
22 months ago[3.11] gh-113440: Ignore the "ver" command failure with exit code 0xc0000142 (GH...
Miss Islington (bot) [Sun, 24 Dec 2023 10:47:54 +0000 (11:47 +0100)] 
[3.11] gh-113440: Ignore the "ver" command failure with exit code 0xc0000142 (GH-113435) (GH-113452)

(cherry picked from commit 53330f167792a2947ab8b0faafb11019d7fb09b6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.11] gh-113421: Fix multiprocessing logger for "%(filename)s" (GH-113423) (GH-113451)
Miss Islington (bot) [Sun, 24 Dec 2023 10:22:34 +0000 (11:22 +0100)] 
[3.11] gh-113421: Fix multiprocessing logger for "%(filename)s" (GH-113423) (GH-113451)

(cherry picked from commit ce77ee50358c0668eda5078f50b38f0770a370ab)

Co-authored-by: Xu Song <xusong.vip@gmail.com>
22 months ago[3.11] gh-113028: Correctly memoize str in pickle when escapes added (GH-113436)...
Miss Islington (bot) [Sun, 24 Dec 2023 10:01:53 +0000 (11:01 +0100)] 
[3.11] gh-113028: Correctly memoize str in pickle when escapes added (GH-113436) (GH-113449)

This fixes a divergence between the Python and C implementations of pickle
for protocol 0, such that it pickle.py fails to re-use the first pickled
representation of strings involving characters that have to be escaped.
(cherry picked from commit 08398631a0298dcf785ee7bd0e26c7844823ce59)

Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>
22 months ago[3.11] gh-112559: Avoid unnecessary conversion attempts to enum_klass in signal.py...
Miss Islington (bot) [Sun, 24 Dec 2023 02:09:46 +0000 (03:09 +0100)] 
[3.11] gh-112559: Avoid unnecessary conversion attempts to enum_klass in signal.py (GH-113040) (#113444)

gh-112559: Avoid unnecessary conversion attempts to enum_klass in signal.py (GH-113040)
(cherry picked from commit 050783cb37d6a09d8238fa640814df8a915f6a68)

Co-authored-by: Yilei Yang <yileiyang@google.com>
22 months ago[3.11] gh-109989: Fix test_c_locale_coercion when PYTHONIOENCODING is set (GH-113378...
Miss Islington (bot) [Sat, 23 Dec 2023 20:58:18 +0000 (21:58 +0100)] 
[3.11] gh-109989: Fix test_c_locale_coercion when PYTHONIOENCODING is set (GH-113378) (#113399)

gh-109989: Fix test_c_locale_coercion when PYTHONIOENCODING is set (GH-113378)

* gh-109989: Fix test_c_locale_coercion when PYTHONIOENCODING is set

This fixes the existing tests when PYTHONIOENCODING is
set by unsetting PYTHONIOENCODING.

Also add a test that explicitly checks what happens
when PYTHONIOENCODING is set.

(cherry picked from commit 5f665e99e0b8a52415f83c2416eaf28abaacc3ae)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
22 months ago[3.11] gh-74573: document that ndbm can silently corrupt databases on macOS (GH-11335...
Miss Islington (bot) [Sat, 23 Dec 2023 12:49:58 +0000 (13:49 +0100)] 
[3.11] gh-74573: document that ndbm can silently corrupt databases on macOS (GH-113354) (#113432)

gh-74573: document that ndbm can silently corrupt databases on macOS (GH-113354)

* gh-74573: document that ndbm can silently corrupt databases on macOS

The system ndbm implementation on macOS has an undocumented limitation
on the size of values and can silently corrupt database files when those
are exceeded.

(cherry picked from commit 593b4d81d276b428f926debfe70d56ba94edf0e1)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
22 months ago[3.11] gh-81682: Fix test failures when CPython is built without docstrings (GH-11341...
Serhiy Storchaka [Sat, 23 Dec 2023 11:38:07 +0000 (13:38 +0200)] 
[3.11] gh-81682: Fix test failures when CPython is built without docstrings (GH-113410) (GH-113430)

(cherry picked from commit 4e5b27e6a3be85853bd04d45128dd7cc706bb1c8)

22 months ago[3.11] gh-113188: Fix shutil.copymode() and shutil.copystat() on Windows (GH-113285...
Miss Islington (bot) [Sat, 23 Dec 2023 10:53:48 +0000 (11:53 +0100)] 
[3.11] gh-113188: Fix shutil.copymode() and shutil.copystat() on Windows (GH-113285) (GH-113426)

Previously they worked differenly if dst is a symbolic link:
they modified the permission bits of dst itself rather than the file
it points to if follow_symlinks is true or src is not a symbolic link,
and did nothing if follow_symlinks is false and src is a symbolic link.
(cherry picked from commit c7874bb56f862dd96a9a74b809dbea5688fa6c1c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.11] gh-112925: Fix error in example of `datetime.time.fromisoformat` and add docte...
Miss Islington (bot) [Sat, 23 Dec 2023 10:50:19 +0000 (11:50 +0100)] 
[3.11] gh-112925: Fix error in example of `datetime.time.fromisoformat` and add doctest marker (GH-112931) (GH-113428)

(cherry picked from commit bdc8d667ab545ccec0bf8c2769f5c5573ed293ea)

Co-authored-by: F-park <52167622+F-park@users.noreply.github.com>
22 months ago[3.11] gh-113384: Skip test_freeze for framework builds on macOS (GH-113390) (#113396)
Miss Islington (bot) [Fri, 22 Dec 2023 11:07:07 +0000 (12:07 +0100)] 
[3.11] gh-113384: Skip test_freeze for framework builds on macOS (GH-113390) (#113396)

gh-113384: Skip test_freeze for framework builds on macOS (GH-113390)
(cherry picked from commit bee627c1e29a070562d1a540a6e513d0daa322f5)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
22 months ago[3.11] gh-65701: document that freeze doesn't work with framework builds on macOS...
Miss Islington (bot) [Fri, 22 Dec 2023 10:16:59 +0000 (11:16 +0100)] 
[3.11] gh-65701: document that freeze doesn't work with framework builds on macOS (GH-113352) (#113361)

gh-65701: document that freeze doesn't work with framework builds on macOS (GH-113352)

* gh-65701: document that freeze doesn't work with framework builds on macOS

The framework install is inherently incompatible with freeze. Document
that that freeze doesn't work with framework builds and bail out
early when trying to run freeze anyway.

(cherry picked from commit df1eec3dae3b1eddff819fd70f58b03b3fbd0eda)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
22 months ago[3.11] gh-110383: Improve accuracy of str.split() and str.rsplit() docstrings (GH...
Hugo van Kemenade [Fri, 22 Dec 2023 07:43:38 +0000 (09:43 +0200)] 
[3.11] gh-110383: Improve accuracy of str.split() and str.rsplit() docstrings (GH-113355) (#113380)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
22 months ago[3.11] gh-113313: Note that slice support is not required for all sequences. (gh...
Miss Islington (bot) [Thu, 21 Dec 2023 22:01:25 +0000 (23:01 +0100)] 
[3.11] gh-113313: Note that slice support is not required for all sequences. (gh-113377) (gh-113383)

22 months ago[3.11] Docs: OpenSSL wording ambiguity (GH-113296) (#113349)
Miss Islington (bot) [Thu, 21 Dec 2023 07:56:34 +0000 (08:56 +0100)] 
[3.11] Docs: OpenSSL wording ambiguity (GH-113296) (#113349)

Co-authored-by: Jan Brasna <1784648+janbrasna@users.noreply.github.com>
22 months ago[3.11] gh-112305: Fix check-clean-src to detect frozen_modules .h files. (GH-113344...
Miss Islington (bot) [Thu, 21 Dec 2023 07:47:20 +0000 (08:47 +0100)] 
[3.11] gh-112305: Fix check-clean-src to detect frozen_modules .h files. (GH-113344) (#113347)

gh-112305: Fix check-clean-src to detect frozen_modules .h files. (GH-113344)

A typo left this check broken so many of us who do out-of-tree builds
were seeing strange failures due to bad `Python/frozen_modules/*.h`
files being picked up from the source tree and used at build time from
different Python versions leading to errors like:

`Fatal Python error: _PyImport_InitCore: failed to initialize importlib`

Or similar once our build got to an "invoke the interpreter"
bootstrapping step due to incorrect bytecode being embedded.
(cherry picked from commit 103c4ea27464cef8d1793dab347f5ff3629dc243)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
22 months ago[3.11] GH-113214: Fix SSLProto exception handling in SSL-over-SSL scenarios (GH-11333...
Miss Islington (bot) [Thu, 21 Dec 2023 00:51:51 +0000 (01:51 +0100)] 
[3.11] GH-113214: Fix SSLProto exception handling in SSL-over-SSL scenarios (GH-113334) (#113340)

When wrapped, `_SSLProtocolTransport._force_close(exc)` is called just like in the unwrapped scenario `_SelectorTransport._force_close(exc)` or `_ProactorBasePipeTransport._force_close(exc)` would be called, except here the exception needs to be passed through the `SSLProtocol._abort()` method, which didn't accept an exception object.

This commit ensures that this path works, in the same way that the uvloop implementation of SSLProto passes on the exception (on which the current implementation of SSLProto is based).

(cherry picked from commit 1ff02385944924db7e683a607da2882462594764)

Co-authored-by: Martijn Pieters <mj@zopatista.com>
22 months ago[3.11] gh-113255: Clarify docs for `typing.reveal_type` (#113286) (#113326)
Alex Waygood [Wed, 20 Dec 2023 18:35:13 +0000 (18:35 +0000)] 
[3.11] gh-113255: Clarify docs for `typing.reveal_type` (#113286) (#113326)

(cherry-picked from commit 11ee912327)

Co-authored-by: Kir <note351@hotmail.com>
22 months ago[3.11] Fix typo in datamodel docs (GH-113314) (#113315)
Miss Islington (bot) [Wed, 20 Dec 2023 12:04:59 +0000 (13:04 +0100)] 
[3.11] Fix typo in datamodel docs (GH-113314) (#113315)

Fix typo in datamodel docs (GH-113314)
(cherry picked from commit 5a7cc667f816f0377f763322c2367301ea3379ee)

Co-authored-by: Rodrigo Girão Serrão <5621605+rodrigogiraoserrao@users.noreply.github.com>
22 months ago[3.11] Fix typo in collections.abc docs example (GH-113310) (#113312)
Miss Islington (bot) [Wed, 20 Dec 2023 09:57:25 +0000 (10:57 +0100)] 
[3.11] Fix typo in collections.abc docs example (GH-113310) (#113312)

Fix typo in collections.abc docs example (GH-113310)

Calling the instance reference arg for the __next__ method, "next", seems misleading as it would normally just be "self"
(cherry picked from commit 22b8945d7678be86f801ca54f004a5dba2006835)

Co-authored-by: David Greaves <david@dgreaves.com>
22 months ago[3.11] gh-102362: Fix macOS version number in result of sysconfig.get_platform()...
Miss Islington (bot) [Tue, 19 Dec 2023 18:57:08 +0000 (19:57 +0100)] 
[3.11] gh-102362: Fix macOS version number in result of sysconfig.get_platform() (GH-112942) (#113265)

gh-102362: Fix macOS version number in result of sysconfig.get_platform() (GH-112942)

Change _osx_support.get_platform_osx() to make sure that the
version number in the result includes at least a major and
minor version (e.g. 14.2) even if MACOSX_DEPLOYMENT_TARGET is
set to just a major version (e.g. 14).

This matches the versions expected by pip when selecting
appropriate wheels for installation.
(cherry picked from commit 893c9ccf48eacb02fa6ae93632f2d0cb6778dbb6)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
22 months ago[3.11] gh-101100: Fix Sphinx warnings in `library/ast.rst` (GH-113289) (#113291)
Hugo van Kemenade [Tue, 19 Dec 2023 16:12:33 +0000 (18:12 +0200)] 
[3.11] gh-101100: Fix Sphinx warnings in `library/ast.rst` (GH-113289) (#113291)

22 months ago[3.11] gh-113234: tomllib docs: reorder conversion table & add remaining types (GH...
Miss Islington (bot) [Tue, 19 Dec 2023 10:36:01 +0000 (11:36 +0100)] 
[3.11] gh-113234: tomllib docs: reorder conversion table & add remaining types (GH-113236) (GH-113284)

gh-113234: tomllib docs: reorder conversion table & add remaining types (GH-113236)
(cherry picked from commit 76d757b38b414964546393bdccff31c1f8be3843)

Co-authored-by: ryan-duve <ryan-duve@users.noreply.github.com>
22 months ago[3.11] gh-113208: Mention namespace packages don't require __init__.py (GH-113209...
Miss Islington (bot) [Tue, 19 Dec 2023 08:46:08 +0000 (09:46 +0100)] 
[3.11] gh-113208: Mention namespace packages don't require __init__.py (GH-113209) (#113277)

Co-authored-by: Unique-Usman <86585626+Unique-Usman@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
22 months ago[3.11] gh-113269: IDLE - Fix test_editor hang (macOS) (GH-113271) (#113273)
Miss Islington (bot) [Tue, 19 Dec 2023 05:42:59 +0000 (06:42 +0100)] 
[3.11] gh-113269: IDLE - Fix test_editor hang (macOS) (GH-113271) (#113273)

gh-113269: IDLE - Fix test_editor hang (macOS) (GH-113271)

Hangs on installed 3.13.0a2 on macOS Catalina.
Behavior on installed 3.12.1 and 3.11.7 is unknown.
(cherry picked from commit fa9ba02353d79632983b9fe24da851894877e342)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
22 months ago[3.11] gh-113199: Make read1() and readline() of HTTPResponse close IO after reading...
Miss Islington (bot) [Mon, 18 Dec 2023 20:34:15 +0000 (21:34 +0100)] 
[3.11] gh-113199: Make read1() and readline() of HTTPResponse close IO after reading all data (GH-113200) (GH-113260)

(cherry picked from commit 41336a72b90634d5ac74a57b6826e4dd6fe78eac)

Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
22 months ago[3.11] gh-113246: Updated bundled pip to 23.3.2 (gh-113249) (#113254)
Stéphane Bidoul [Mon, 18 Dec 2023 11:34:58 +0000 (12:34 +0100)] 
[3.11] gh-113246: Updated bundled pip to 23.3.2 (gh-113249) (#113254)

Updated bundled pip to 23.3.2.
(cherry picked from commit 4a24bf9a13a7cf055113c04bde0874186722c62c)

22 months ago[3.11] gh-101100: Fix Sphinx warnings in library/tarfile.rst (GH-113237) (#113245)
Hugo van Kemenade [Mon, 18 Dec 2023 07:12:52 +0000 (09:12 +0200)] 
[3.11] gh-101100: Fix Sphinx warnings in library/tarfile.rst (GH-113237) (#113245)

22 months ago[3.11] Docs: Add label to grammar spec for linking from PEPs (GH-113235) (#113240)
Miss Islington (bot) [Sun, 17 Dec 2023 19:29:23 +0000 (20:29 +0100)] 
[3.11] Docs: Add label to grammar spec for linking from PEPs (GH-113235) (#113240)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
22 months ago[3.11] gh-112890: `unittest` Test Discovery page updated "`unittest` dropped the...
Miss Islington (bot) [Sun, 17 Dec 2023 11:20:28 +0000 (12:20 +0100)] 
[3.11] gh-112890: `unittest` Test Discovery page updated "`unittest` dropped the namspace packages support" (GH-113195) (GH-113229)

(cherry picked from commit 21d52995ea490328edf9be3ba072821cd445dd30)

Co-authored-by: Taylor Packard <3.t.packard@gmail.com>
22 months ago[3.11] IDLE: Add util and stub example comments (GH-113222) (#113224)
Miss Islington (bot) [Sun, 17 Dec 2023 01:20:36 +0000 (02:20 +0100)] 
[3.11] IDLE: Add util and stub example comments (GH-113222) (#113224)

(cherry picked from commit cde1335485b7bffb12c378d230ae48ad77d76ab1)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
22 months ago[3.11] gh-105912: document gotcha with using os.fork on macOS (GH-112871) (#113135)
Ronald Oussoren [Sat, 16 Dec 2023 09:13:01 +0000 (10:13 +0100)] 
[3.11] gh-105912: document gotcha with using os.fork on macOS (GH-112871) (#113135)

* gh-105912: document gotcha with using os.fork on macOS

Using ``fork(2)`` on macOS when also using higher-level
system APIs in the parent proces can crash on macOS because
those system APIs are not written to handle this usage
pattern.

There's nothing we can do about this other than documenting
the problem.

(cherry picked from commit 22511f77c2818a138a252e6ddae89725d082f8b0)

Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
22 months ago[3.11] gh-113046: Revise csv.reader doc (GH-113207) (#113211)
Miss Islington (bot) [Sat, 16 Dec 2023 08:18:45 +0000 (09:18 +0100)] 
[3.11] gh-113046: Revise csv.reader doc (GH-113207) (#113211)

Clarify nature of csvfile.
(cherry picked from commit 84df3172efe8767ddf5c28bdb6696b3f216bcaa6)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
22 months ago[3.11] gh-110746: Improve markup in ``tkinter.ttk.rst`` (GH-111236) (#113194)
Miss Islington (bot) [Fri, 15 Dec 2023 21:56:36 +0000 (22:56 +0100)] 
[3.11] gh-110746: Improve markup in ``tkinter.ttk.rst`` (GH-111236) (#113194)

gh-110746: Improve markup in ``tkinter.ttk.rst`` (GH-111236)

* gh-110746: Improve markup in tkinter.ttk.rst

* gh-110746: Improve markup in tkinter.ttk.rst

* 📜🤖 Added by blurb_it.

---------

(cherry picked from commit 00d2b6d1fca91e1a83f7f99a370685b095ed4928)

Co-authored-by: Akshat Khandelwal <35228810+akshatgokul@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
22 months ago[3.11] gh-101100: Fix various Sphinx warnings for dunder references in the `library...
Miss Islington (bot) [Fri, 15 Dec 2023 17:21:59 +0000 (18:21 +0100)] 
[3.11] gh-101100: Fix various Sphinx warnings for dunder references in the `library/` directory (GH-113163) (#113184)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] gh-101100: Fix Sphinx nitpicks in `library/numbers.rst` (GH-113162) (#113181)
Miss Islington (bot) [Fri, 15 Dec 2023 17:17:14 +0000 (18:17 +0100)] 
[3.11] gh-101100: Fix Sphinx nitpicks in `library/numbers.rst` (GH-113162) (#113181)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] gh-113009: Fix multiprocessing Process.terminate() on Windows (GH-113128)...
Miss Islington (bot) [Fri, 15 Dec 2023 15:20:18 +0000 (16:20 +0100)] 
[3.11] gh-113009: Fix multiprocessing Process.terminate() on Windows (GH-113128) (#113178)

gh-113009: Fix multiprocessing Process.terminate() on Windows (GH-113128)

On Windows, Process.terminate() no longer sets the returncode
attribute to always call WaitForSingleObject() in Process.wait().
Previously, sometimes the process was still running after
TerminateProcess() even if GetExitCodeProcess() is not STILL_ACTIVE.
(cherry picked from commit 4026ad5b2c595b855a3605420cfa0e3d49e63db7)

Co-authored-by: Victor Stinner <vstinner@python.org>
22 months ago[3.11] gh-61648: Detect line numbers of properties in doctests (GH-113161) (GH-113165)
Miss Islington (bot) [Fri, 15 Dec 2023 13:38:45 +0000 (14:38 +0100)] 
[3.11] gh-61648: Detect line numbers of properties in doctests (GH-113161) (GH-113165)

(cherry picked from commit 8f8f0f97e126db9ca470fd7e7b2944c150db6305)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.11] gh-101100: Fix Sphinx nitpicks in `library/rlcompleter.rst` (GH-113125) (...
Miss Islington (bot) [Fri, 15 Dec 2023 09:07:15 +0000 (10:07 +0100)] 
[3.11] gh-101100: Fix Sphinx nitpicks in `library/rlcompleter.rst` (GH-113125) (#113159)

gh-101100: Fix Sphinx nitpicks in `library/rlcompleter.rst` (GH-113125)
(cherry picked from commit 7bb00f053e0a86bb8827cc464961a4fad9278e6d)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] gh-101100: Cleanup `mailbox` docs (GH-113124) (#113145)
Hugo van Kemenade [Thu, 14 Dec 2023 21:26:49 +0000 (23:26 +0200)] 
[3.11] gh-101100: Cleanup `mailbox` docs (GH-113124) (#113145)

(cherry picked from commit 25061f5c98a47691fdb70f550943167bda77f6e0)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] gh-101100: Fix Sphinx warnings in `whatsnew/2.3.rst` (GH-112373) (#113143)
Hugo van Kemenade [Thu, 14 Dec 2023 21:09:53 +0000 (23:09 +0200)] 
[3.11] gh-101100: Fix Sphinx warnings in `whatsnew/2.3.rst` (GH-112373) (#113143)

22 months ago[3.11] gh-101100: Fix Sphinx nitpicks in `library/collections.abc.rst` (GH-113116...
Miss Islington (bot) [Thu, 14 Dec 2023 19:32:37 +0000 (20:32 +0100)] 
[3.11] gh-101100: Fix Sphinx nitpicks in `library/collections.abc.rst` (GH-113116) (#113137)

gh-101100: Fix Sphinx nitpicks in `library/collections.abc.rst` (GH-113116)
(cherry picked from commit 006355b2a966060541166608ecfec4c957b85f55)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] gh-101100: Fix Sphinx nitpicks in `library/traceback.rst` (GH-113106) (#113112)
Miss Islington (bot) [Thu, 14 Dec 2023 14:17:13 +0000 (15:17 +0100)] 
[3.11] gh-101100: Fix Sphinx nitpicks in `library/traceback.rst` (GH-113106) (#113112)

gh-101100: Fix Sphinx nitpicks in `library/traceback.rst` (GH-113106)
(cherry picked from commit d9e1b5794a8fade21773d18f91a07f80b55c839c)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and `reference/simple_...
Miss Islington (bot) [Thu, 14 Dec 2023 13:37:38 +0000 (14:37 +0100)] 
[3.11] gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and `reference/simple_stmts.rst` (GH-113107) (#113110)

gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and `reference/simple_stmts.rst` (GH-113107)
(cherry picked from commit 4b3cb082da82da744f5db0b7315aa80558c51557)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] gh-112716: Fix SystemError when __builtins__ is not a dict (GH-112770) (GH...
Serhiy Storchaka [Thu, 14 Dec 2023 12:59:33 +0000 (14:59 +0200)] 
[3.11] gh-112716: Fix SystemError when __builtins__ is not a dict (GH-112770) (GH-113105)

It was raised in two cases:
* in the import statement when looking up __import__
* in pickling some builtin type when looking up built-ins iter, getattr, etc.

(cherry picked from commit 1161c14e8c68296fc465cd48970b32be9bee012e)

22 months ago[3.11] gh-113090: Fix test.support.os_support.can_chmod() on Windows (GH-113091)...
Miss Islington (bot) [Thu, 14 Dec 2023 12:01:01 +0000 (13:01 +0100)] 
[3.11] gh-113090: Fix test.support.os_support.can_chmod() on Windows (GH-113091) (GH-113100)

(cherry picked from commit c6e953be125c491226adc1a5bc9c804ce256aa17)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.11] Fixing typo in DocTestRunner docs (GH-112326) (GH-113098)
Miss Islington (bot) [Thu, 14 Dec 2023 10:15:43 +0000 (11:15 +0100)] 
[3.11] Fixing typo in DocTestRunner docs (GH-112326) (GH-113098)

(cherry picked from commit b3c21265fa48a137a4c6a35e425b2b7f94f96cf4)

Co-authored-by: Daniel Wysocki <dwysocki@users.noreply.github.com>