]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
21 months ago[3.12] Correct description of inheriting from another class (GH-114660) (#114868)
Miss Islington (bot) [Thu, 1 Feb 2024 18:15:11 +0000 (19:15 +0100)] 
[3.12] Correct description of inheriting from another class (GH-114660) (#114868)

"inherits <someclass>" grates to this reader. I think it should be "inherits from <someclass>".
(cherry picked from commit c9c6e04380ffedd25ea2e582f9057ab9612960c9)

Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
21 months ago[3.12] gh-105031: Clarify datetime documentation for ISO8601 (GH-105049) (GH-114866)
Miss Islington (bot) [Thu, 1 Feb 2024 17:34:08 +0000 (18:34 +0100)] 
[3.12] gh-105031: Clarify datetime documentation for ISO8601 (GH-105049) (GH-114866)

(cherry picked from commit e9dab656380ec03d628979975646748330b76b9b)

Co-authored-by: Nicholas Hollander <31573882+nhhollander@users.noreply.github.com>
21 months ago[3.12] gh-105089: Fix test_create_directory_with_write test failure in AIX (GH-105228...
Miss Islington (bot) [Thu, 1 Feb 2024 12:22:54 +0000 (13:22 +0100)] 
[3.12] gh-105089: Fix test_create_directory_with_write test failure in AIX (GH-105228) (GH-114860)

(cherry picked from commit 4dbb198d279a06fed74ea4c38f93d658baf38170)

Co-authored-by: Ayappan Perumal <ayappap2@in.ibm.com>
21 months ago[3.12] gh-107461 ctypes: Add a testcase for nested `_as_parameter_` lookup (GH-107462...
Miss Islington (bot) [Thu, 1 Feb 2024 12:06:08 +0000 (13:06 +0100)] 
[3.12] gh-107461 ctypes: Add a testcase for nested `_as_parameter_` lookup (GH-107462) (GH-114858)

(cherry picked from commit 0bf42dae7e73febc76ea96fd58af6b765a12b8a7)

Co-authored-by: Tomas R <tomas.roun8@gmail.com>
21 months ago[3.12] Fix typos in ElementTree documentation (GH-108848) (GH-114854)
Miss Islington (bot) [Thu, 1 Feb 2024 09:41:01 +0000 (10:41 +0100)] 
[3.12] Fix typos in ElementTree documentation (GH-108848) (GH-114854)

PI objects instead of comment objects.
(cherry picked from commit de6f97cd3519c5d8528d8ca1bb00fce4e9969671)

Co-authored-by: Christophe Nanteuil <35002064+christopheNan@users.noreply.github.com>
21 months ago[3.12] gh-114648: Add IndexError exception to tutorial datastructures list.pop entry...
Miss Islington (bot) [Thu, 1 Feb 2024 03:52:58 +0000 (04:52 +0100)] 
[3.12] gh-114648: Add IndexError exception to tutorial datastructures list.pop entry (GH-114681) (#114841)

Remove redundant explanation of optional argument.
(cherry picked from commit 57c3e775df5a5ca0982adf15010ed80a158b1b80)

Co-authored-by: srinivasan <shivnaren@gmail.com>
21 months ago[3.12] gh-67230: Add versionadded notes for QUOTE_NOTNULL and QUOTE_STRINGS (GH-11481...
Miss Islington (bot) [Thu, 1 Feb 2024 03:17:56 +0000 (04:17 +0100)] 
[3.12] gh-67230: Add versionadded notes for QUOTE_NOTNULL and QUOTE_STRINGS (GH-114816) (#114840)

As @GPHemsley pointed out, GH-29469 omitted `versionadded` notes for the 2 new items.
(cherry picked from commit 586057e9f80d57f16334c0eee8431931e4aa8cff)

Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
21 months ago[3.12] CI: Test on macOS M1 (GH-114766) (#114836)
Miss Islington (bot) [Thu, 1 Feb 2024 01:57:08 +0000 (02:57 +0100)] 
[3.12] CI: Test on macOS M1 (GH-114766) (#114836)

Test on macOS M1
(cherry picked from commit 854e2bc42340b22cdeea5d16ac8b1ef3762c6909)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
21 months ago[3.12] gh-114811: Change '\*' to '*' in warnings.rst (GH-114819) (#114837)
Miss Islington (bot) [Thu, 1 Feb 2024 01:54:25 +0000 (02:54 +0100)] 
[3.12] gh-114811: Change  '\*' to '*' in warnings.rst (GH-114819) (#114837)

Regression in 3.12.
(cherry picked from commit ff8939e5abaad7cd87f4d1f07ca7f6d176090f6c)

Co-authored-by: Pradyot Ranjan <99216956+prady0t@users.noreply.github.com>
21 months ago[3.12] gh-109534: fix reference leak when SSL handshake fails (GH-114074) (#114829)
Miss Islington (bot) [Thu, 1 Feb 2024 01:00:09 +0000 (02:00 +0100)] 
[3.12] gh-109534: fix reference leak when SSL handshake fails (GH-114074) (#114829)

gh-109534: fix reference leak when SSL handshake fails (GH-114074)
(cherry picked from commit 80aa7b3688b8fdc85cd53d4113cb5f6ce5500027)

Co-authored-by: Jamie Phan <jamie@ordinarylab.dev>
21 months ago[3.12] gh-111112: Avoid potential confusion in TCP server example. (GH-111113) (...
Miss Islington (bot) [Thu, 1 Feb 2024 00:50:34 +0000 (01:50 +0100)] 
[3.12] gh-111112: Avoid potential confusion in TCP server example. (GH-111113) (#114831)

gh-111112: Avoid potential confusion in TCP server example. (GH-111113)

Improve misleading TCP server docs and example.

socket.recv(), as documented by the Python reference documentation,
returns at most `bufsize` bytes, and the underlying TCP protocol means
there is no guaranteed correspondence between what is sent by the client
and what is received by the server.

This conflation could mislead readers into thinking that TCP is
datagram-based or has similar semantics, which will likely appear to
work for simple cases, but introduce difficult to reproduce bugs.
(cherry picked from commit a79a27242f75fc33416d4d135a4a542898d140e5)

Co-authored-by: Aidan Holm <alfh@google.com>
21 months ago[3.12] Add note to `sys.orig_argv` clarifying the difference from `sys.argv` (GH...
Miss Islington (bot) [Wed, 31 Jan 2024 21:40:11 +0000 (22:40 +0100)] 
[3.12] Add note to `sys.orig_argv` clarifying the difference from `sys.argv` (GH-114630) (#114821)

Add note to `sys.orig_argv` clarifying the difference from `sys.argv` (GH-114630)
(cherry picked from commit 1836f674c0d86ec3375189a550c8f4a52ff89ae8)

Co-authored-by: Bradley Reynolds <bradley.reynolds@darbia.dev>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
21 months ago[3.12] gh-114790: Do not execute `workflows/require-pr-label.yml` on forks (GH-114791...
Miss Islington (bot) [Wed, 31 Jan 2024 12:27:12 +0000 (13:27 +0100)] 
[3.12] gh-114790: Do not execute `workflows/require-pr-label.yml` on forks (GH-114791) (#114800)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
21 months ago[3.12] gh-114737: Revert change to ElementTree.iterparse "root" attribute (GH-114755...
Miss Islington (bot) [Wed, 31 Jan 2024 11:59:58 +0000 (12:59 +0100)] 
[3.12] gh-114737: Revert change to ElementTree.iterparse "root" attribute (GH-114755) (GH-114798)

Prior to gh-114269, the iterator returned by ElementTree.iterparse was
initialized with the root attribute as None. This restores the previous
behavior.
(cherry picked from commit 66f95ea6a65deff547cab0d312b8c8c8a4cf8beb)

Co-authored-by: Sam Gross <colesbury@gmail.com>
21 months ago[3.12] gh-101100: Fix class reference in library/test.rst (GH-114769) (GH-114794)
Miss Islington (bot) [Wed, 31 Jan 2024 09:41:10 +0000 (10:41 +0100)] 
[3.12] gh-101100: Fix class reference in library/test.rst (GH-114769) (GH-114794)

The text clearly seems to be referencing `TestFuncAcceptsSequencesMixin`,
for which no target is available. Name the class properly and suppress
the dangling reference.
(cherry picked from commit 7a93db44257c0404dc407ff2ddc997f4bb8890ed)

Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
21 months ago[3.12] gh-101100: Fix references in csv docs (GH-114658) (GH-114771)
Skip Montanaro [Wed, 31 Jan 2024 09:32:25 +0000 (03:32 -0600)] 
[3.12] gh-101100: Fix references in csv docs (GH-114658) (GH-114771)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
(cherry picked from commit 3911b42cc0d404e0eac87fce30b740b08618ff06)

21 months ago[3.12] Docs: mark up dbm.gnu.open() and dbm.ndbm.open() using param list (GH-114762...
Miss Islington (bot) [Wed, 31 Jan 2024 07:06:13 +0000 (08:06 +0100)] 
[3.12] Docs: mark up dbm.gnu.open() and dbm.ndbm.open() using param list (GH-114762) (#114783)

(cherry picked from commit c8cf5d7d148944f2850f25b02334400dd0238cb0)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
21 months ago[3.12] gh-106392: Fix inconsistency in deprecation warnings in datetime module (GH...
Miss Islington (bot) [Wed, 31 Jan 2024 03:24:27 +0000 (04:24 +0100)] 
[3.12] gh-106392: Fix inconsistency in deprecation warnings in datetime module (GH-114761) (#114767)

gh-106392: Fix inconsistency in deprecation warnings in datetime module (GH-114761)
(cherry picked from commit dc4cd2c9ba60e2ee7e534e2f6e93c4c135df23b9)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months agogh-110190: Fix ctypes structs with array on Windows ARM64 (GH-114753)
Miss Islington (bot) [Wed, 31 Jan 2024 00:15:16 +0000 (01:15 +0100)] 
gh-110190: Fix ctypes structs with array on Windows ARM64 (GH-114753)

(cherry picked from commit a06b606462740058b5d52fefdcdcd679d4f40260)

Co-authored-by: Diego Russo <diego.russo@arm.com>
21 months ago[3.12] Clarify one-item tuple (GH-114745) (#114757)
Miss Islington (bot) [Tue, 30 Jan 2024 18:50:28 +0000 (19:50 +0100)] 
[3.12] Clarify one-item tuple (GH-114745) (#114757)

A 'single tuple' means 'one tuple, of whatever length.
Remove the unneeded and slightly distracting parenthetical 'singleton' comment.
(cherry picked from commit a1332a99cf1eb9b879d4b1f28761b096b5749a0d)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
21 months ago[3.12] Set `hosted_on` for Read the Docs builds (GH-114697) (#114734)
Miss Islington (bot) [Mon, 29 Jan 2024 21:30:22 +0000 (22:30 +0100)] 
[3.12] Set `hosted_on` for Read the Docs builds (GH-114697) (#114734)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
21 months ago[3.12] Fix more references to datetime and time classes (GH-114717) (GH-114725)
Serhiy Storchaka [Mon, 29 Jan 2024 17:01:24 +0000 (19:01 +0200)] 
[3.12] Fix more references to datetime and time classes (GH-114717) (GH-114725)

They could be confused with references to datetime and time modules.
(cherry picked from commit 39c766b579cabc71a4a50773d299d4350221a70b)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.12] Remove limit in calendar CLI help message for year arg (GH-114719) (GH-114722)
Miss Islington (bot) [Mon, 29 Jan 2024 16:40:32 +0000 (17:40 +0100)] 
[3.12] Remove limit in calendar CLI help message for year arg (GH-114719) (GH-114722)

The limit was removed in 66c88ce30ca2b23daa37038e1a3c0de98f241f50 (GH-4109).
(cherry picked from commit 0f54ee4c6cdba74492183eb2dd142393c7dba403)

Co-authored-by: Steven Ward <planet36@users.noreply.github.com>
21 months ago[3.12] gh-101100: Fix datetime reference warnings (GH-114661) (GH-114716)
Miss Islington (bot) [Mon, 29 Jan 2024 15:12:03 +0000 (16:12 +0100)] 
[3.12] gh-101100: Fix datetime reference warnings (GH-114661) (GH-114716)

(cherry picked from commit e8b8f5e9c2da6a436360ce648061c90bdfcba863)

Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.12] gh-89159: Add some TarFile attribute types (GH-114520) (GH-114714)
Miss Islington (bot) [Mon, 29 Jan 2024 14:25:46 +0000 (15:25 +0100)] 
[3.12] gh-89159: Add some TarFile attribute types  (GH-114520) (GH-114714)

(cherry picked from commit d7d0d13cd37651990586d31d8974c59bd25e1045)

Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
21 months ago[3.12] gh-101100: Fix Sphinx warnings in `whatsnew/2.2.rst` (GH-112366) (#114711)
Miss Islington (bot) [Mon, 29 Jan 2024 13:18:34 +0000 (14:18 +0100)] 
[3.12] gh-101100: Fix Sphinx warnings in `whatsnew/2.2.rst` (GH-112366) (#114711)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
21 months ago[3.12] gh-114685: Fix incorrect use of PyBUF_READ in import.c (GH-114686) (GH-114700)
Miss Islington (bot) [Mon, 29 Jan 2024 10:09:51 +0000 (11:09 +0100)] 
[3.12] gh-114685: Fix incorrect use of PyBUF_READ in import.c (GH-114686) (GH-114700)

(cherry picked from commit 1ac1b2f9536a581f1656f0ac9330a7382420cda1)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.12] gh-101100: Fix sphinx warnings in `Doc/c-api/memoryview.rst` (GH-114669) ...
Miss Islington (bot) [Mon, 29 Jan 2024 10:02:06 +0000 (11:02 +0100)] 
[3.12] gh-101100: Fix sphinx warnings in `Doc/c-api/memoryview.rst` (GH-114669) (GH-114704)

(cherry picked from commit 97fb2480e4807a34b8197243ad57566ed7769e24)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.12] gh-110893: Improve the documentation for __future__ module (GH-114642) (#114702)
Miss Islington (bot) [Mon, 29 Jan 2024 09:46:48 +0000 (10:46 +0100)] 
[3.12] gh-110893: Improve the documentation for __future__ module (GH-114642) (#114702)

gh-110893: Improve the documentation for __future__ module (GH-114642)

nedbat took issue with the phrasing "real module". I'm actually fine
with that phrasing, but I do think the `__future__` page should be clear
about the way in which the `__future__` module is special. (Yes, there
was a footnote linking to the future statements part of the reference,
but there should be upfront discussion).

I'm sympathetic to nedbat's claim that no one really cares about
`__future__._Feature`, so I've moved the interesting table up to the
top.
(cherry picked from commit 3b86891fd69093b60141300862f278614ba80613)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
21 months ago[3.12] gh-100734: Add 'Notable change in 3.11.x' to `whatsnew/3.11.rst` (GH-114657...
Miss Islington (bot) [Sun, 28 Jan 2024 20:34:29 +0000 (21:34 +0100)] 
[3.12] gh-100734: Add 'Notable change in 3.11.x' to `whatsnew/3.11.rst` (GH-114657) (#114688)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.12] Correct Skip Montanaro's email address (GH-114677) (#114679)
Miss Islington (bot) [Sun, 28 Jan 2024 14:59:06 +0000 (15:59 +0100)] 
[3.12] Correct Skip Montanaro's email address (GH-114677) (#114679)

Correct Skip Montanaro's email address (GH-114677)
(cherry picked from commit 5ecfd750b4f511f270c38f0d748da9cffa279295)

Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
21 months ago[3.12] gh-114100: Remove superfluous writing to fd 1 in test_pty (GH-114647) (GH...
Miss Islington (bot) [Sat, 27 Jan 2024 17:29:48 +0000 (18:29 +0100)] 
[3.12] gh-114100: Remove superfluous writing to fd 1 in test_pty (GH-114647) (GH-114655)

(cherry picked from commit 7a470541e2bbc6f3e87a6d813e2ec42cf726de7a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.12] gh-101100: Fix sphinx warnings in `reference/import.rst` (GH-114646) (#114652)
Miss Islington (bot) [Sat, 27 Jan 2024 16:37:08 +0000 (17:37 +0100)] 
[3.12] gh-101100: Fix sphinx warnings in `reference/import.rst` (GH-114646) (#114652)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.12] gh-101100: Fix Sphinx warnings in `whatsnew/3.11.rst` and related (GH-114531...
Hugo van Kemenade [Sat, 27 Jan 2024 14:57:28 +0000 (16:57 +0200)] 
[3.12] gh-101100: Fix Sphinx warnings in `whatsnew/3.11.rst` and related (GH-114531) (#114649)

21 months ago[3.12] gh-113560: Improve docstrings for set.issubset() and set.issuperset() (GH...
Miss Islington (bot) [Sat, 27 Jan 2024 11:29:26 +0000 (12:29 +0100)] 
[3.12] gh-113560: Improve docstrings for set.issubset() and set.issuperset() (GH-113562) (GH-114644)

(cherry picked from commit 11c582235d86b6020710eff282eeb381a7bf7bb7)

Co-authored-by: Charlie Zhao <zhaoyu_hit@qq.com>
21 months ago[3.12] gh-101100: Fix sphinx warnings in `library/email.mime.rst` (GH-114635) (GH...
Miss Islington (bot) [Sat, 27 Jan 2024 08:53:34 +0000 (09:53 +0100)] 
[3.12] gh-101100: Fix sphinx warnings in `library/email.mime.rst` (GH-114635) (GH-114640)

(cherry picked from commit 6a8944acb61d0a2c210ab8066cdcec8602110e2f)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.12] gh-113445: Amend PyObject_RichCompareBool() docs (GH-113891) (GH-114638)
Miss Islington (bot) [Sat, 27 Jan 2024 08:02:15 +0000 (09:02 +0100)] 
[3.12] gh-113445: Amend PyObject_RichCompareBool() docs (GH-113891) (GH-114638)

(cherry picked from commit 926881dc10ebf77069e02e66eea3e0d3ba500fe5)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
21 months ago[3.12] Docs: rework the dbm.dumb introduction (GH-114550) (#114620)
Miss Islington (bot) [Fri, 26 Jan 2024 18:19:20 +0000 (19:19 +0100)] 
[3.12] Docs: rework the dbm.dumb introduction (GH-114550) (#114620)

(cherry picked from commit 6c2b419fb91c8d7daa769d39f73768114b5eb45a)

- consistently use correct parameter markup
- consistently use submodule name as database name
- improve accuracy of the dbm.dumb.open() spec
- remove dumbdbm class refs and replace them with generic "database object"
- use parameter list for dbm.dumb.open()
(cherry picked from commit 6c2b419fb91c8d7daa769d39f73768114b5eb45a)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
21 months agoUse Unicode unconditionally for _winapi.CreateFile (GH-114611)
Steve Dower [Fri, 26 Jan 2024 17:53:46 +0000 (17:53 +0000)] 
Use Unicode unconditionally for _winapi.CreateFile (GH-114611)

Currently it switches based on build settings, but argument clinic does not handle it correctly.

21 months ago[3.12] Document PyOS_strtoul and PyOS_strtol (GH-114048) (GH-114618)
Miss Islington (bot) [Fri, 26 Jan 2024 17:50:33 +0000 (18:50 +0100)] 
[3.12] Document PyOS_strtoul and PyOS_strtol (GH-114048) (GH-114618)

(cherry picked from commit 3f62bf32caf04cedb2c59579a0ce835d1e793d4d)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
21 months ago[3.12] gh-77749: Fix inconsistent behavior of non-ASCII handling in EmailPolicy.fold...
Miss Islington (bot) [Fri, 26 Jan 2024 16:30:32 +0000 (17:30 +0100)] 
[3.12] gh-77749: Fix inconsistent behavior of non-ASCII handling in EmailPolicy.fold() (GH-6986) (GH-114606)

It now always encodes non-ASCII characters in headers if utf8 is false.

(cherry picked from commit 504334c7be5a56237df2598d338cd494a42fca4c)

Co-authored-by: Rito Takeuchi <licht-t@outlook.jp>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.12] Docs: mark up dbm.open() with param list (GH-114601) (#114604)
Miss Islington (bot) [Fri, 26 Jan 2024 15:18:10 +0000 (16:18 +0100)] 
[3.12] Docs: mark up dbm.open() with param list (GH-114601) (#114604)

Also consolidate following paragraphs regarding database objects.

(cherry picked from commit 0bd8297a2208125f76807cdf01f72abe5c94136b)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
21 months ago[3.12] Docs: reword dbm.ndbm introduction (#114549) (#114599)
Erlend E. Aasland [Fri, 26 Jan 2024 12:56:39 +0000 (13:56 +0100)] 
[3.12] Docs: reword dbm.ndbm introduction (#114549) (#114599)

(cherry picked from commit 4cf068ed0879cccf86a45f06fb274b350b89e911)

- add abbreviation directives for NDBM and GDBM
- consistently spell NDBM as NDBM
- silence broken ndbm class refs
- improve accuracy of dbm.ndbm.open() spec
- use replacement text for NDBM/GDBM file format incompatibility note

21 months ago[3.12] Docs: fix versionchanged directives for dbm.open() and dbm.whichdb() (GH-11459...
Miss Islington (bot) [Fri, 26 Jan 2024 12:42:31 +0000 (13:42 +0100)] 
[3.12] Docs: fix versionchanged directives for dbm.open() and dbm.whichdb() (GH-114594) (#114595)

(cherry picked from commit 8710faeac28e65c65862359413e8341492f529af)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
21 months ago[3.12] Docs: rework dbm introduction (GH-114551) (#114590)
Miss Islington (bot) [Fri, 26 Jan 2024 10:23:55 +0000 (11:23 +0100)] 
[3.12] Docs: rework dbm introduction (GH-114551) (#114590)

- add refs to other parts of the docs (dict, bytes, etc.)
- clarify whichdb() return value by using list markup
- silence refs to example or generic submodule methods (keys, get, etc.)

(cherry picked from commit 65cf5dce11a38e327b9b0abfca279d650452b34f)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
21 months ago[3.12] Docs: reword dbm.gnu introduction (#114548) (#114588)
Erlend E. Aasland [Fri, 26 Jan 2024 10:13:35 +0000 (11:13 +0100)] 
[3.12] Docs: reword dbm.gnu introduction (#114548) (#114588)

(cherry picked from commit 06c5de36f222b926bbc94831536096b974bd5e77)

Also...
- consistently spell GDBM as GDBM
- silence gdbm class refs
- improve accuracy of dbm.gdbm.open() spec

21 months agogh-114561: Mark some tests in `test_wincosoleio` with `requires_resource('console...
Miss Islington (bot) [Thu, 25 Jan 2024 20:18:23 +0000 (21:18 +0100)] 
gh-114561: Mark some tests in `test_wincosoleio` with `requires_resource('console')` decorator  (GH-114565)

(cherry picked from commit 33ae9895d4ac0d88447e529038bc4725ddd8c291)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
21 months ago[3.12] gh-77465: Increase test coverage for the numbers module (GH-111738) (GH-114556)
Miss Islington (bot) [Thu, 25 Jan 2024 15:36:20 +0000 (16:36 +0100)] 
[3.12] gh-77465: Increase test coverage for the numbers module (GH-111738) (GH-114556)

(cherry picked from commit e721adf4bd47b20ba0a93ad6471084de31bf20c7)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months agogh-100107: Make py.exe launcher ignore app aliases that launch Microsoft Store (GH...
Miss Islington (bot) [Thu, 25 Jan 2024 00:40:45 +0000 (01:40 +0100)] 
gh-100107: Make py.exe launcher ignore app aliases that launch Microsoft Store (GH-114358)

(cherry picked from commit d5c21c12c17b6e4db2378755af8e3699516da187)

Co-authored-by: Vincent Cunningham <flagrama@users.noreply.github.com>
21 months ago[3.12] gh-108731: Add description of __slots__ to MemberDescriptorType docs (GH-10874...
Miss Islington (bot) [Wed, 24 Jan 2024 20:05:24 +0000 (21:05 +0100)] 
[3.12] gh-108731: Add description of __slots__ to MemberDescriptorType docs (GH-108745) (GH-114536)

(cherry picked from commit 6888cccac0776d965cc38a7240e1bdbacb952b91)

Co-authored-by: plokmijnuhby <39633434+plokmijnuhby@users.noreply.github.com>
21 months ago[3.12] Docs: mark up the FTP_TLS() docs with param list (GH-114510) (#114532)
Miss Islington (bot) [Wed, 24 Jan 2024 16:28:34 +0000 (17:28 +0100)] 
[3.12] Docs: mark up the FTP_TLS() docs with param list (GH-114510) (#114532)

Also turn sentence about prot_p() into a note.

(cherry picked from commit 6fadd68da5dd928847264b17f62a5b8b369c1c1e)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
21 months ago[3.12] gh-104360: remove reference to removed module-level wrap_socket (GH-104361...
Miss Islington (bot) [Wed, 24 Jan 2024 14:31:34 +0000 (15:31 +0100)] 
[3.12] gh-104360: remove reference to removed module-level wrap_socket (GH-104361) (GH-114528)

* remove reference to removed module-level wrap_socket
* drive by typo fix
(cherry picked from commit 127a49785247ac8af158b18e38b722e520054d71)

Co-authored-by: Thomas Grainger <tagrain@gmail.com>
21 months ago[3.12] gh-101100: Fix Sphinx warnings in `c-api/structures.rst` (GH-113564) (#114527)
Miss Islington (bot) [Wed, 24 Jan 2024 13:48:36 +0000 (14:48 +0100)] 
[3.12] gh-101100: Fix Sphinx warnings in `c-api/structures.rst` (GH-113564) (#114527)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
21 months ago[3.12] gh-101100: Fix sphinx warnings in `concurrent.futures.rst` (GH-114521) (#114525)
Hugo van Kemenade [Wed, 24 Jan 2024 13:44:22 +0000 (15:44 +0200)] 
[3.12] gh-101100: Fix sphinx warnings in `concurrent.futures.rst` (GH-114521) (#114525)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.12] gh-114440: Close writer pipe in multiprocessing.Queue, not concurrent.futures...
Petr Viktorin [Wed, 24 Jan 2024 12:21:10 +0000 (13:21 +0100)] 
[3.12] gh-114440: Close writer pipe in multiprocessing.Queue, not concurrent.futures (GH-114489)

This was left out of the 3.12 backport for three related issues:
- gh-107219 (which adds `self.call_queue._writer.close()` to `_ExecutorManagerThread` in `concurrent.futures`)
- gh-109370 (which changes this to be only called on Windows)
- gh-109047 (which moves the call to `multiprocessing.Queue`'s `_terminate_broken`)

Without this change, ProcessPoolExecutor sometimes hangs on Windows
when a worker process is terminated.

Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.12] gh-113205: test_multiprocessing.test_terminate: Give tasks a chance to start...
Miss Islington (bot) [Wed, 24 Jan 2024 07:46:27 +0000 (08:46 +0100)] 
[3.12] gh-113205: test_multiprocessing.test_terminate: Give tasks a chance to start (GH-114249) (GH-114516)

(cherry picked from commit ce75b4c26d18dcd840fd2e7ee362a84209648d06)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.12] gh-101100: Fix sphinx warnings in `asyncio-task.rst` (GH-114469) (#114519)
Hugo van Kemenade [Wed, 24 Jan 2024 07:40:22 +0000 (09:40 +0200)] 
[3.12] gh-101100: Fix sphinx warnings in `asyncio-task.rst` (GH-114469) (#114519)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.12] Fix a typo in the contextlib documentation (GH-114507) (#114514)
Miss Islington (bot) [Wed, 24 Jan 2024 04:22:37 +0000 (05:22 +0100)] 
[3.12] Fix a typo in the contextlib documentation (GH-114507) (#114514)

21 months ago[3.12] gh-114492: Initialize struct termios before calling tcgetattr() (GH-114495...
Miss Islington (bot) [Tue, 23 Jan 2024 22:02:02 +0000 (23:02 +0100)] 
[3.12] gh-114492: Initialize struct termios before calling tcgetattr() (GH-114495) (GH-114502)

On Alpine Linux it could leave some field non-initialized.
(cherry picked from commit d22c066b802592932f9eb18434782299e80ca42e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.12] gh-101438: Avoid reference cycle in ElementTree.iterparse. (GH-114269) (GH...
Miss Islington (bot) [Tue, 23 Jan 2024 20:48:42 +0000 (21:48 +0100)] 
[3.12] gh-101438: Avoid reference cycle in ElementTree.iterparse. (GH-114269) (GH-114499)

The iterator returned by ElementTree.iterparse() may hold on to a file
descriptor. The reference cycle prevented prompt clean-up of the file
descriptor if the returned iterator was not exhausted.
(cherry picked from commit ce01ab536f22a3cf095d621f3b3579c1e3567859)

Co-authored-by: Sam Gross <colesbury@gmail.com>
21 months ago[3.12] Docs: use placeholders in dbm flag param docs (GH-114482) (#114497)
Miss Islington (bot) [Tue, 23 Jan 2024 20:05:21 +0000 (21:05 +0100)] 
[3.12] Docs: use placeholders in dbm flag param docs (GH-114482) (#114497)

Also correct the default flag param for dbm.dumb.open();
it's 'c', not 'r'.
(cherry picked from commit 8c265408c51609c6b4a6788cac9cc5fea7a14888)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
21 months ago[3.12] gh-108303: Move `.whl` test files to `Lib/test/wheeldata/` (GH-114343) (#114488)
Miss Islington (bot) [Tue, 23 Jan 2024 15:58:44 +0000 (16:58 +0100)] 
[3.12] gh-108303: Move `.whl` test files to `Lib/test/wheeldata/` (GH-114343) (#114488)

gh-108303: Move `.whl` test files to `Lib/test/wheeldata/` (GH-114343)
(cherry picked from commit ba253a4794ae2d35a6f6df46a98a1ed38bd61268)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.12] Docs: mark up FTP.connect() and FTP.login() with param lists (GH-114395) ...
Miss Islington (bot) [Tue, 23 Jan 2024 14:04:01 +0000 (15:04 +0100)] 
[3.12] Docs: mark up FTP.connect() and FTP.login() with param lists (GH-114395) (#114485)

Use rst substitutions to reduce raw text duplication.

(cherry picked from commit 01105c7c4f7f01a8b1077008e61d5c7df0ab832b)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
21 months ago[3.12] Docs: mark up FTP.retrbinary and FTP.storbinary with param lists (GH-114399...
Miss Islington (bot) [Tue, 23 Jan 2024 14:00:27 +0000 (15:00 +0100)] 
[3.12] Docs: mark up FTP.retrbinary and FTP.storbinary with param lists (GH-114399) (#114483)

(cherry picked from commit 5277d4c7dbd1baee300e494fce2738cee218c243)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
21 months ago[3.12] gh-101100: Fix sphinx warnings in `Doc/library/locale.rst` (GH-114425) (#114477)
Miss Islington (bot) [Tue, 23 Jan 2024 11:23:31 +0000 (12:23 +0100)] 
[3.12] gh-101100: Fix sphinx warnings in `Doc/library/locale.rst` (GH-114425) (#114477)

gh-101100: Fix sphinx warnings in `Doc/library/locale.rst` (GH-114425)

* gh-101100: Fix sphinx warnings in `Doc/library/locale.rst`

* Remove `/` from signatures
(cherry picked from commit 7d21cae964fc47afda400fc1fbbcf7984fcfe819)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.12] Docs: align usage of versionadded/versionchanged with recommended practice...
Erlend E. Aasland [Tue, 23 Jan 2024 09:39:57 +0000 (10:39 +0100)] 
[3.12] Docs: align usage of versionadded/versionchanged with recommended practice (#114409) (#114472)

(cherry picked from commit 1d7bddd9612bcbaaedbc837e2936de773e855411)

Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
21 months ago[3.12] GH-105900: Fix `pathlib.Path.symlink_to(target_is_directory=...)` docs (GH...
Miss Islington (bot) [Tue, 23 Jan 2024 05:36:16 +0000 (06:36 +0100)] 
[3.12] GH-105900: Fix `pathlib.Path.symlink_to(target_is_directory=...)` docs (GH-114035) (#114464)

Clarify that *target_is_directory* only matters if the target doesn't
exist.
(cherry picked from commit b822b85ac11e73bbe4417bf03ee770ab116bb42d)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
21 months ago[3.12] GH-82695: Clarify `pathlib.Path.mkdir()` documentation (GH-114032) (#114462)
Miss Islington (bot) [Tue, 23 Jan 2024 02:37:35 +0000 (03:37 +0100)] 
[3.12] GH-82695: Clarify `pathlib.Path.mkdir()` documentation (GH-114032) (#114462)

Remove a double negative in the documentation of `mkdir()`'s *exist_ok*
parameter.

(cherry picked from commit 32c227470aa6f72950b76206ffc529c258b4b8fa)

Co-authored-by: Barney Gale <barney.gale@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
21 months ago[3.12] GH-99334: Explain that `PurePath.is_relative_to()` is purely lexical. (GH...
Miss Islington (bot) [Tue, 23 Jan 2024 01:12:59 +0000 (02:12 +0100)] 
[3.12] GH-99334: Explain that `PurePath.is_relative_to()` is purely lexical. (GH-114031) (#114460)

(cherry picked from commit 3a61d24062aaa1e13ba794360b6c765d9a1f2b06)

21 months ago[3.12] gh-66944: Note that the `contextlib.closing` example is for illustrative purpo...
Miss Islington (bot) [Tue, 23 Jan 2024 01:07:34 +0000 (02:07 +0100)] 
[3.12] gh-66944: Note that the `contextlib.closing` example is for illustrative purposes (GH-112198) (#114458)

21 months ago[3.12] gh-114257: Ignore the FileNotFound error in ctypes.util._is_elf() (GH-114394...
Miss Islington (bot) [Mon, 22 Jan 2024 18:10:41 +0000 (19:10 +0100)] 
[3.12] gh-114257: Ignore the FileNotFound error in ctypes.util._is_elf() (GH-114394) (GH-114444)

(cherry picked from commit 7fc51c3f6b7b13f88480557ff14bdb1c049f9a37)

Co-authored-by: AN Long <aisk@users.noreply.github.com>
21 months ago[3.12] gh-75128: Ignore EADDRNOTAVAIL error in asyncio.BaseEventLoop.create_server...
Miss Islington (bot) [Mon, 22 Jan 2024 17:15:08 +0000 (18:15 +0100)] 
[3.12] gh-75128: Ignore EADDRNOTAVAIL error in asyncio.BaseEventLoop.create_server() (GH-114420) (GH-114441)

(cherry picked from commit a53e56e7d88b4f2a2943c9f191024198009fcf9e)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
21 months ago[3.12] gh-114275: Skip doctests that use `asyncio` in `test_pdb` for WASI builds...
Miss Islington (bot) [Mon, 22 Jan 2024 17:02:23 +0000 (18:02 +0100)] 
[3.12] gh-114275: Skip doctests that use `asyncio` in `test_pdb` for WASI builds (GH-114309) (#114439)

gh-114275: Skip doctests that use `asyncio` in `test_pdb` for WASI builds (GH-114309)
(cherry picked from commit efb81a60f5ce7e192095230a0f7ff9684d6f835a)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.12] gh-101100: Fix Sphinx warnings in `reference/expressions.rst` (GH-114194)...
Miss Islington (bot) [Mon, 22 Jan 2024 16:50:20 +0000 (17:50 +0100)] 
[3.12] gh-101100: Fix Sphinx warnings in `reference/expressions.rst` (GH-114194) (#114436)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
21 months ago[3.12] Docs: Fix typo in code snippet (GH-114421) (GH-114434)
Miss Islington (bot) [Mon, 22 Jan 2024 16:03:22 +0000 (17:03 +0100)] 
[3.12] Docs: Fix typo in code snippet (GH-114421) (GH-114434)

(cherry picked from commit 6d30cbee013b4182937ffa11a7c87d2a7b6b7b41)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
21 months ago[3.12] gh-108303: Remove `Lib/test/shadowed_super.py` (GH-114372) (#114433)
Miss Islington (bot) [Mon, 22 Jan 2024 15:40:42 +0000 (16:40 +0100)] 
[3.12] gh-108303: Remove `Lib/test/shadowed_super.py` (GH-114372) (#114433)

gh-108303: Remove `Lib/test/shadowed_super.py` (GH-114372)

Move code into Lib/test/test_super.py.
(cherry picked from commit 2ef520ebecf5544ba792266a5dbe4d53653a4a03)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.12] gh-102512: Turn _DummyThread into _MainThread after os.fork() called from...
Miss Islington (bot) [Mon, 22 Jan 2024 15:24:43 +0000 (16:24 +0100)] 
[3.12] gh-102512: Turn _DummyThread into _MainThread after os.fork() called from a foreign thread (GH-113261) (GH-114430)

Always set a _MainThread as a main thread after os.fork() is called from
a thread started not by the threading module.

A new _MainThread was already set as a new main thread after fork if
threading.current_thread() was not called for a foreign thread before fork.
Now, if it was called before fork, the implicitly created _DummyThread will
be turned into _MainThread after fork.

It fixes, in particularly, an incompatibility of _DummyThread with
the threading shutdown logic which relies on the main thread
having tstate_lock.

(cherry picked from commit 49785b06ded19c7c4afce186bac90fea707470ea)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
21 months ago[3.12] gh-111803: Make test_deep_nesting from test_plistlib more strict (GH-114026...
Miss Islington (bot) [Mon, 22 Jan 2024 15:16:12 +0000 (16:16 +0100)] 
[3.12] gh-111803: Make test_deep_nesting from test_plistlib more strict (GH-114026) (GH-114406)

It is no longer silently passed if RecursionError was raised for low
recursion depth.
(cherry picked from commit db1c18eb6220653290a3ba9ebbe1df44394a3f19)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
21 months ago[3.12] gh-108303: Move `smtpd` to `test.support` (GH-114368) (#114427)
Miss Islington (bot) [Mon, 22 Jan 2024 14:08:31 +0000 (15:08 +0100)] 
[3.12] gh-108303: Move `smtpd` to `test.support` (GH-114368) (#114427)

gh-108303: Move `smtpd` to `test.support` (GH-114368)

Update test_logging.py and test_smtplib.py.
(cherry picked from commit 8f5e7d739f56a75022dfe8fa24675b6c7b321ab5)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.12] gh-114115: Update documentation of array.array (GH-114117) (GH-114417)
Serhiy Storchaka [Mon, 22 Jan 2024 09:37:16 +0000 (11:37 +0200)] 
[3.12] gh-114115: Update documentation of array.array (GH-114117) (GH-114417)

(cherry picked from commit 650f9e4c94711ff49ea4e13bf800945a6147b7e0)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
21 months ago[3.12] gh-114328: tty cbreak mode should not alter ICRNL (GH-114335) (#114410)
Miss Islington (bot) [Sun, 21 Jan 2024 23:41:03 +0000 (00:41 +0100)] 
[3.12] gh-114328: tty cbreak mode should not alter ICRNL (GH-114335) (#114410)

The terminal CR -> NL mapping setting should be inherited in cbreak mode as OSes do not specify altering it as part of their stty cbreak mode definition.
(cherry picked from commit fd49e226700e2483a452c3c92da6f15d822ae054)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
21 months ago[3.12] gh-114241: Fix and improve the ftplib CLI (GH-114242) (GH-114404)
Miss Islington (bot) [Sun, 21 Jan 2024 20:48:12 +0000 (21:48 +0100)] 
[3.12] gh-114241: Fix and improve the ftplib CLI (GH-114242) (GH-114404)

* 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.12] Docs: align sqlite3 docs with versionadded/versionchanged recommendations...
Erlend E. Aasland [Sun, 21 Jan 2024 20:04:01 +0000 (21:04 +0100)] 
[3.12] Docs: align sqlite3 docs with versionadded/versionchanged recommendations (#114400) (#114402)

(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.12] Docs: link to sys.stdout in ftplib docs (GH-114396) (#114397)
Miss Islington (bot) [Sun, 21 Jan 2024 17:47:55 +0000 (18:47 +0100)] 
[3.12] Docs: link to sys.stdout in ftplib docs (GH-114396) (#114397)

(cherry picked from commit de17cf444a7b1e06380bb5bf8547f1fc3c03fc4a)

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

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

(cherry picked from commit 38768e4cdd1c4b6e03702da8a94e1c22479d6ed3)

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

(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.12] Docs: mark up the FTP debug levels as a list (GH-114360) (#114375)
Miss Islington (bot) [Sun, 21 Jan 2024 10:26:34 +0000 (11:26 +0100)] 
[3.12] Docs: mark up the FTP debug levels as a list (GH-114360) (#114375)

(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.12] gh-101100: Fix sphinx warnings in `Doc/c-api/memory.rst` (GH-114373) (#114377)
Miss Islington (bot) [Sun, 21 Jan 2024 09:41:00 +0000 (10:41 +0100)] 
[3.12] gh-101100: Fix sphinx warnings in `Doc/c-api/memory.rst` (GH-114373) (#114377)

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.12] Fix the confusing "User-defined methods" reference in the datamodel (GH-114276...
Miss Islington (bot) [Sun, 21 Jan 2024 03:52:04 +0000 (04:52 +0100)] 
[3.12] Fix the confusing "User-defined methods" reference in the datamodel (GH-114276) (#114365)

21 months ago[3.12] Docs: Add missing line continuation to FTP_TLS class docs (GH-114352) (#114353)
Miss Islington (bot) [Sat, 20 Jan 2024 20:21:00 +0000 (21:21 +0100)] 
[3.12] Docs: Add missing line continuation to FTP_TLS class docs (GH-114352) (#114353)

Docs: Add missing line continuation to FTP_TLS class docs (GH-114352)

Regression introduced by b1ad5a5d4.
(cherry picked from commit 8f4f77364750d0ceec47157e8920983e3f41651f)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
21 months ago[3.12] Docs: structure the ftplib reference (GH-114317) (#114347)
Miss Islington (bot) [Sat, 20 Jan 2024 19:16:53 +0000 (20:16 +0100)] 
[3.12] Docs: structure the ftplib reference (GH-114317) (#114347)

Docs: structure the ftplib reference (GH-114317)

Introduce the following headings and subheadings:

- Reference
  * FTP objects
  * FTP_TLS objects
  * Module variables
(cherry picked from commit b1ad5a5d446f944a45c43a3e865d1d8f47611071)

Co-authored-by: Erlend E. Aasland <erlend@python.org>
21 months ago[3.12] GH-99380: Update to Sphinx 7 (GH-99381) (#114341)
Adam Turner [Sat, 20 Jan 2024 11:28:34 +0000 (11:28 +0000)] 
[3.12] GH-99380: Update to Sphinx 7 (GH-99381) (#114341)

(cherry picked from commit e6495159f6f2ca4fe3b5143c62fc2ad5873ef54f)

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

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.12] Retain shorter tables of contents for Sphinx 5.2.3+ (GH-114318) (#114337)
Miss Islington (bot) [Sat, 20 Jan 2024 10:33:15 +0000 (11:33 +0100)] 
[3.12] Retain shorter tables of contents for Sphinx 5.2.3+ (GH-114318) (#114337)

21 months ago[3.12] Check for valid tp_version_tag in specializer (gh-89811) (gh-114216)
Peter Lazorchak [Fri, 19 Jan 2024 20:45:33 +0000 (12:45 -0800)] 
[3.12] Check for valid tp_version_tag in specializer (gh-89811) (gh-114216)

21 months ago[3.12] gh-114286: Fix `maybe-uninitialized` warning in `Modules/_io/fileio.c` (GH...
Miss Islington (bot) [Fri, 19 Jan 2024 10:58:09 +0000 (11:58 +0100)] 
[3.12] gh-114286: Fix `maybe-uninitialized` warning in `Modules/_io/fileio.c` (GH-114287) (GH-114288)

(cherry picked from commit 05e47202a34e6ae05e699af1083455f5b8b59496)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
21 months ago[3.12] gh-112092: clarify unstable ABI recompilation requirements (GH-112093) (#114260)
Miss Islington (bot) [Thu, 18 Jan 2024 20:28:04 +0000 (21:28 +0100)] 
[3.12] gh-112092: clarify unstable ABI recompilation requirements (GH-112093) (#114260)

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.12] gh-108303: Move all doctest related files and tests to `Lib/test/test_doctest...
Miss Islington (bot) [Thu, 18 Jan 2024 16:25:04 +0000 (17:25 +0100)] 
[3.12] gh-108303: Move all doctest related files and tests to `Lib/test/test_doctest/` (GH-112109) (#114254)

gh-108303: Move all doctest related files and tests to `Lib/test/test_doctest/` (GH-112109)
(cherry picked from commit 9c93350f582fe6f5fed2cd873869dfe4fbf2dfe8)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Co-authored-by: Brett Cannon <brett@python.org>
21 months ago[3.12] gh-110345: show Tcl/Tk patchlevel in `tkinter._test()` (GH-110350) (GH-114253)
Miss Islington (bot) [Thu, 18 Jan 2024 16:11:03 +0000 (17:11 +0100)] 
[3.12] gh-110345: show Tcl/Tk patchlevel in `tkinter._test()` (GH-110350) (GH-114253)

(cherry picked from commit b8f29b1293f55e12e86a2a039b49b6f9f73851b7)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>