]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
21 months ago[3.11] gh-114241: Fix and improve the ftplib CLI (GH-114242) (GH-114405)
Miss Islington (bot) [Sun, 21 Jan 2024 20:31:12 +0000 (21:31 +0100)] 
[3.11] gh-114241: Fix and improve the ftplib CLI (GH-114242) (GH-114405)

* Fix writing the retrieved binary file to stdout.
* Add a newline after writing warnings to stderr.
* Fix a TypeError if the netrc file doesn't contain a host/default entry.
* Improve the usage message.
(cherry picked from commit 42d72b23dd1ee0e100ee47aca64fc1e1bbe576c9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.11] Docs: align sqlite3 docs with versionadded/versionchanged recommendations...
Erlend E. Aasland [Sun, 21 Jan 2024 20:07:46 +0000 (21:07 +0100)] 
[3.11] Docs: align sqlite3 docs with versionadded/versionchanged recommendations (#114400) (#114403)

(cherry picked from commit 336030161a6cb8aa5b4f42a08510f4383984703f)

When a parameter is added to a function or method, use the 'versionchanged'
directive, not 'versionadded'.

21 months ago[3.11] Docs: link to sys.stdout in ftplib docs (GH-114396) (#114398)
Miss Islington (bot) [Sun, 21 Jan 2024 17:47:48 +0000 (18:47 +0100)] 
[3.11] Docs: link to sys.stdout in ftplib docs (GH-114396) (#114398)

(cherry picked from commit de17cf444a7b1e06380bb5bf8547f1fc3c03fc4a)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
21 months ago [3.11] gh-113358 Fix rendering tracebacks with exceptions with a broken __getattr__...
Jérome Perrin [Sun, 21 Jan 2024 17:25:55 +0000 (02:25 +0900)] 
 [3.11] gh-113358 Fix rendering tracebacks with exceptions with a broken __getattr__ : Normalize exception  (#114379)

21 months ago[3.11] gh-114384: Align sys.set_asyncgen_hooks signature in docs to reflect implement...
Miss Islington (bot) [Sun, 21 Jan 2024 13:03:53 +0000 (14:03 +0100)] 
[3.11] gh-114384: Align sys.set_asyncgen_hooks signature in docs to reflect implementation (GH-114385) (#114387)

(cherry picked from commit 38768e4cdd1c4b6e03702da8a94e1c22479d6ed3)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.11] Docs: mark up FTP() constructor with param list (GH-114359) (#114383)
Miss Islington (bot) [Sun, 21 Jan 2024 11:33:37 +0000 (12:33 +0100)] 
[3.11] Docs: mark up FTP() constructor with param list (GH-114359) (#114383)

(cherry picked from commit 96c15b1c8d03db5b7b5b719214d9d156b317ba9d)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
21 months ago[3.11] Docs: mark up the FTP debug levels as a list (GH-114360) (#114376)
Miss Islington (bot) [Sun, 21 Jan 2024 10:26:55 +0000 (11:26 +0100)] 
[3.11] Docs: mark up the FTP debug levels as a list (GH-114360) (#114376)

(cherry picked from commit fbc28748eaf578436ef9662363575f6bdde2e2f7)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
21 months ago[3.11] gh-101100: Fix sphinx warnings in `Doc/c-api/memory.rst` (GH-114373) (#114378)
Miss Islington (bot) [Sun, 21 Jan 2024 09:40:43 +0000 (10:40 +0100)] 
[3.11] gh-101100: Fix sphinx warnings in `Doc/c-api/memory.rst` (GH-114373) (#114378)

gh-101100: Fix sphinx warnings in `Doc/c-api/memory.rst` (GH-114373)
(cherry picked from commit 47133d8d869c94c4d1f340b5481cc3f2cdc7d68b)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.11] Fix the confusing "User-defined methods" reference in the datamodel (GH-114276...
Miss Islington (bot) [Sun, 21 Jan 2024 03:52:30 +0000 (04:52 +0100)] 
[3.11] Fix the confusing "User-defined methods" reference in the datamodel (GH-114276) (#114366)

21 months ago[3.11] Docs: structure the ftplib reference (#114317) (#114351)
Erlend E. Aasland [Sat, 20 Jan 2024 19:37:04 +0000 (20:37 +0100)] 
[3.11] Docs: structure the ftplib reference (#114317) (#114351)

(cherry picked from commit b1ad5a5d446f944a45c43a3e865d1d8f47611071)

Introduce the following headings and subheadings:

- Reference
  * FTP objects
  * FTP_TLS objects
  * Module variables

21 months ago[3.11] GH-99380: Update to Sphinx 7 (GH-99381) (#114342)
Adam Turner [Sat, 20 Jan 2024 11:31:06 +0000 (11:31 +0000)] 
[3.11] GH-99380: Update to Sphinx 7 (GH-99381) (#114342)

(cherry picked from commit e6495159f6f2ca4fe3b5143c62fc2ad5873ef54f)

21 months ago[3.11] gh-114332: Fix the flags reference for ``re.compile()`` (GH-114334) (#114340)
Miss Islington (bot) [Sat, 20 Jan 2024 11:23:23 +0000 (12:23 +0100)] 
[3.11] gh-114332: Fix the flags reference for ``re.compile()`` (GH-114334) (#114340)

gh-114332: Fix the flags reference for ``re.compile()`` (GH-114334)

The GH-93000 change set inadvertently caused a sentence in re.compile()
documentation to refer to details that no longer followed. Correct this
with a link to the Flags sub-subsection.

(cherry picked from commit 567a85e9c15a3f7848330ae7bef3de2f70fc9f97)

Co-authored-by: David H. Gutteridge <dhgutteridge@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
21 months ago[3.11] Retain shorter tables of contents for Sphinx 5.2.3+ (GH-114318) (#114338)
Miss Islington (bot) [Sat, 20 Jan 2024 10:33:19 +0000 (11:33 +0100)] 
[3.11] Retain shorter tables of contents for Sphinx 5.2.3+ (GH-114318) (#114338)

21 months ago[3.11] gh-113358: Fix rendering tracebacks with exceptions with a broken __getattr__...
Jérome Perrin [Fri, 19 Jan 2024 20:35:57 +0000 (05:35 +0900)] 
[3.11] gh-113358: Fix rendering tracebacks with exceptions with a broken __getattr__ (GH-113359) (#114118)

21 months ago[3.11] gh-108303: Move all doctest related files and tests to `Lib/test/test_doctest...
Nikita Sobolev [Fri, 19 Jan 2024 15:12:48 +0000 (18:12 +0300)] 
[3.11] gh-108303: Move all doctest related files and tests to `Lib/test/test_doctest/` (GH-112109) (#114313)

gh-108303: Move all doctest related files and tests to `Lib/test/test_doctest/` (GH-112109)

21 months ago[3.11] gh-112092: clarify unstable ABI recompilation requirements (GH-112093) (#114261)
Miss Islington (bot) [Thu, 18 Jan 2024 20:28:34 +0000 (21:28 +0100)] 
[3.11] gh-112092: clarify unstable ABI recompilation requirements (GH-112093) (#114261)

gh-112092: clarify unstable ABI recompilation requirements (GH-112093)

Use different versions in the examples for when extensions do and do not need to be recompiled to make the examples easier to understand.
(cherry picked from commit 68a7b78cd5185cbd9456f42c15ecf872a7c16f44)

Co-authored-by: DerSchinken <53398996+DerSchinken@users.noreply.github.com>
21 months ago[3.11] gh-110345: show Tcl/Tk patchlevel in `tkinter._test()` (GH-110350) (GH-114252)
Miss Islington (bot) [Thu, 18 Jan 2024 16:03:07 +0000 (17:03 +0100)] 
[3.11] gh-110345: show Tcl/Tk patchlevel in `tkinter._test()` (GH-110350) (GH-114252)

(cherry picked from commit b8f29b1293f55e12e86a2a039b49b6f9f73851b7)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
21 months ago[3.11] gh-113205: test_multiprocessing.test_terminate: Shorter sleep for threadpools...
Miss Islington (bot) [Thu, 18 Jan 2024 12:49:26 +0000 (13:49 +0100)] 
[3.11] gh-113205: test_multiprocessing.test_terminate: Shorter sleep for threadpools (GH-114186) (GH-114223)

Threads can't be forced to terminate (without potentially corrupting too much
state), so the  expected behaviour of `ThreadPool.terminate` is to wait for
the currently executing tasks to finish.

Use shorter sleep time for threadpools, so if a task manages to start, the test
doesn't block for long.

(cherry picked from commit c1db9606081bdbe0207f83a861a3c70c356d3704)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
21 months ago[3.11] gh-104522: Fix test_subprocess failure when build Python in the root home...
Miss Islington (bot) [Thu, 18 Jan 2024 12:19:18 +0000 (13:19 +0100)] 
[3.11] gh-104522: Fix test_subprocess failure when build Python in the root home directory (GH-114236) (GH-114245)

EPERM is raised when setreuid() fails.
EACCES is set in execve() when the test user has not access to sys.executable.
(cherry picked from commit 311d1e2701037952eaf75f993be76f3092c1f01c)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.11] gh-104522: Fix OSError raised when run a subprocess (GH-114195) (GH-114243)
Serhiy Storchaka [Thu, 18 Jan 2024 11:32:57 +0000 (13:32 +0200)] 
[3.11] gh-104522: Fix OSError raised when run a subprocess (GH-114195) (GH-114243)

Only set filename to cwd if it was caused by failed chdir(cwd).

_fork_exec() now returns "noexec:chdir" for failed chdir(cwd).

(cherry picked from commit e2c097ebdee447ded1109f99a235e65aa3533bf8)

Co-authored-by: Robert O'Shea <PurityLake@users.noreply.github.com>
21 months ago[3.11] gh-114231: Fix indentation in enum.rst (GH-114232) (#114235)
Miss Islington (bot) [Thu, 18 Jan 2024 09:29:44 +0000 (10:29 +0100)] 
[3.11] gh-114231: Fix indentation in enum.rst (GH-114232) (#114235)

Co-authored-by: Miyashita Yosuke <44266492+miyashiiii@users.noreply.github.com>
21 months ago[3.11] gh-96905: In IDLE code, stop redefining built-ins 'dict' and 'object' (GH...
Miss Islington (bot) [Thu, 18 Jan 2024 05:05:00 +0000 (06:05 +0100)] 
[3.11] gh-96905: In IDLE code, stop redefining built-ins 'dict' and 'object' (GH-114227) (#114229)

Prefix 'dict' with 'o', 'g', or 'l' for 'object', 'global', or 'local'.
Suffix 'object' with '_'.
(cherry picked from commit 6f4b242a03e521a55f0b9e440703b424ed18ce2f)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
21 months ago[3.11] gh-114211: Update EmailMessage doc about ordered keys (GH-114224) (#114226)
Miss Islington (bot) [Thu, 18 Jan 2024 02:56:03 +0000 (03:56 +0100)] 
[3.11] gh-114211: Update EmailMessage doc about ordered keys (GH-114224) (#114226)

Ordered keys are no longer unlike 'real dict's.
(cherry picked from commit 8cda72037b262772399b2b7fc36dee9340d74fd6)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
21 months ago[3.11] gh-38807: Fix race condition in Lib/trace.py (GH-110143) (GH-114207)
Miss Islington (bot) [Wed, 17 Jan 2024 20:26:09 +0000 (21:26 +0100)] 
[3.11] gh-38807: Fix race condition in Lib/trace.py (GH-110143) (GH-114207)

Instead of checking if a directory does not exist and thereafter
creating it, directly call os.makedirs() with the exist_ok=True.
(cherry picked from commit 78fcde039a33d8463e34356d5462fecee0f2831a)

Co-authored-by: buermarc <44375277+buermarc@users.noreply.github.com>
21 months ago[3.11] gh-105102: Fix nested unions in structures when the system byteorder is the...
Serhiy Storchaka [Wed, 17 Jan 2024 19:58:28 +0000 (21:58 +0200)] 
[3.11] gh-105102: Fix nested unions in structures when the system byteorder is the opposite (GH-105106) (GH-114205)

(cherry picked from commit 0b541f64c472976b2fee1ec9919bc7b02a798242)

Co-authored-by: Sheidan <37596668+Sh3idan@users.noreply.github.com>
21 months ago[3.11] Fix typo in tkinter.ttk.rst (GH-106157) (GH-114201)
Miss Islington (bot) [Wed, 17 Jan 2024 19:24:10 +0000 (20:24 +0100)] 
[3.11] Fix typo in tkinter.ttk.rst (GH-106157) (GH-114201)

(cherry picked from commit 7573c44c3278eacf0233146037d843bb2563877a)

Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
21 months ago[3.11] gh-114070: fix token reference warnings in expressions.rst (GH-114169) (#114193)
Miss Islington (bot) [Wed, 17 Jan 2024 16:53:08 +0000 (17:53 +0100)] 
[3.11] gh-114070: fix token reference warnings in expressions.rst (GH-114169) (#114193)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
21 months ago[3.11] gh-113858: GH Actions: Make ccache smaller (GH-114082) (#114188)
Petr Viktorin [Wed, 17 Jan 2024 16:06:52 +0000 (17:06 +0100)] 
[3.11] gh-113858: GH Actions: Make ccache smaller (GH-114082) (#114188)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
21 months ago[3.11] gh-111777: Fix assertion errors on incorrectly still-tracked GC object destruc...
Miss Islington (bot) [Wed, 17 Jan 2024 14:10:12 +0000 (15:10 +0100)] 
[3.11] gh-111777: Fix assertion errors on incorrectly still-tracked GC object destruction (GH-111778) (GH-111990)

In PyObject_GC_Del, in Py_DEBUG mode, when warning about GC objects that
were not properly untracked before starting destruction, take care to
untrack the object _before_ warning, to avoid triggering a GC run and
causing the problem the code tries to warn about. Also make sure to save and
restore any pending exceptions, which the warning would otherwise clobber or
trigger an assertion error on.
(cherry picked from commit ce6a533c4bf1afa3775dfcaee5fc7d5c15a4af8c)

Co-authored-by: T. Wouters <thomas@python.org>
21 months ago[3.11] gh-70835: Clarify error message for CSV file opened with wrong newline (GH...
Miss Islington (bot) [Wed, 17 Jan 2024 14:06:39 +0000 (15:06 +0100)] 
[3.11] gh-70835: Clarify error message for CSV file opened with wrong newline (GH-113786) (GH-113906)

Based on patch by SilentGhost.
(cherry picked from commit 568d220993fa9b4b812ff1b425edd80dbe17dda9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.11] gh-104282: Fix null pointer dereference in `lzma._decode_filter_properties...
Miss Islington (bot) [Wed, 17 Jan 2024 13:30:29 +0000 (14:30 +0100)] 
[3.11] gh-104282: Fix null pointer dereference in `lzma._decode_filter_properties` (GH-104283) (GH-114182)

(cherry picked from commit 0154405350c272833bd51f68138223655e142a37)

Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com>
21 months ago[3.11] gh-102468: Document `PyCFunction_New*` and `PyCMethod_New` (GH-112557) (GH...
Miss Islington (bot) [Wed, 17 Jan 2024 09:21:16 +0000 (10:21 +0100)] 
[3.11] gh-102468: Document `PyCFunction_New*` and `PyCMethod_New` (GH-112557) (GH-114120)

gh-102468: Document `PyCFunction_New*` and `PyCMethod_New` (GH-112557)
(cherry picked from commit a482bc67ee786e60937a547776fcf9528810e1ce)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
21 months ago[3.11] gh-72284: Revise lists in IDLE doc (GH-114174) (#114176)
Miss Islington (bot) [Wed, 17 Jan 2024 08:35:35 +0000 (09:35 +0100)] 
[3.11] gh-72284: Revise lists in IDLE doc  (GH-114174) (#114176)

Tkinter is a fact, not necessarily a feature.

Reorganize editor key bindings in a logical order
and remove those that do not work, at least on Windows.

Improve shell bindings list.
(cherry picked from commit 4a32275389d94ba41f8881c32ad4b232effb1c6f)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
21 months ago[3.11] gh-81479: For Help => IDLE Doc, stop double-spacing some lists. (GH-114168...
Miss Islington (bot) [Wed, 17 Jan 2024 06:35:35 +0000 (07:35 +0100)] 
[3.11] gh-81479: For Help => IDLE Doc, stop double-spacing some lists. (GH-114168) (#114171)

This matches Firefox format.  Edge double-spaces non-simple
list but I think it looks worse.
(cherry picked from commit e07a400c310ad3bdd72bb0ae401991af17435e4d)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
21 months ago[3.11] gh-112043: Align concurrent.futures.Executor.map docs with implementation...
Miss Islington (bot) [Wed, 17 Jan 2024 01:38:06 +0000 (02:38 +0100)] 
[3.11] gh-112043: Align concurrent.futures.Executor.map docs with implementation (GH-114153) (#114165)

The first parameter is named 'fn', not 'func'.
(cherry picked from commit 8d26db45df479a54eccd2aced7d8a5ea9fd0ffa5)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
21 months ago[3.11] gh-88531 Fix dataclass __post_init__/__init__ interplay documentation (gh...
Miss Islington (bot) [Wed, 17 Jan 2024 01:33:09 +0000 (02:33 +0100)] 
[3.11] gh-88531 Fix dataclass __post_init__/__init__ interplay documentation (gh-107404) (#114163)

* Simplify __post_init__ example usage. It applies to all base classes, not just dataclasses.
(cherry picked from commit 05008c27b73da640b63c0d335c65ade517c0eb84)

Co-authored-by: Steffen Zeile <48187781+Kaniee@users.noreply.github.com>
21 months ago[3.11] gh-94220: Align fnmatch docs with the implementation and amend markup (GH...
Miss Islington (bot) [Tue, 16 Jan 2024 22:42:57 +0000 (23:42 +0100)] 
[3.11] gh-94220: Align fnmatch docs with the implementation and amend markup (GH-114152) (#114156)

- Align the argument spec for fnmatch functions with the actual
  implementation.
- Update Sphinx markup to recent recommandations.
- Add link to 'iterable' glossary entry.

(cherry picked from commit 6e84f3b56f445b56ab48723d636c0a17090298ab)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
21 months ago[3.11] gh-113659: Skip hidden .pth files (GH-113660) (GH-114144)
Miss Islington (bot) [Tue, 16 Jan 2024 18:56:31 +0000 (19:56 +0100)] 
[3.11] gh-113659: Skip hidden .pth files (GH-113660) (GH-114144)

Skip .pth files with names starting with a dot or hidden file attribute.
(cherry picked from commit 74208ed0c440244fb809d8acc97cb9ef51e888e3)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.11] Fix 'expresion' typo in IDLE doc (GH-114130) (#114140)
Miss Islington (bot) [Tue, 16 Jan 2024 18:31:25 +0000 (19:31 +0100)] 
[3.11] Fix 'expresion' typo in IDLE doc (GH-114130) (#114140)

The substantive change is on line 577/593. Rest is header/footer stuff ignored when displaying.
(cherry picked from commit 7a24ecc953e1edc9c5bbedbd19cc587c3ff635ea)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
21 months agogh-114096: Restore privileges in _winapi.CreateJunction after creating the junction...
Steve Dower [Tue, 16 Jan 2024 17:37:17 +0000 (17:37 +0000)] 
gh-114096: Restore privileges in _winapi.CreateJunction after creating the junction (GH-114089)

This avoids impact on later parts of the application which may be able to do things they otherwise shouldn't.

21 months ago[3.11] Docs: Improve multiprocessing.SharedMemory reference (#114093) (#114138)
Erlend E. Aasland [Tue, 16 Jan 2024 17:18:34 +0000 (18:18 +0100)] 
[3.11] Docs: Improve multiprocessing.SharedMemory reference (#114093) (#114138)

(cherry picked from b1db6278cf6e60efdeca96244e5d73df4f070bea)

Align the multiprocessing shared memory docs with Diatáxis's
recommendations for references.

- use a parameter list for the SharedMemory.__init__() argument spec
- use the imperative mode
- use versionadded, not versionchanged, for added parameters
- reflow touched lines according to SemBr

21 months ago[3.11] gh-114107: test.pythoninfo logs Windows Developer Mode (GH-114121) (#114128)
Miss Islington (bot) [Tue, 16 Jan 2024 16:43:50 +0000 (17:43 +0100)] 
[3.11] gh-114107: test.pythoninfo logs Windows Developer Mode (GH-114121) (#114128)

gh-114107: test.pythoninfo logs Windows Developer Mode (GH-114121)

Also, don't skip the whole collect_windows() if ctypes is missing.

Log also ctypes.windll.shell32.IsUserAnAdmin().
(cherry picked from commit c77f552ec02040dfe14a0a3cb743d96eedffadec)

Co-authored-by: Victor Stinner <vstinner@python.org>
21 months ago[3.11] gh-114069: Revise Tutorial Methods paragraph (GH-114127) (#114132)
Miss Islington (bot) [Tue, 16 Jan 2024 16:43:23 +0000 (17:43 +0100)] 
[3.11] gh-114069: Revise Tutorial Methods paragraph (GH-114127) (#114132)

gh-114069: Revise Tutorial Methods paragraph (GH-114127)

Remove excess words in the first and third sentences.
(cherry picked from commit 31a2543c80e1e38c97e50533249d9aa00e2f6cae)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
21 months ago[3.11] Docs: Align multiprocessing.shared_memory docs with Sphinx recommendations...
Erlend E. Aasland [Tue, 16 Jan 2024 13:08:01 +0000 (14:08 +0100)] 
[3.11] Docs: Align multiprocessing.shared_memory docs with Sphinx recommendations (#114103) (#114114)

(cherry picked from commit af852740862169cf3e8789a13b86a7b1d03b91db)

- add :class: and :mod: markups where needed
- fix incorrect escaping of a star in ShareableList arg spec
- mark up parameters with stars: *val*
- mark up list of built-in types using list markup
- remove unneeded parentheses from :meth: markups

21 months ago[3.11] gh-114077: Fix OverflowError in socket.sendfile() when pass count >2GiB (GH...
Miss Islington (bot) [Tue, 16 Jan 2024 11:53:26 +0000 (12:53 +0100)] 
[3.11] gh-114077: Fix OverflowError in socket.sendfile() when pass count >2GiB (GH-114079) (GH-114111)

(cherry picked from commit d4dfad2aa9e76038302b0c5a29ebacc2723ed50d)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.11] GH-101130: Document multiple arguments for `PurePath.[is_]relative_to()` ...
Barney Gale [Tue, 16 Jan 2024 01:37:55 +0000 (01:37 +0000)] 
[3.11] GH-101130: Document multiple arguments for `PurePath.[is_]relative_to()` (#114034)

3.11-only change as this is already covered in the 3.12+ deprecation
warning.

21 months ago[3.11] gh-114070: correct the specification of ``digit`` in the float() docs (GH...
Miss Islington (bot) [Mon, 15 Jan 2024 22:26:40 +0000 (23:26 +0100)] 
[3.11] gh-114070: correct the specification of ``digit`` in the float() docs (GH-114080) (#114095)

gh-114070: correct the specification of ``digit`` in the float() docs (GH-114080)
(cherry picked from commit 4f24b92aa0677ed5310dd2d1572b55f4e30c88ef)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
21 months ago[3.11] gh-101100: Fix Sphinx warnings in `howto/urllib2.rst` and `library/http.client...
Hugo van Kemenade [Sun, 14 Jan 2024 21:14:11 +0000 (23:14 +0200)] 
[3.11] gh-101100: Fix Sphinx warnings in `howto/urllib2.rst` and `library/http.client.rst` (GH-114060) (#114064)

(cherry picked from commit c2808431b32fa7bc0d222d4549389f781f1a7333)

21 months ago[3.11] gh-101225: Increase the socket backlog when creating a multiprocessing.connect...
Miss Islington (bot) [Sun, 14 Jan 2024 15:29:30 +0000 (16:29 +0100)] 
[3.11] gh-101225: Increase the socket backlog when creating a multiprocessing.connection.Listener (GH-113567) (#114019)

gh-101225: Increase the socket backlog when creating a multiprocessing.connection.Listener (GH-113567)

Increase the backlog for multiprocessing.connection.Listener` objects created
 by `multiprocessing.manager` and `multiprocessing.resource_sharer` to
 significantly reduce the risk of getting a connection refused error when creating
 a `multiprocessing.connection.Connection` to them.
(cherry picked from commit c7d59bd8cfa053e77ae3446c82afff1fd38a4886)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
21 months ago[3.11] gh-95649: Document that asyncio contains uvloop code (GH-107536) (#114045)
Alois Klink [Sun, 14 Jan 2024 02:14:51 +0000 (02:14 +0000)] 
[3.11] gh-95649: Document that asyncio contains uvloop code (GH-107536) (#114045)

Some of the asyncio SSL changes in GH-31275 [1] were taken from
v0.16.0 of the uvloop project [2]. In order to comply with the MIT
license, we need to just need to document the copyright information.

[1]: https://github.com/python/cpython/pull/31275
[2]: https://github.com/MagicStack/uvloop/tree/v0.16.0

(cherry picked from commit dce30c9cbc212e5455e100f35ac6afeb30dfd23e)

21 months ago[3.11] gh-114014: Update `fractions.Fraction()`'s rational parsing regex (GH-114015...
Mark Dickinson [Sat, 13 Jan 2024 18:22:31 +0000 (18:22 +0000)] 
[3.11] gh-114014: Update `fractions.Fraction()`'s rational parsing regex (GH-114015) (#114025)

Fix a bug in the regex used for parsing a string input to the `fractions.Fraction` constructor. That bug led to an inconsistent exception message being given for some inputs.

---------

Co-authored-by: Crowthebird <78076854+thatbirdguythatuknownot@users.noreply.github.com>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
21 months ago[3.11] gh-114021: Pin various sphinxcontrib extensions to older versions (GH-114022...
Miss Islington (bot) [Sat, 13 Jan 2024 17:44:58 +0000 (18:44 +0100)] 
[3.11] gh-114021: Pin various sphinxcontrib extensions to older versions (GH-114022) (#114029)

[3.12] gh-114021: Pin various sphinxcontrib extensions to older versions (GH-114022)
(cherry picked from commit 94b1d1fa38ada8cf7d196184a04a195c152eed75)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
21 months ago[3.11] gh-89159: Document missing TarInfo members (GH-91564) (#114007)
Miss Islington (bot) [Fri, 12 Jan 2024 23:26:03 +0000 (00:26 +0100)] 
[3.11] gh-89159: Document missing TarInfo members (GH-91564) (#114007)

gh-89159: Document missing TarInfo members (GH-91564)
(cherry picked from commit 3aa4b839e4aa01d4e8bc5c7685fd0eb17c4609b8)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
21 months ago[3.11] datamodel: Fix a typo in ``object.__init_subclass__`` (GH-111599) (#114005)
Miss Islington (bot) [Fri, 12 Jan 2024 23:06:14 +0000 (00:06 +0100)] 
[3.11] datamodel: Fix a typo in ``object.__init_subclass__`` (GH-111599) (#114005)

datamodel: Fix a typo in ``object.__init_subclass__`` (GH-111599)
(cherry picked from commit a47353d587b78bb5501b21343d9bca739c49a43a)

Co-authored-by: InSync <122007197+InSyncWithFoo@users.noreply.github.com>
21 months ago[3.11] Link to the glossary for "magic methods" in ``MagicMock`` (GH-111292) (#114003)
Miss Islington (bot) [Fri, 12 Jan 2024 23:01:09 +0000 (00:01 +0100)] 
[3.11] Link to the glossary for "magic methods" in ``MagicMock`` (GH-111292) (#114003)

Link to the glossary for "magic methods" in ``MagicMock`` (GH-111292)

The MagicMock documentation mentions magic methods several times without
actually pointing to the term in the glossary. This can be helpful for
people to fully understand what those magic methods are.
(cherry picked from commit e97da8677f7bbc6d970e230d334cd646ab662af1)

Co-authored-by: Pierre Equoy <pierre.equoy@canonical.com>
21 months ago[3.11] gh-101100: Fix Sphinx Lint warnings in `Misc/` (GH-113946) (#114001)
Hugo van Kemenade [Fri, 12 Jan 2024 22:58:26 +0000 (00:58 +0200)] 
[3.11] gh-101100: Fix Sphinx Lint warnings in `Misc/` (GH-113946) (#114001)

21 months ago[3.11] Tutorial: Clarify 'nonzero exit status' in the appendix (GH-112039) (#114000)
Miss Islington (bot) [Fri, 12 Jan 2024 22:48:32 +0000 (23:48 +0100)] 
[3.11] Tutorial: Clarify 'nonzero exit status' in the appendix (GH-112039) (#114000)

Tutorial: Clarify 'nonzero exit status' in the appendix (GH-112039)
(cherry picked from commit 32f3684b8f18d757945eee67a697cb4a95c697db)

Co-authored-by: Andrew Zipperer <47086307+zipperer@users.noreply.github.com>
21 months ago[3.11] Docs: Amend codeobject.co_lines docs; end number is exclusive (GH-113970)...
Miss Islington (bot) [Fri, 12 Jan 2024 15:10:33 +0000 (16:10 +0100)] 
[3.11] Docs: Amend codeobject.co_lines docs; end number is exclusive (GH-113970) (#113988)

The end number should be exclusive, not inclusive.
(cherry picked from commit e68806c7122070078507b370b13bb225f8501ff8)

Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
21 months ago[3.11] gh-113027: Fix test_variable_tzname in test_email (GH-113821) (GH-113832)
Miss Islington (bot) [Fri, 12 Jan 2024 11:59:23 +0000 (12:59 +0100)] 
[3.11] gh-113027: Fix test_variable_tzname in test_email (GH-113821) (GH-113832)

Determine the support of the Kyiv timezone by checking the result of
astimezone() which uses the system tz database and not the one
populated by zoneinfo.
(cherry picked from commit 931d7e052e22aa01e18fcc67ed71b6ea305aff71)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.11] gh-113903: Fix an IDLE configdialog test (GH-113973) (#113975)
Miss Islington (bot) [Fri, 12 Jan 2024 03:23:52 +0000 (04:23 +0100)] 
[3.11] gh-113903: Fix an IDLE configdialog test (GH-113973) (#113975)

test_configdialog.HighPageTest.test_highlight_target_text_mouse fails
if a line of the Highlight tab text sample is not visible. If so, bbox()
in click_char() returns None and the unpacking iteration fails.

This occurred on a Devuan Linux system. Fix by moving the
'see character' call inside click_char, just before the bbox call.

Also, reduce the click_char calls to just one per tag name and
replace the other nested function with a dict comprehension.
(cherry picked from commit c4992f4106aa509375f5beca8dc044a7f6c36a72)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
21 months ago[3.11] GH-107678: Improve Unicode handling clarity in ``library/re.rst`` (GH-107679...
Miss Islington (bot) [Fri, 12 Jan 2024 00:02:35 +0000 (01:02 +0100)] 
[3.11] GH-107678: Improve Unicode handling clarity in ``library/re.rst`` (GH-107679) (#113966)

GH-107678: Improve Unicode handling clarity in ``library/re.rst`` (GH-107679)
(cherry picked from commit c9b8a22f3404d59e2c4950715f8c29413a349b8e)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
21 months ago[3.11] GH-92584: Move installation schemes overview to sysconfig docs (GH-108018...
Adam Turner [Thu, 11 Jan 2024 23:48:10 +0000 (23:48 +0000)] 
[3.11] GH-92584: Move installation schemes overview to sysconfig docs (GH-108018) (#110214)

* Add new installation path functions subsection

* Add content from install/index to sysconfig

* Fix table

* Update note about installers

* Clean up the list of schemes, remove references to Distutils.
(cherry picked from commit f16e81f368d08891e28dc1f038c1826ea80d7801)

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>
21 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>
21 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)

21 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>