]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
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>
22 months ago[3.11] gh-113086: Add tests for os.chmod() and os.lchmod() (GH-113087) (GH-113089)
Miss Islington (bot) [Thu, 14 Dec 2023 07:33:35 +0000 (08:33 +0100)] 
[3.11] gh-113086: Add tests for os.chmod() and os.lchmod() (GH-113087) (GH-113089)

Also make test_copymode_symlink_to_symlink in test_shutil more strict.
(cherry picked from commit b4f2c89118d5a48ce6c495ba931d7f6493422029)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.11] bpo-40648: Test modes that file can get with chmod() on Windows (GH-20130...
Miss Islington (bot) [Wed, 13 Dec 2023 20:48:43 +0000 (21:48 +0100)] 
[3.11] bpo-40648: Test modes that file can get with chmod() on Windows (GH-20130) (GH-113069)

Order of tests matter second part makes testing file writable and
possible to remove again.
(cherry picked from commit f5c05e015c178975f24b77e5a8975a22d694e019)

Co-authored-by: Pavol Babinčák‏ <scroolik@gmail.com>
22 months ago[3.11] gh-107959: clarify Unix-availability of `os.lchmod()` (GH-107960) (GH-113067)
Miss Islington (bot) [Wed, 13 Dec 2023 20:02:07 +0000 (21:02 +0100)] 
[3.11] gh-107959: clarify Unix-availability of `os.lchmod()` (GH-107960) (GH-113067)

gh-107959: clarify Unix-availability of `os.lchmod()` (GH-107960)

POSIX specifies that implementations are not required to support changing the
file mode of symbolic links, but may do so.
Consequently, `lchmod()` is not part of POSIX (but mentioned for implementations
which do support the above).

The current wording of the availability of `os.lchmod()` is rather vague and
improved to clearly tell which POSIX/Unix/BSD-like support the function in
general (those that support changing the file mode of symbolic links).
Further, some examples of major implementations are added.

Data for the BSDs taken from their online manpages.

(cherry picked from commit f14e3d59c955fb3cf89e5241727ec566164dcf42)

Signed-off-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Co-authored-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
22 months ago[3.11] [doc] Make subprocess.wait documentation more precise (GH-98700) (#112154)
Miss Islington (bot) [Wed, 13 Dec 2023 20:01:36 +0000 (21:01 +0100)] 
[3.11] [doc] Make subprocess.wait documentation more precise (GH-98700) (#112154)

[doc] Make subprocess.wait documentation more precise (GH-98700)

[doc] Make subprocess.wait doc more precise

An active loop is only used when the `timeout` parameter is used on
POSIX.

When no timeout is used, the code calls `os.waitpid` internally (which puts
the process on a sleep status). On Windows, the internal Windows API
call accepts a timeout parameter, so that is delegated to the OS.
(cherry picked from commit 81ab0e8a4add53035c87b040afda6d554cace528)

Co-authored-by: Luis Pedro Coelho <luis@luispedro.org>
22 months ago[3.11] Docs: Fix external link to devguide.python.org (GH-112899) (#113064)
Miss Islington (bot) [Wed, 13 Dec 2023 19:48:44 +0000 (20:48 +0100)] 
[3.11] Docs: Fix external link to devguide.python.org (GH-112899) (#113064)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
22 months ago[3.11] gh-101100: Improve docs on exception attributes (GH-113057) (#113062)
Miss Islington (bot) [Wed, 13 Dec 2023 19:07:19 +0000 (20:07 +0100)] 
[3.11] gh-101100: Improve docs on exception attributes (GH-113057) (#113062)

gh-101100: Improve docs on exception attributes (GH-113057)

(cherry picked from commit d05a180350fe20d5fde56c7e525e394a0b282703)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.11] [pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter...
Miss Islington (bot) [Wed, 13 Dec 2023 12:38:19 +0000 (13:38 +0100)] 
[3.11] [pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (GH-112963) (#113052)

[pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (GH-112963)
(cherry picked from commit 2a3c37c273762d2dc40bfdae3899cb09b7c88d4a)

Co-authored-by: Sequew <88668176+KrySeyt@users.noreply.github.com>
Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
22 months ago[3.11] gh-101100: Fix Sphinx warning in references with asterisks (GH-113029) (#113044)
Hugo van Kemenade [Wed, 13 Dec 2023 09:02:20 +0000 (11:02 +0200)] 
[3.11] gh-101100: Fix Sphinx warning in references with asterisks (GH-113029) (#113044)

22 months ago[3.11] gh-101100: Further improve docs on function attributes (#113001) (#113031)
Alex Waygood [Tue, 12 Dec 2023 20:36:51 +0000 (20:36 +0000)] 
[3.11] gh-101100: Further improve docs on function attributes (#113001) (#113031)

(cherry-picked from commit 81a15ea74e)

22 months ago[3.11] gh-112999: Replace the outdated "deprecated" directives with "versionchanged...
Serhiy Storchaka [Tue, 12 Dec 2023 17:17:35 +0000 (19:17 +0200)] 
[3.11] gh-112999: Replace the outdated "deprecated" directives with "versionchanged" (GH-113000) (GH-113020)

(cherry picked from commit fe9991bb672dd95fb9cd38b5a03180719ac4e722)

22 months ago[3.11] Update pre-commit to fix Sphinx Lint (GH-113015) (#113018)
Miss Islington (bot) [Tue, 12 Dec 2023 16:30:49 +0000 (17:30 +0100)] 
[3.11] Update pre-commit to fix Sphinx Lint (GH-113015) (#113018)

Update pre-commit to fix Sphinx Lint (GH-113015)
(cherry picked from commit eafc2381a0b891383098b08300ae766868a19ba6)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
22 months ago[3.11] [3.12] gh-83162: Rename re.error in idlelib (GH-101677) (GH-112987) (#113013)
Miss Islington (bot) [Tue, 12 Dec 2023 16:21:07 +0000 (17:21 +0100)] 
[3.11] [3.12] gh-83162: Rename re.error in idlelib (GH-101677) (GH-112987) (#113013)

Backport idlelib part of GH-101677 with simple rename.
(cherry picked from commit fd3b8947256309ba478a4e3ba8c0c81b1260b67f)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
22 months ago[3.11] gh-101100: Improve documentation on function attributes (#112933) (#113003)
Alex Waygood [Tue, 12 Dec 2023 12:19:02 +0000 (12:19 +0000)] 
[3.11] gh-101100: Improve documentation on function attributes (#112933) (#113003)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
22 months ago[3.11] gh-112953: Rename idlelib/NEWS.txt to News3.txt and update (GH… (#112992)
Terry Jan Reedy [Tue, 12 Dec 2023 06:10:29 +0000 (01:10 -0500)] 
[3.11] gh-112953: Rename idlelib/NEWS.txt to News3.txt and update (GH… (#112992)

23 months ago[3.11] gh-108303: Move `double_const` to `test_import` where it belongs (GH-112108...
Miss Islington (bot) [Mon, 11 Dec 2023 18:46:02 +0000 (19:46 +0100)] 
[3.11] gh-108303: Move `double_const` to `test_import` where it belongs (GH-112108) (#112977)

gh-108303: Move `double_const` to `test_import` where it belongs (GH-112108)
(cherry picked from commit 0738b9a338fd27ff2d4456dd9c15801a8858ffd9)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
23 months ago[3.11] gh-94606: Fix error when message with Unicode surrogate not surrogateescaped...
Miss Islington (bot) [Mon, 11 Dec 2023 16:47:25 +0000 (17:47 +0100)] 
[3.11] gh-94606: Fix error when message with Unicode surrogate not surrogateescaped string (GH-94641) (GH-112972)

(cherry picked from commit 27a5fd8cb8c88537216d7a498eba9d9177951d76)

Co-authored-by: Sidney Markowitz <sidney@sidney.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
23 months ago[3.11] gh-112898: warn about unsaved files when quitting IDLE on macOS (GH-112939...
Miss Islington (bot) [Mon, 11 Dec 2023 16:14:45 +0000 (17:14 +0100)] 
[3.11] gh-112898: warn about unsaved files when quitting IDLE on macOS (GH-112939) (#112961)

gh-112898: warn about unsaved files when quitting IDLE on macOS (GH-112939)

* gh-112898: warn about unsaved files when quitting IDLE on macOS

Implement the TK function ``::tk::mac::Quit`` on macOS to
ensure that IDLE asks about saving unsaved files when
quitting IDLE.

(cherry picked from commit 3251ba8f1af535bf28e31a6832511ba19e96b262)

Co-authored-by: Christopher Chavez chrischavez@gmx.us
Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
23 months ago[3.11] Fix SyntaxWarning in test_syntax.py (GH-112944) (GH-112956)
Miss Islington (bot) [Mon, 11 Dec 2023 12:09:03 +0000 (13:09 +0100)] 
[3.11] Fix SyntaxWarning in test_syntax.py (GH-112944) (GH-112956)

(cherry picked from commit 97cd45bfdbb6525457ba9d6824386f1e0eea6657)

Co-authored-by: Anthony Sottile <asottile@umich.edu>
23 months ago[3.11] GH-101986: Support translation for Limited/Unstable API & Stable ABI (GH-10768...
Hugo van Kemenade [Sun, 10 Dec 2023 19:28:10 +0000 (21:28 +0200)] 
[3.11] GH-101986: Support translation for Limited/Unstable API & Stable ABI (GH-107680) (#112941)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
23 months ago[3.11] gh-109980: Fix test_tarfile_vs_tar on macOS (GH-112905) (#112928)
Miss Islington (bot) [Sun, 10 Dec 2023 18:50:10 +0000 (19:50 +0100)] 
[3.11] gh-109980: Fix test_tarfile_vs_tar on macOS (GH-112905) (#112928)

gh-109980: Fix test_tarfile_vs_tar on macOS (GH-112905)

On recentish macOS versions the system tar
command includes system metadata (ACLs, extended attributes
and resource forks) in the tar archive, which
shutil.make_archive will not do. This can cause
spurious test failures.
(cherry picked from commit dd2ebdf89ff144e89db180bd552c50615f712cb2)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
23 months ago[3.11] gh-101100: Fix Sphinx warning in library/http.cookies.rst (GH-112908) (#112930)
Miss Islington (bot) [Sun, 10 Dec 2023 12:59:29 +0000 (13:59 +0100)] 
[3.11] gh-101100: Fix Sphinx warning in library/http.cookies.rst (GH-112908) (#112930)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Fix Sphinx warning in library/http.cookies.rst (GH-112908)

23 months ago[3.11] Docs: Use 'f-strings' as header (GH-112888) (#112924)
Miss Islington (bot) [Sun, 10 Dec 2023 09:36:25 +0000 (10:36 +0100)] 
[3.11] Docs: Use 'f-strings' as header (GH-112888) (#112924)

Docs: Use 'f-strings' as header (GH-112888)
(cherry picked from commit 5bf7580d72259d7d64f5ee8cfc2df677de5310a4)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
23 months ago[3.11] IDLE: Tweak iomenu.IOBinding.maybesave (GH-112914) (#112918)
Miss Islington (bot) [Sun, 10 Dec 2023 02:56:07 +0000 (03:56 +0100)] 
[3.11] IDLE: Tweak iomenu.IOBinding.maybesave  (GH-112914) (#112918)

Add docstring, use f-string, simplify code.
(cherry picked from commit ca1bde894305a1b88fdbb191426547f35b7e9200)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
23 months ago[3.11] gh-101100: Fix Sphinx nitpicks in `library/tempfile.rst` (#112886) (#112913)
Alex Waygood [Sat, 9 Dec 2023 22:56:01 +0000 (22:56 +0000)] 
[3.11] gh-101100: Fix Sphinx nitpicks in `library/tempfile.rst` (#112886) (#112913)

(cherry-picked from commit 54410e6bd9)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
23 months ago[3.11] gh-101100: Improve documentation of `TracebackType` attributes (GH-112884...
Miss Islington (bot) [Sat, 9 Dec 2023 22:50:01 +0000 (23:50 +0100)] 
[3.11] gh-101100: Improve documentation of `TracebackType` attributes (GH-112884) (#112912)

gh-101100: Improve documentation of `TracebackType` attributes (GH-112884)
(cherry picked from commit 96f64a2b1b4e3d4902848c63e42717a9c5539e03)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] gh-79429: Ignore FileNotFoundError when remove a temporary directory in the...
Miss Islington (bot) [Sat, 9 Dec 2023 13:31:42 +0000 (14:31 +0100)] 
[3.11] gh-79429: Ignore FileNotFoundError when remove a temporary directory in the multiprocessing finalizer (GH-112865) (GH-112897)

(cherry picked from commit 7e82c626c44a6924af38d0a8af3cc8b2d13873ec)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
23 months ago[3.11] gh-101100: Fix Sphinx nits in `library/contextlib.rst` (#112870) (#112874)
Alex Waygood [Fri, 8 Dec 2023 14:03:15 +0000 (14:03 +0000)] 
[3.11] gh-101100: Fix Sphinx nits in `library/contextlib.rst` (#112870) (#112874)

(cherry-picked from commit e4c087603397a1314253b861d35f8314fba8ae92)

23 months ago[3.11] gh-101100: Improve documentation for attributes on instance methods (GH-112832...
Miss Islington (bot) [Fri, 8 Dec 2023 13:25:05 +0000 (14:25 +0100)] 
[3.11] gh-101100: Improve documentation for attributes on instance methods (GH-112832) (#112873)

gh-101100: Improve documentation for attributes on instance methods (GH-112832)
(cherry picked from commit ed21d0c1f4bd17b392e24bfd83e652723dad4ddf)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] gh-101100: Fix Sphinx nitpicks in `library/shelve.rst` (GH-112836) (#112869)
Miss Islington (bot) [Fri, 8 Dec 2023 12:38:40 +0000 (13:38 +0100)] 
[3.11] gh-101100: Fix Sphinx nitpicks in `library/shelve.rst` (GH-112836) (#112869)

gh-101100: Fix Sphinx nitpicks in `library/shelve.rst` (GH-112836)
(cherry picked from commit 3cdcc2edf81c7be4c88d4f273947ce29f916f49a)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] gh-110190: Temporarily skip new test introduced in gh-112604 on PPC64LE (GH...
Łukasz Langa [Fri, 8 Dec 2023 11:47:32 +0000 (12:47 +0100)] 
[3.11] gh-110190: Temporarily skip new test introduced in gh-112604 on PPC64LE (GH-112818) (#112830)

(cherry picked from commit 9f67042f28bf886a9bf30fed6795d26cff255f1e)

23 months ago[3.11] gh-110017: Disable test_signal.test_stress_modifying_handlers on macOS (GH...
Miss Islington (bot) [Fri, 8 Dec 2023 09:08:04 +0000 (10:08 +0100)] 
[3.11] gh-110017: Disable test_signal.test_stress_modifying_handlers on macOS (GH-112834) (#112852)

gh-110017: Disable test_signal.test_stress_modifying_handlers on macOS (GH-112834)

Test test_stress_modifying_handlers in test_signal can crash
the interpreter due to a bug in macOS. Filed as FB13453490
with Apple.
(cherry picked from commit bf0beae6a05f3266606a21e22a4d803abbb8d731)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
23 months ago[3.11] gh-101100: Silence Sphinx warnings when `ntpath` or `posixpath` are referenced...
Alex Waygood [Thu, 7 Dec 2023 21:12:37 +0000 (21:12 +0000)] 
[3.11] gh-101100: Silence Sphinx warnings when `ntpath` or `posixpath` are referenced (#112833) (#112858)

(cherry-picked from commit 2c3906bc4b)

23 months ago[3.11] gh-79325: Fix recursion error in TemporaryDirectory cleanup on Windows (GH...
Serhiy Storchaka [Thu, 7 Dec 2023 17:46:30 +0000 (19:46 +0200)] 
[3.11] gh-79325: Fix recursion error in TemporaryDirectory cleanup on Windows (GH-112762) (GH-112848)

(cherry picked from commit b2923a61a10dc2717f4662b590cc9f6d181c6983)

23 months ago[3.11] gh-91133: tempfile.TemporaryDirectory: fix symlink bug in cleanup (GH-99930...
Serhiy Storchaka [Thu, 7 Dec 2023 16:37:10 +0000 (18:37 +0200)] 
[3.11] gh-91133: tempfile.TemporaryDirectory: fix symlink bug in cleanup (GH-99930) (GH-112839)

(cherry picked from commit 81c16cd94ec38d61aa478b9a452436dc3b1b524d)

Co-authored-by: Søren Løvborg <sorenl@unity3d.com>
23 months ago[3.11] gh-109981: Fix support.fd_count() on macOS 14 (GH-112797) (#112825)
Miss Islington (bot) [Thu, 7 Dec 2023 10:28:54 +0000 (11:28 +0100)] 
[3.11] gh-109981: Fix support.fd_count() on macOS 14 (GH-112797) (#112825)

gh-109981: Fix support.fd_count() on macOS 14 (GH-112797)

Use scanning "/dev/fd/" on macOS in support.fd_count(). That's both more efficient than scanning all possible file descriptors, and avoids crashing the interpreter when there are open "guarded" file descriptors.

"Guarded" file descriptors are a macOS feature where file descriptors used by system libraries are marked and cause hard crashes when used by "user" code.

(cherry picked from commit 953ee622b3901d3467e65e3484dcfa75ba6fcddf)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
23 months ago[3.11] gh-101100: Improve documentation of code object attributes (#112781) (#112817)
Alex Waygood [Wed, 6 Dec 2023 22:23:20 +0000 (22:23 +0000)] 
[3.11] gh-101100: Improve documentation of code object attributes (#112781) (#112817)

(cherry-picked from commit e9707d3c3d)

23 months ago[3.11] gh-101100: Fix Sphinx nitpicks in `library/reprlib.rst` (#112811) (#112815)
Alex Waygood [Wed, 6 Dec 2023 22:04:33 +0000 (22:04 +0000)] 
[3.11] gh-101100: Fix Sphinx nitpicks in `library/reprlib.rst` (#112811) (#112815)

(cherry-picked from commit 3870d19d15)

23 months ago[3.11] gh-110190: Fix ctypes structs with array on Arm (#112604) (#112766)
Diego Russo [Wed, 6 Dec 2023 15:57:42 +0000 (15:57 +0000)] 
[3.11] gh-110190: Fix ctypes structs with array on Arm (#112604) (#112766)

Set MAX_STRUCT_SIZE to 32 in stgdict.c when on Arm platforms.
This because on Arm platforms structs with at most 4 elements of any
floating point type values can be passed through registers. If the type
is double the maximum size of the struct is 32 bytes.
On x86-64 Linux, it's maximum 16 bytes hence we need to differentiate.

(cherry picked from commit bc68f4a4abcfbea60bb1db1ccadb07613561931c)

23 months ago[3.11] gh-75666: Tkinter: "unbind(sequence, funcid)" now only unbinds "funcid" (GH...
Miss Islington (bot) [Wed, 6 Dec 2023 15:04:07 +0000 (16:04 +0100)] 
[3.11] gh-75666: Tkinter: "unbind(sequence, funcid)" now only unbinds "funcid" (GH-111322) (GH-112801)

Previously, "widget.unbind(sequence, funcid)" destroyed the current binding
for "sequence", leaving "sequence" unbound, and deleted the "funcid"
command.

Now it removes only "funcid" from the binding for "sequence", keeping
other commands, and deletes the "funcid" command.
It leaves "sequence" unbound only if "funcid" was the last bound command.

(cherry picked from commit cc7e45cc572dd818412a649970fdee579417701f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: GiovanniL <13402461+GiovaLomba@users.noreply.github.com>
23 months ago[3.11] gh-111178: Docs: fix `traverseproc`, `inquiry`, and `destructor` parameters...
Miss Islington (bot) [Wed, 6 Dec 2023 10:03:36 +0000 (11:03 +0100)] 
[3.11] gh-111178: Docs: fix `traverseproc`, `inquiry`, and `destructor` parameters in slot typedefs table (GH-112742) (GH-112793)

gh-111178: Docs: fix `traverseproc`, `inquiry`, and `destructor` parameters in slot typedefs table (GH-112742)

In the slot typedefs table, the parameter of `destructor`
and the first parameter of `traverseproc` should both be
`PyObject *` rather than `void *`.
Same for `inquiry`.
(cherry picked from commit 00cce0fe495ee820cd3ca5878bdbe3dd65b1be7b)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
23 months ago[3.11] gh-101100: Fix most Sphinx nitpicks in the glossary and `stdtypes.rst` (GH...
Miss Islington (bot) [Wed, 6 Dec 2023 08:50:49 +0000 (09:50 +0100)] 
[3.11] gh-101100: Fix most Sphinx nitpicks in the glossary and `stdtypes.rst` (GH-112757) (#112790)

gh-101100: Fix most Sphinx nitpicks in the glossary and `stdtypes.rst` (GH-112757)
(cherry picked from commit e3f670e13792305cfb977d5cffd8e6aa03e8fe7f)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] gh-108927: Include new dir test/regrtestdata in the installation (GH-112765...
Serhiy Storchaka [Wed, 6 Dec 2023 08:12:08 +0000 (10:12 +0200)] 
[3.11] gh-108927: Include new dir test/regrtestdata in the installation (GH-112765) (GH-112784)

(cherry picked from commit f8c0198e3bfa2f6f65e426765a5efddd8ece78b0)

Co-authored-by: Victor Stinner <vstinner@python.org>
23 months ago[3.11] gh-101100: Properly document frame object attributes (#112735) (#112775)
Alex Waygood [Tue, 5 Dec 2023 20:23:25 +0000 (20:23 +0000)] 
[3.11] gh-101100: Properly document frame object attributes (#112735) (#112775)

* [3.11] gh-101100: Properly document frame object attributes (#112735)

(cherry-picked from commit d109f637c0)

23 months ago[3.11] gh-112769: test_zlib: Fix comparison of ZLIB_RUNTIME_VERSION with non-int...
Miss Islington (bot) [Tue, 5 Dec 2023 20:02:06 +0000 (21:02 +0100)] 
[3.11] gh-112769: test_zlib: Fix comparison of ZLIB_RUNTIME_VERSION with non-int suffix (GH-112771) (GH-112774)

zlib-ng defines the version as "1.3.0.zlib-ng".
(cherry picked from commit d384813ff18b33280a90b6d2011654528a2b6ad1)

Co-authored-by: Miro Hrončok <miro@hroncok.cz>
23 months ago[3.11] bpo-35332: Handle os.close() errors in shutil.rmtree() (GH-23766) (GH-112764)
Miss Islington (bot) [Tue, 5 Dec 2023 19:25:52 +0000 (20:25 +0100)] 
[3.11] bpo-35332: Handle os.close() errors in shutil.rmtree() (GH-23766) (GH-112764)

* Ignore os.close() errors when ignore_errors is True.
* Pass os.close() errors to the error handler if specified.
* os.close no longer retried after error.

(cherry picked from commit 11d88a178b077e42025da538b890db3151a47070)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
23 months ago[3.11] bpo-43153: Don't mask `PermissionError` with `NotADirectoryError` during tempd...
Miss Islington (bot) [Tue, 5 Dec 2023 13:44:49 +0000 (14:44 +0100)] 
[3.11] bpo-43153: Don't mask `PermissionError` with `NotADirectoryError` during tempdirectory cleanup (GH-29940) (GH-112754)

(cherry picked from commit 8cdfee1bb902fd1e38d79170b751ef13a0907262)

Co-authored-by: Ken Jin <kenjin@python.org>
Co-authored-by: andrei kulakov <andrei.avk@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
23 months ago[3.11] gh-101100: Fix many easily solvable Sphinx nitpicks in the datamodel docs...
Miss Islington (bot) [Tue, 5 Dec 2023 10:06:30 +0000 (11:06 +0100)] 
[3.11] gh-101100: Fix many easily solvable Sphinx nitpicks in the datamodel docs (GH-112737) (#112749)

gh-101100: Fix many easily solvable Sphinx nitpicks in the datamodel docs (GH-112737)
(cherry picked from commit 2f20cafdbfc39925f9374f36f9d53bac365ed32a)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] gh-62897: Update PyUnicode C API parameter names (GH-12680) (GH-112745)
Serhiy Storchaka [Tue, 5 Dec 2023 09:35:36 +0000 (11:35 +0200)] 
[3.11] gh-62897: Update PyUnicode C API parameter names (GH-12680) (GH-112745)

Standardize PyUnicode C API parameter names across the documentation.

(cherry picked from commit b31232ddf7f219ca8ff9e8d0401c02eb0b6ffec3)

Co-authored-by: Rune Tynan <runetynan@gmail.com>
23 months agoMerge remote-tracking branch 'upstream/3.11' into 3.11
Pablo Galindo [Mon, 4 Dec 2023 21:50:17 +0000 (21:50 +0000)] 
Merge remote-tracking branch 'upstream/3.11' into 3.11

23 months agoPost 3.11.7
Pablo Galindo [Mon, 4 Dec 2023 21:49:55 +0000 (21:49 +0000)] 
Post 3.11.7

23 months ago[3.11] gh-105967: Work around a macOS bug, limit zlib C library crc32 API calls to...
Miss Islington (bot) [Mon, 4 Dec 2023 20:20:41 +0000 (21:20 +0100)] 
[3.11] gh-105967: Work around a macOS bug, limit zlib C library crc32 API calls to 1gig (GH-112615) (#112725)

gh-105967: Work around a macOS bug, limit zlib C library crc32 API calls to 1gig (GH-112615)

Work around a macOS bug, limit zlib crc32 calls to 1GiB.

Without this, `zlib.crc32` and `binascii.crc32` could produce incorrect
results on multi-gigabyte inputs depending on the macOS version's Apple
supplied zlib implementation.
(cherry picked from commit 4eddb4c9d9452482c9af7fa9eec223d12b5a9f33)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
23 months agoPython 3.11.7 v3.11.7
Pablo Galindo [Mon, 4 Dec 2023 17:54:29 +0000 (17:54 +0000)] 
Python 3.11.7

23 months ago[3.11] gh-108927: Fix removing testing modules from sys.modules (GH-108952) (ПР-112712)
Miss Islington (bot) [Mon, 4 Dec 2023 16:16:03 +0000 (17:16 +0100)] 
[3.11] gh-108927: Fix removing testing modules from sys.modules (GH-108952) (ПР-112712)

It breaks import machinery if the test module has submodules used in
other tests.
(cherry picked from commit e08b70fab1fbc45fa498020aac522ae1d5da6136)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
23 months ago[3.11] GH-112160: Pin to manifest of quay.io/tiran/cpython_autoconf (#112161)
Seth Michael Larson [Mon, 4 Dec 2023 16:02:45 +0000 (10:02 -0600)] 
[3.11] GH-112160: Pin to manifest of quay.io/tiran/cpython_autoconf (#112161)

23 months ago[3.11] gh-101100: Fix Sphinx nitpicks in `library/abc.rst` (GH-112703) (#112704)
Miss Islington (bot) [Mon, 4 Dec 2023 12:48:58 +0000 (13:48 +0100)] 
[3.11] gh-101100: Fix Sphinx nitpicks in `library/abc.rst` (GH-112703) (#112704)

gh-101100: Fix Sphinx nitpicks in `library/abc.rst` (GH-112703)
(cherry picked from commit 9560e0d6d7a316341939b4016e47e03bd5bf17c3)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] gh-109786: Fix leaks and crash when re-enter itertools.pairwise.__next__(...
Miss Islington (bot) [Mon, 4 Dec 2023 12:20:19 +0000 (13:20 +0100)] 
[3.11] gh-109786: Fix leaks and crash when re-enter itertools.pairwise.__next__() (GH-109788) (GH-112700)

(cherry picked from commit 6ca9d3e0173c38e2eac50367b187d4c1d43f9892)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
23 months ago[3.11] gh-101100: Fix sphinx warnings in `Doc/library/__future__.rst` (GH-109814...
Miss Islington (bot) [Mon, 4 Dec 2023 11:54:39 +0000 (12:54 +0100)] 
[3.11] gh-101100: Fix sphinx warnings in `Doc/library/__future__.rst` (GH-109814) (#112701)

gh-101100: Fix sphinx warnings in `Doc/library/__future__.rst` (GH-109814)
(cherry picked from commit f2eaa92b0cc5a37a9e6010c7c6f5ad1a230ea49b)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
23 months ago[3.11] gh-101100: Fix Sphinx nitpicks in `library/functions.rst` (GH-112669) (#112698)
Miss Islington (bot) [Mon, 4 Dec 2023 11:11:24 +0000 (12:11 +0100)] 
[3.11] gh-101100: Fix Sphinx nitpicks in `library/functions.rst` (GH-112669) (#112698)

gh-101100: Fix Sphinx nitpicks in `library/functions.rst` (GH-112669)
(cherry picked from commit cda737924fd616c4e08027888258f97e81f34447)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] gh-112625: Protect bytearray from being freed by misbehaving iterator inside...
Miss Islington (bot) [Mon, 4 Dec 2023 08:37:25 +0000 (09:37 +0100)] 
[3.11] gh-112625: Protect bytearray from being freed by misbehaving iterator inside bytearray.join (GH-112626) (GH-112694)

(cherry picked from commit 0e732d0997cff08855d98c17af4dd5527f10e419)

Co-authored-by: chilaxan <chilaxan@gmail.com>
23 months ago[3.11] gh-112678: Declare `Tkapp_CallDeallocArgs()` as `static` (GH-112679) (GH-112691)
Miss Islington (bot) [Mon, 4 Dec 2023 08:18:03 +0000 (09:18 +0100)] 
[3.11] gh-112678: Declare `Tkapp_CallDeallocArgs()` as `static` (GH-112679) (GH-112691)

(cherry picked from commit 23e001fa9f1897ba3384c02bbbe634313358a549)

Co-authored-by: Christopher Chavez <chrischavez@gmx.us>
23 months ago[3.11] gh-66819: More IDLE htest updates(4) (GH-112686) (#112689)
Miss Islington (bot) [Mon, 4 Dec 2023 06:59:19 +0000 (07:59 +0100)] 
[3.11] gh-66819: More IDLE htest updates(4) (GH-112686) (#112689)

Mostly double spacing before 'if __name__...'.
(cherry picked from commit e5b0db0315941b968ebcc2414bfcdd2da44fd3c2)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
23 months ago[3.11] gh-66819: More IDLE htest updates(3) (GH-112683) (#112685)
Miss Islington (bot) [Mon, 4 Dec 2023 05:10:22 +0000 (06:10 +0100)] 
[3.11] gh-66819: More IDLE htest updates(3) (GH-112683) (#112685)

Revise spec-callable pairs from percolator to end.
(cherry picked from commit 5a1b5316af648ae79bb91f28253b6272bbbd2886)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
23 months ago[3.11] gh-101100: Fix Sphinx warning in `library/gettext.rst` (GH-112668) (#112673)
Miss Islington (bot) [Sun, 3 Dec 2023 20:30:31 +0000 (21:30 +0100)] 
[3.11] gh-101100: Fix Sphinx warning in `library/gettext.rst` (GH-112668) (#112673)

gh-101100: Fix Sphinx warning in `library/gettext.rst` (GH-112668)
(cherry picked from commit 489aeac3a2d3b347ff033334688e2f44eec7944a)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (GH-112662) (#112667)
Miss Islington (bot) [Sun, 3 Dec 2023 17:39:10 +0000 (18:39 +0100)] 
[3.11] gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (GH-112662) (#112667)

gh-101100: Fix most Sphinx nitpicks in `inspect.rst` (GH-112662)
(cherry picked from commit 45650d1c479a8b0370f126d821718dd3c502f333)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] gh-66819: More IDLE htest updates(2) (GH-112642) (#112644)
Miss Islington (bot) [Sun, 3 Dec 2023 16:34:37 +0000 (17:34 +0100)] 
[3.11] gh-66819: More IDLE htest updates(2) (GH-112642) (#112644)

Examine and update spec -- callable pairs.
Revise run method.
(cherry picked from commit 3855b45874d5f8eb92a4957fb9de6fdce63eb760)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
23 months ago[3.11] Fix link to 'The Perils of Floating Point', on the tutorial (GH-112499) (GH...
Miss Islington (bot) [Sun, 3 Dec 2023 15:20:51 +0000 (16:20 +0100)] 
[3.11] Fix link to 'The Perils of Floating Point', on the tutorial (GH-112499) (GH-112663)

Use author link to 'The Perils of Floating Point'.
(cherry picked from commit c27b09c81368bc3b756e94a79a39307ce44a4a2c)

Co-authored-by: Marco Aurélio A. Barbosa <aureliobarbosa@gmail.com>
23 months ago[3.11] Run more `inspect.rst` code snippets in CI (#112654) (#112656)
Alex Waygood [Sun, 3 Dec 2023 12:01:33 +0000 (12:01 +0000)] 
[3.11] Run more `inspect.rst` code snippets in CI (#112654) (#112656)

(cherry-picked from commit 4ed46d224401243399b41c7ceef4532bd249da27)

23 months ago[3.11] [3.12] gh-112316: improve docs for `inspect.signature` and `inspect.Signature...
Miss Islington (bot) [Sun, 3 Dec 2023 11:35:21 +0000 (12:35 +0100)] 
[3.11] [3.12] gh-112316: improve docs for `inspect.signature` and `inspect.Signature` (GH-112631) (GH-112649) (#112652)

[3.12] gh-112316: improve docs for `inspect.signature` and `inspect.Signature` (GH-112631) (GH-112649)

(cherry-picked from commit fc9e24b01fb7da4160b82cef26981d72bb678c13)
(cherry picked from commit 6221482f0c459c2e7dbd946265069246a400072a)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] [3.12] gh-112618: Make Annotated cache typed (GH-112619) (GH-112628) (#112633)
Miss Islington (bot) [Sun, 3 Dec 2023 00:58:13 +0000 (01:58 +0100)] 
[3.11] [3.12] gh-112618: Make Annotated cache typed (GH-112619) (GH-112628) (#112633)

[3.12] gh-112618: Make Annotated cache typed (GH-112619) (GH-112628)
(cherry picked from commit 2a378ca2efcb91db4b04fb4e052424fd610ffbc9)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] gh-112316: Improve docs of `inspect.signature` and `Signature.from_callable...
Alex Waygood [Sat, 2 Dec 2023 22:50:16 +0000 (22:50 +0000)] 
[3.11] gh-112316: Improve docs of `inspect.signature` and `Signature.from_callable` (#112317) (#112630)

(cherry-picked from commit a74daba7ca)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
23 months ago[3.11] [3.12] gh-109413: libregrtest: Backport `.py`-file changes from GH-112558...
Miss Islington (bot) [Fri, 1 Dec 2023 19:09:00 +0000 (20:09 +0100)] 
[3.11] [3.12] gh-109413: libregrtest: Backport `.py`-file changes from GH-112558 (GH-112605) (#112607)

[3.12] gh-109413: libregrtest: Backport `.py`-file changes from GH-112558 (GH-112605)
(cherry picked from commit acc62db8af4e472a4922c10b91c60c36c49a5f79)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] [3.12] gh-109413: libregrtest: enable mypy's `--strict-optional` check on...
Miss Islington (bot) [Fri, 1 Dec 2023 17:28:09 +0000 (18:28 +0100)] 
[3.11] [3.12] gh-109413: libregrtest: enable mypy's `--strict-optional` check on most files (GH-112586) (GH-112602) (#112603)

[3.12] gh-109413: libregrtest: enable mypy's `--strict-optional` check on most files (GH-112586) (GH-112602)

gh-109413: libregrtest: enable mypy's `--strict-optional` check on most files (GH-112586)

(cherry picked from commit 36dbebed44785579034ffb1a59f0a1a5b987c9bf)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
23 months ago[3.11] bpo-35191: Fix unexpected integer truncation in socket.setblocking() (GH-10415)
Alexey Izbyshev [Fri, 1 Dec 2023 15:44:03 +0000 (18:44 +0300)] 
[3.11] bpo-35191: Fix unexpected integer truncation in socket.setblocking() (GH-10415)

On platforms with 64-bit long, socket.setblocking(x) treated all x
which lower 32 bits are zero as False due to integer truncation.

Reported by ubsan.

23 months ago[3.11] gh-109413: regrtest: add WorkerRunTests class (GH-112588) (#112594)
Miss Islington (bot) [Fri, 1 Dec 2023 14:43:09 +0000 (15:43 +0100)] 
[3.11] gh-109413: regrtest: add WorkerRunTests class (GH-112588) (#112594)

gh-109413: regrtest: add WorkerRunTests class (GH-112588)
(cherry picked from commit f8ff80f63536e96b004d29112452a8f1738fde37)

Co-authored-by: Victor Stinner <vstinner@python.org>
23 months ago[3.11] gh-82565: Add tests for pickle and unpickle with bad files (GH-16606) (GH...
Miss Islington (bot) [Fri, 1 Dec 2023 14:18:09 +0000 (15:18 +0100)] 
[3.11] gh-82565: Add tests for pickle and unpickle with bad files (GH-16606) (GH-112592)

(cherry picked from commit 058444308abee79bb1b3358883adfa8c97bd043a)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
23 months ago[3.11] gh-104231: Add more tests for str(), repr(), ascii(), and bytes() (GH-112551...
Serhiy Storchaka [Fri, 1 Dec 2023 08:17:20 +0000 (10:17 +0200)] 
[3.11] gh-104231: Add more tests for str(), repr(), ascii(), and bytes() (GH-112551) (GH-112556)

(cherry picked from commit 2223899adce858a09ebeaaf82111e6cda9b42415)

23 months ago[3.11] gh-66819: More IDLE htest updates (GH-112574) (#112576)
Miss Islington (bot) [Fri, 1 Dec 2023 07:22:07 +0000 (08:22 +0100)] 
[3.11] gh-66819: More IDLE htest updates (GH-112574) (#112576)

Revise htest.py docstring and move 2 specs to alphabetical position.
(cherry picked from commit e44f1940bd6d2ba4a3f8ac4585b3cf4f9cb93e49)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
23 months ago[3.11] IDLE: fix config_key htest (GH-112545) (#112547)
Miss Islington (bot) [Thu, 30 Nov 2023 08:29:23 +0000 (09:29 +0100)] 
[3.11] IDLE: fix config_key htest (GH-112545) (#112547)

Change 'Dialog' to 'Window' in two places to match the name of the config_key class being tested.
(cherry picked from commit 81261fa67ff82b03c255733b0d1abbbb8a228187)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
23 months ago[3.11] gh-112509: Fix keys being present in both required_keys and optional_keys...
Miss Islington (bot) [Wed, 29 Nov 2023 17:51:00 +0000 (18:51 +0100)] 
[3.11] gh-112509: Fix keys being present in both required_keys and optional_keys in TypedDict (GH-112512) (#112531)

(cherry picked from commit 403886942376210662610627b01fea6acd77d331)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] gh-110930: Correct book title by Alan D. Moore (GH-112490) (#112524)
Miss Islington (bot) [Wed, 29 Nov 2023 15:56:20 +0000 (16:56 +0100)] 
[3.11] gh-110930: Correct book title by Alan D. Moore (GH-112490) (#112524)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
23 months ago[3.11] gh-112431: Unconditionally call `hash -r` (GH-112432) (GH-112492)
Miss Islington (bot) [Tue, 28 Nov 2023 09:43:38 +0000 (10:43 +0100)] 
[3.11] gh-112431: Unconditionally call `hash -r` (GH-112432) (GH-112492)

gh-112431: Unconditionally call `hash -r` (GH-112432)

The `activate` script calls `hash -r` in two places to make sure the shell picks
up the environment changes the script makes. Before that, it checks to
see if the shell running the script is bash or zsh.

`hash -r` is specified by POSIX and is not exclusive to bash and zsh.
This guard prevents the script from calling `hash -r` in other
`GH-!/bin/sh`-compatible shells like dash.
(cherry picked from commit a194938f33a71e727e53490815bae874eece1460)

Co-authored-by: James Morris <6653392+J-M0@users.noreply.github.com>
23 months ago[3.11] gh-112105: Make completer delims work on libedit (gh-112106) (gh-112488)
Miss Islington (bot) [Tue, 28 Nov 2023 06:39:47 +0000 (07:39 +0100)] 
[3.11] gh-112105: Make completer delims work on libedit (gh-112106) (gh-112488)

gh-112105: Make completer delims work on libedit (gh-112106)
(cherry picked from commit 2df26d83486b8f9ac6b7df2a9a4669508aa61983)

Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
23 months ago[3.11] Docs: fix markup for `importlib.machinery.NamespaceLoader` (GH-112479) (#112482)
Miss Islington (bot) [Tue, 28 Nov 2023 00:21:18 +0000 (01:21 +0100)] 
[3.11] Docs: fix markup for `importlib.machinery.NamespaceLoader` (GH-112479) (#112482)

Docs: fix markup for `importlib.machinery.NamespaceLoader` (GH-112479)
(cherry picked from commit 2e632fa07d13a58be62f59be4e656ad58b378f9b)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
23 months ago[3.11] Backport PR #112477: correct socket AF_PACKET docs (#112478)
Gregory P. Smith [Mon, 27 Nov 2023 23:54:21 +0000 (15:54 -0800)] 
[3.11] Backport PR #112477: correct socket AF_PACKET docs (#112478)

Backport PR #112477: correct socket AF_PACKET docs

Network byte order is not involved in the `int` on the Python side.
That happens under the hood.

Correctly use the term addresses instead of packets.

23 months ago[3.11] gh-68166: Tkinter: Add tests and examples for element_create() (GH-111453...
Miss Islington (bot) [Mon, 27 Nov 2023 20:14:30 +0000 (21:14 +0100)] 
[3.11] gh-68166: Tkinter: Add tests and examples for element_create() (GH-111453) (GH-111858)

* Remove mention of "vsapi" element type from the documentation.
* Add tests for element_create() and other ttk.Style methods.
* Add examples for element_create() in the documentation.

(cherry picked from commit 005d1e8fc81539c60c6b21ebba34de3edd5bb232)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
23 months ago[3.11] gh-112387: Fix error positions for decoded strings with backwards tokenize...
Miss Islington (bot) [Mon, 27 Nov 2023 19:05:20 +0000 (20:05 +0100)] 
[3.11] gh-112387: Fix error positions for decoded strings with backwards tokenize errors (GH-112409) (#112469)

gh-112387: Fix error positions for decoded strings with backwards tokenize errors (GH-112409)
(cherry picked from commit 45d648597b1146431bf3d91041e60d7f040e70bf)

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
23 months ago[3.11] gh-112388: Fix an error that was causing the parser to try to overwrite tokeni...
Miss Islington (bot) [Mon, 27 Nov 2023 18:56:27 +0000 (19:56 +0100)] 
[3.11] gh-112388: Fix an error that was causing the parser to try to overwrite tokenizer errors (GH-112410) (#112467)

gh-112388: Fix an error that was causing the parser to try to overwrite tokenizer errors (GH-112410)
(cherry picked from commit 2c8b19174274c183eb652932871f60570123fe99)

Signed-off-by: Pablo Galindo <pablogsal@gmail.com>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
23 months ago[3.11] bpo-41422: Visit the Pickler's and Unpickler's memo in tp_traverse (GH-21664...
Serhiy Storchaka [Mon, 27 Nov 2023 18:46:34 +0000 (20:46 +0200)] 
[3.11] bpo-41422: Visit the Pickler's and Unpickler's memo in tp_traverse (GH-21664) (GH-112465)

(cherry picked from commit 967f2a3052c2d22e31564b428a9aa8cc63dc2a9f)

Co-authored-by: kale-smoothie <34165060+kale-smoothie@users.noreply.github.com>
23 months ago[3.11] gh-112438: Fix support of format units with the "e" prefix in nested tuples...
Serhiy Storchaka [Mon, 27 Nov 2023 18:11:09 +0000 (20:11 +0200)] 
[3.11] gh-112438: Fix support of format units with the "e" prefix in nested tuples in PyArg_Parse (gh-112439) (GH-112461)

(cherry picked from commit 4eea1e82369fbf7a795d1956e7a8212a1b58009f)

23 months ago[3.11] gh-84443: SSLSocket.recv_into() now support buffer protocol with itemsize...
Serhiy Storchaka [Mon, 27 Nov 2023 17:41:05 +0000 (19:41 +0200)] 
[3.11] gh-84443: SSLSocket.recv_into() now support buffer protocol with itemsize != 1 (GH-20310) (GH-112459)

It is also no longer use __len__().

(cherry picked from commit 812360fddda86d7aff5823f529ab720f57ddc411)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
23 months ago[3.11] GH-101100: Fix reference warnings for ``socket`` methods (GH-110114) (#112456)
Miss Islington (bot) [Mon, 27 Nov 2023 15:03:45 +0000 (16:03 +0100)] 
[3.11] GH-101100: Fix reference warnings for ``socket`` methods (GH-110114) (#112456)

Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
23 months ago[3.11] Docs: fix typo in doc for sqlite3.Cursor.execute (GH-112442) (#112445)
Miss Islington (bot) [Mon, 27 Nov 2023 09:34:35 +0000 (10:34 +0100)] 
[3.11] Docs: fix typo in doc for sqlite3.Cursor.execute (GH-112442) (#112445)

Docs: fix typo in doc for sqlite3.Cursor.execute (GH-112442)
(cherry picked from commit fb79e1ed4a985a487a02bb8585cc1bd2933dfa7c)

Co-authored-by: Tom Levy <tomlevy93@gmail.com>
23 months ago[3.11] gh-101100: Fix Sphinx reference warnings (GH-112416) (#112422)
Hugo van Kemenade [Sun, 26 Nov 2023 12:22:17 +0000 (14:22 +0200)] 
[3.11] gh-101100: Fix Sphinx reference warnings (GH-112416) (#112422)

23 months ago[3.11] gh-112331: Fix reference manual description of attribute lookup mechanics...
Miss Islington (bot) [Sat, 25 Nov 2023 22:26:22 +0000 (23:26 +0100)] 
[3.11] gh-112331: Fix reference manual description of attribute lookup mechanics (gh-112375) (gh-112413)