]> git.ipfire.org Git - thirdparty/Python/cpython.git/log
thirdparty/Python/cpython.git
22 months ago[3.12] gh-113543: Make sure that `MacOSXOSAScript` sends `webbrowser.open` audit...
Miss Islington (bot) [Fri, 29 Dec 2023 08:56:18 +0000 (09:56 +0100)] 
[3.12] gh-113543: Make sure that `MacOSXOSAScript` sends `webbrowser.open` audit event (GH-113544) (#113549)

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.12] Doc/library/os.rst: `os.waitid` absent on MacOS (GH-104558) (#113553)
Miss Islington (bot) [Fri, 29 Dec 2023 08:27:04 +0000 (09:27 +0100)] 
[3.12] Doc/library/os.rst: `os.waitid` absent on MacOS (GH-104558) (#113553)

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.12] gh-101100: Fix Sphinx warnings in library/random.rst (GH-112981) (#113551)
Miss Islington (bot) [Thu, 28 Dec 2023 19:40:21 +0000 (20:40 +0100)] 
[3.12] gh-101100: Fix Sphinx warnings in library/random.rst (GH-112981) (#113551)

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

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

(cherry picked from commit f108468970bf4e70910862476900f924fb701399)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.12] gh-110459: Make sure --with-openssl-rpath works on macOS (GH-113441) (#113535)
Miss Islington (bot) [Thu, 28 Dec 2023 09:21:12 +0000 (10:21 +0100)] 
[3.12] gh-110459: Make sure --with-openssl-rpath works on macOS (GH-113441) (#113535)

gh-110459: Make sure --with-openssl-rpath works on macOS (GH-113441)

* gh-110459: Make sure --with-openssl-rpath works on macOS

On macOS the `-rpath` linker flag is spelled differently
than on on platforms.
(cherry picked from commit cc13eabc7ce08accf49656e258ba500f74a1dae8)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
22 months ago[3.12] gh-57795: Add news to idlelib/News3.txt (GH-113522) (#113523)
Miss Islington (bot) [Wed, 27 Dec 2023 21:05:59 +0000 (22:05 +0100)] 
[3.12] gh-57795: Add news to idlelib/News3.txt (GH-113522) (#113523)

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

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

(cherry picked from commit 0651936ae2bc6999f488f8c519b8d07a06a11557)

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

(cherry picked from commit c66b577d9f7a11ffab57985fd6fb22e9dfd4f245)

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

(cherry picked from commit 712afab5acbe27ceb1eddde5aa559078ae7eaa3b)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Roger Serwy <roger.serwy@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.12] gh-111615: Fix regression in QueueHandler configuration. (GH-111638) (GH-113507)
Miss Islington (bot) [Wed, 27 Dec 2023 14:20:36 +0000 (15:20 +0100)] 
[3.12] gh-111615: Fix regression in QueueHandler configuration. (GH-111638) (GH-113507)

22 months ago[3.12] gh-101100: Fix Sphinx warnings in `library/cmd.rst` (GH-113502) (#113511)
Hugo van Kemenade [Wed, 27 Dec 2023 10:27:13 +0000 (12:27 +0200)] 
[3.12] gh-101100: Fix Sphinx warnings in `library/cmd.rst` (GH-113502) (#113511)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.12] gh-101100: Fix Sphinx warnings in `library/calendar.rst` (GH-113500) (#113509)
Hugo van Kemenade [Wed, 27 Dec 2023 09:45:32 +0000 (11:45 +0200)] 
[3.12] gh-101100: Fix Sphinx warnings in `library/calendar.rst` (GH-113500) (#113509)

22 months ago[3.12] gh-101100: Fix Sphinx warnings in `library/bisect.rst` (GH-113496) (#113504)
Miss Islington (bot) [Tue, 26 Dec 2023 21:54:02 +0000 (22:54 +0100)] 
[3.12] gh-101100: Fix Sphinx warnings in `library/bisect.rst` (GH-113496) (#113504)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
22 months ago[3.12] bpo-36959: Fix error messages for invalid ISO format string in _strptime(...
Miss Islington (bot) [Tue, 26 Dec 2023 19:56:42 +0000 (20:56 +0100)] 
[3.12] bpo-36959: Fix error messages for invalid ISO format string in _strptime() (GH-13408) (GH-113495)

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

(cherry picked from commit 4b2c3e8e436b5191039cbe8cd9932654a60803e6)

Co-authored-by: Gordon P. Hemsley <me@gphemsley.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.12] gh-101100: Fix Sphinx warnings in `howto/isolating-extensions.rst` (GH-113493...
Miss Islington (bot) [Tue, 26 Dec 2023 19:46:40 +0000 (20:46 +0100)] 
[3.12] gh-101100: Fix Sphinx warnings in `howto/isolating-extensions.rst` (GH-113493) (#113497)

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

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
22 months ago[3.12] gh-113468: Remove the "_new_ suffix from class names in pydocfodder (GH-113469...
Miss Islington (bot) [Tue, 26 Dec 2023 11:27:18 +0000 (12:27 +0100)] 
[3.12] gh-113468: Remove the "_new_ suffix from class names in pydocfodder (GH-113469) (GH-113483)

(cherry picked from commit 8a3d0e4a661e6c27e4c17c818ce4187a36579e5f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.12] Misc minor improvements to the itertools recipes (gh-113477) (gh-113478)
Miss Islington (bot) [Mon, 25 Dec 2023 22:32:05 +0000 (23:32 +0100)] 
[3.12] Misc minor improvements to the itertools recipes (gh-113477) (gh-113478)

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

(cherry picked from commit 48c49739f5502fc7aa82f247ab2e4d7b55bdca62)

Co-authored-by: Yilei Yang <yileiyang@google.com>
Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
22 months ago[3.12] gh-112252: Fix error on unset $OSNAME in venv/activate (GH-112253) (GH-112297)
Miss Islington (bot) [Mon, 25 Dec 2023 19:07:09 +0000 (20:07 +0100)] 
[3.12] gh-112252: Fix error on unset $OSNAME in venv/activate (GH-112253) (GH-112297)

(cherry picked from commit e1540ae74d1fce62f53e25838ba21746ba5d8444)

Co-authored-by: James Turk <dev@jamesturk.net>
22 months ago[3.12] bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503) (GH...
Miss Islington (bot) [Mon, 25 Dec 2023 18:55:08 +0000 (19:55 +0100)] 
[3.12] bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503) (GH-112597)

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

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
22 months ago[3.12] gh-76785: Make test.test_interpreters executable (GH-112982) (GH-113470)
Jeff Allen [Mon, 25 Dec 2023 18:31:57 +0000 (18:31 +0000)] 
[3.12] gh-76785: Make test.test_interpreters executable (GH-112982) (GH-113470)

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

22 months ago[3.12] [doc] Make subprocess.wait documentation more precise (GH-98700) (GH-112153)
Miss Islington (bot) [Mon, 25 Dec 2023 18:27:06 +0000 (19:27 +0100)] 
[3.12] [doc] Make subprocess.wait documentation more precise (GH-98700) (GH-112153)

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.12] docs: specify that PyBytes_AsStringAndSize returns 0 on success (GH-110888...
Miss Islington (bot) [Mon, 25 Dec 2023 18:24:22 +0000 (19:24 +0100)] 
[3.12] docs: specify that PyBytes_AsStringAndSize returns 0 on success (GH-110888) (GH-111690)

(cherry picked from commit 9f33ede12710c454643c394421f52d209247272c)

Co-authored-by: lefp <70862148+lefp@users.noreply.github.com>
22 months ago[3.12] gh-113407: Fix import of unittest.mock when CPython is built without docstring...
Miss Islington (bot) [Sun, 24 Dec 2023 11:54:35 +0000 (12:54 +0100)] 
[3.12] gh-113407: Fix import of unittest.mock when CPython is built without docstrings (GH-113408) (GH-113454)

(cherry picked from commit 0c574540e07792cef5487aef61ab38bfe404060f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.12] gh-113440: Ignore the "ver" command failure with exit code 0xc0000142 (GH...
Miss Islington (bot) [Sun, 24 Dec 2023 10:49:34 +0000 (11:49 +0100)] 
[3.12] gh-113440: Ignore the "ver" command failure with exit code 0xc0000142 (GH-113435) (GH-113453)

(cherry picked from commit 53330f167792a2947ab8b0faafb11019d7fb09b6)

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

(cherry picked from commit ce77ee50358c0668eda5078f50b38f0770a370ab)

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

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

Co-authored-by: Jeff Allen <ja.py@farowl.co.uk>
22 months ago[3.12] gh-111784: Fix two segfaults in the elementtree module (GH-113405) (GH-113446)
Miss Islington (bot) [Sun, 24 Dec 2023 09:25:05 +0000 (10:25 +0100)] 
[3.12] gh-111784: Fix two segfaults in the elementtree module (GH-113405) (GH-113446)

First fix resolve situation when pyexpat module (which contains expat_CAPI
capsule) deallocates before _elementtree, so we need to hold a strong
reference to pyexpat module to.

Second fix resolve situation when module state is deallocated before
deallocation of XMLParser instances, which uses module state to clear
some stuff.
(cherry picked from commit 894f0e573d9eb49cd5864c44328f10a731852dab)

Co-authored-by: Kirill Podoprigora <kirill.bast9@mail.ru>
22 months ago[3.12] gh-112559: Avoid unnecessary conversion attempts to enum_klass in signal.py...
Miss Islington (bot) [Sun, 24 Dec 2023 02:09:59 +0000 (03:09 +0100)] 
[3.12] gh-112559: Avoid unnecessary conversion attempts to enum_klass in signal.py (GH-113040) (#113443)

(cherry picked from commit 050783cb37d6a09d8238fa640814df8a915f6a68)

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

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

* gh-109989: Fix test_c_locale_coercion when PYTHONIOENCODING is set

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

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

(cherry picked from commit 5f665e99e0b8a52415f83c2416eaf28abaacc3ae)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
22 months ago[3.12] gh-113297: Fix segfault in compiler for with statement with 19 context manager...
Irit Katriel [Sat, 23 Dec 2023 13:29:11 +0000 (13:29 +0000)] 
[3.12] gh-113297: Fix segfault in compiler for with statement with 19 context managers (#113327) (#113404)

22 months ago[3.12] gh-74573: document that ndbm can silently corrupt databases on macOS (GH-11335...
Miss Islington (bot) [Sat, 23 Dec 2023 12:49:33 +0000 (13:49 +0100)] 
[3.12] gh-74573: document that ndbm can silently corrupt databases on macOS (GH-113354) (#113431)

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

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

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

(cherry picked from commit 593b4d81d276b428f926debfe70d56ba94edf0e1)

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

(cherry picked from commit 4e5b27e6a3be85853bd04d45128dd7cc706bb1c8)

22 months ago[3.12] gh-112925: Fix error in example of `datetime.time.fromisoformat` and add docte...
Miss Islington (bot) [Sat, 23 Dec 2023 10:50:00 +0000 (11:50 +0100)] 
[3.12] gh-112925: Fix error in example of `datetime.time.fromisoformat` and add doctest marker (GH-112931) (GH-113427)

(cherry picked from commit bdc8d667ab545ccec0bf8c2769f5c5573ed293ea)

Co-authored-by: F-park <52167622+F-park@users.noreply.github.com>
22 months ago[3.12] gh-113188: Fix shutil.copymode() and shutil.copystat() on Windows (GH-113285)
Serhiy Storchaka [Sat, 23 Dec 2023 10:31:52 +0000 (12:31 +0200)] 
[3.12] gh-113188: Fix shutil.copymode() and shutil.copystat() on Windows (GH-113285)

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

22 months ago[3.12] gh-113384: Skip test_freeze for framework builds on macOS (GH-113390) (#113395)
Miss Islington (bot) [Fri, 22 Dec 2023 11:06:46 +0000 (12:06 +0100)] 
[3.12] gh-113384: Skip test_freeze for framework builds on macOS (GH-113390) (#113395)

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

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

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

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

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

(cherry picked from commit df1eec3dae3b1eddff819fd70f58b03b3fbd0eda)

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

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

22 months ago[3.12] gh-113343: Fix error check on mmap(2) (GH-113342) (#113374)
Miss Islington (bot) [Thu, 21 Dec 2023 19:44:15 +0000 (20:44 +0100)] 
[3.12] gh-113343: Fix error check on mmap(2) (GH-113342) (#113374)

gh-113343: Fix error check on mmap(2) (GH-113342)

Fix error check on mmap(2)

It should check MAP_FAILED instead of NULL for error.

On mmap(2) man page:

  RETURN VALUE
       On success, mmap() returns a pointer to the mapped area.
       On error, the value MAP_FAILED (that is, (void *) -1) is
       returned, and errno is set to indicate the error.
(cherry picked from commit 6b70c3dc5ab2f290fcdbe474bcb7d6fdf29eae4c)

Co-authored-by: Namhyung Kim <namhyung@gmail.com>
22 months ago[3.12] Docs: OpenSSL wording ambiguity (GH-113296) (#113348)
Miss Islington (bot) [Thu, 21 Dec 2023 07:56:06 +0000 (08:56 +0100)] 
[3.12] Docs: OpenSSL wording ambiguity (GH-113296) (#113348)

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

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

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

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

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

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

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

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

(cherry picked from commit 1ff02385944924db7e683a607da2882462594764)

Co-authored-by: Martijn Pieters <mj@zopatista.com>
22 months ago[3.12] gh-113255: Clarify docs for `typing.reveal_type` (GH-113286) (#113323)
Miss Islington (bot) [Wed, 20 Dec 2023 17:36:45 +0000 (18:36 +0100)] 
[3.12] gh-113255: Clarify docs for `typing.reveal_type` (GH-113286) (#113323)

gh-113255: Clarify docs for `typing.reveal_type` (GH-113286)
(cherry picked from commit 11ee912327ef51100d2a6b990249f25b6b1b435d)

Co-authored-by: Kir <note351@hotmail.com>
Co-authored-by: AlexWaygood <alex.waygood@gmail.com>
22 months ago[3.12] Fix typo in datamodel docs (GH-113314) (#113316)
Miss Islington (bot) [Wed, 20 Dec 2023 12:05:33 +0000 (13:05 +0100)] 
[3.12] Fix typo in datamodel docs (GH-113314) (#113316)

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

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

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

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

Co-authored-by: David Greaves <david@dgreaves.com>
22 months ago[3.12] gh-108269: Add CFBundleAllowMixedLocalizations to Info.plist on macOS (GH...
Miss Islington (bot) [Tue, 19 Dec 2023 21:08:59 +0000 (22:08 +0100)] 
[3.12] gh-108269: Add CFBundleAllowMixedLocalizations to Info.plist on macOS (GH-113213) (#113294)

gh-108269: Add CFBundleAllowMixedLocalizations to Info.plist on macOS (GH-113213)

Adding this key with a value of true enables detecting the
users prefered language in libraries accessing system APIs
for this.
(cherry picked from commit 4cfce3a4da7ca9513e7f2c8ec94d50f8bddfa41b)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
22 months ago[3.12] gh-102362: Fix macOS version number in result of sysconfig.get_platform()...
Miss Islington (bot) [Tue, 19 Dec 2023 18:51:17 +0000 (19:51 +0100)] 
[3.12] gh-102362: Fix macOS version number in result of sysconfig.get_platform() (GH-112942) (#113264)

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

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

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

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

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

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

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

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

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

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

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

(cherry picked from commit 41336a72b90634d5ac74a57b6826e4dd6fe78eac)

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

* [3.12] gh-113246: Updated bundled pip to 23.3.2 (gh-113249)

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

Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
22 months ago[3.12] gh-101100: Fix Sphinx warnings in library/tarfile.rst (GH-113237) (#113244)
Hugo van Kemenade [Mon, 18 Dec 2023 07:11:35 +0000 (09:11 +0200)] 
[3.12] gh-101100: Fix Sphinx warnings in library/tarfile.rst (GH-113237) (#113244)

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

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

(cherry picked from commit 21d52995ea490328edf9be3ba072821cd445dd30)

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

(cherry picked from commit cde1335485b7bffb12c378d230ae48ad77d76ab1)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
22 months ago[3.12] gh-105912: document gotcha with using os.fork on macOS (GH-112871) (#113133)
Miss Islington (bot) [Sat, 16 Dec 2023 09:12:10 +0000 (10:12 +0100)] 
[3.12] gh-105912: document gotcha with using os.fork on macOS (GH-112871) (#113133)

gh-105912: document gotcha with using os.fork on macOS (GH-112871)

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

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

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

(cherry picked from commit 22511f77c2818a138a252e6ddae89725d082f8b0)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
22 months ago[3.12] gh-113046: Revise csv.reader doc (GH-113207) (#113210)
Miss Islington (bot) [Sat, 16 Dec 2023 08:19:01 +0000 (09:19 +0100)] 
[3.12] gh-113046: Revise csv.reader doc (GH-113207) (#113210)

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

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
22 months ago[3.12] Add reshape() recipe to demonstrate a use case for batched() and chained.from_...
Miss Islington (bot) [Sat, 16 Dec 2023 00:09:49 +0000 (01:09 +0100)] 
[3.12] Add reshape() recipe to demonstrate a use case for batched() and chained.from_iterable() (gh-113198) (gh-113201)

22 months ago[3.12] Use match/case in grouper() recipe (gh-113059) (gh-113197)
Miss Islington (bot) [Fri, 15 Dec 2023 22:39:11 +0000 (23:39 +0100)] 
[3.12] Use match/case in grouper() recipe (gh-113059) (gh-113197)

22 months ago[3.12] Minor stylistic edit to the grouper recipe (gh-112759) (gh-113196)
Miss Islington (bot) [Fri, 15 Dec 2023 22:32:32 +0000 (23:32 +0100)] 
[3.12] Minor stylistic edit to the grouper recipe (gh-112759) (gh-113196)

22 months ago[3.12] gh-110746: Improve markup in ``tkinter.ttk.rst`` (GH-111236) (#113193)
Miss Islington (bot) [Fri, 15 Dec 2023 21:03:51 +0000 (22:03 +0100)] 
[3.12] gh-110746: Improve markup in ``tkinter.ttk.rst`` (GH-111236) (#113193)

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

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

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

* 📜🤖 Added by blurb_it.

---------

(cherry picked from commit 00d2b6d1fca91e1a83f7f99a370685b095ed4928)

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

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.12] gh-101100: Fix Sphinx nitpicks in `library/numbers.rst` (GH-113162) (#113182)
Hugo van Kemenade [Fri, 15 Dec 2023 17:21:09 +0000 (19:21 +0200)] 
[3.12] gh-101100: Fix Sphinx nitpicks in `library/numbers.rst` (GH-113162) (#113182)

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

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

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

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

(cherry picked from commit 8f8f0f97e126db9ca470fd7e7b2944c150db6305)

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

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

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.12] Optimize unique_justseen() recipe for a common case. (gh-113147) (gh-113150)
Miss Islington (bot) [Thu, 14 Dec 2023 23:34:00 +0000 (00:34 +0100)] 
[3.12] Optimize unique_justseen() recipe for a common case. (gh-113147) (gh-113150)

22 months ago[3.12] gh-101100: Cleanup `mailbox` docs (GH-113124) (#113144)
Hugo van Kemenade [Thu, 14 Dec 2023 21:26:26 +0000 (23:26 +0200)] 
[3.12] gh-101100: Cleanup `mailbox` docs (GH-113124) (#113144)

(cherry picked from commit 25061f5c98a47691fdb70f550943167bda77f6e0)

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

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
22 months ago[3.12] Remove itertool recipe with low pedagogical value (gh-113138) (gh-113140)
Miss Islington (bot) [Thu, 14 Dec 2023 20:42:36 +0000 (21:42 +0100)] 
[3.12] Remove itertool recipe with low pedagogical value (gh-113138) (gh-113140)

22 months ago[3.12] bpo-36796: Clean the error handling in _testcapimodule.c (GH-13085) (GH-113132)
Miss Islington (bot) [Thu, 14 Dec 2023 19:39:57 +0000 (20:39 +0100)] 
[3.12] bpo-36796: Clean the error handling in _testcapimodule.c (GH-13085) (GH-113132)

(cherry picked from commit a723a13bf135306cdc5999a959596bfb487e8f4f)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
22 months ago[3.12] gh-101100: Fix Sphinx nitpicks in `library/collections.abc.rst` (GH-113116...
Miss Islington (bot) [Thu, 14 Dec 2023 19:32:30 +0000 (20:32 +0100)] 
[3.12] gh-101100: Fix Sphinx nitpicks in `library/collections.abc.rst` (GH-113116) (#113136)

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.12] Add recipe for totient() to demonstrate unique_justseen() and factor(). (gh...
Miss Islington (bot) [Thu, 14 Dec 2023 19:24:15 +0000 (20:24 +0100)] 
[3.12] Add recipe for totient() to demonstrate unique_justseen() and factor(). (gh-113131) (gh-113134)

22 months ago[3.12] gh-113113: doc: use less ambiguously named variable (gh-113114) (gh-113122)
Miss Islington (bot) [Thu, 14 Dec 2023 16:25:07 +0000 (17:25 +0100)] 
[3.12] gh-113113: doc: use less ambiguously named variable (gh-113114) (gh-113122)

22 months ago[3.12] gh-101100: Fix Sphinx nitpicks in `library/traceback.rst` (GH-113106) (#113111)
Miss Islington (bot) [Thu, 14 Dec 2023 14:17:28 +0000 (15:17 +0100)] 
[3.12] gh-101100: Fix Sphinx nitpicks in `library/traceback.rst` (GH-113106) (#113111)

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.12] gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and `reference/simple_...
Miss Islington (bot) [Thu, 14 Dec 2023 13:37:47 +0000 (14:37 +0100)] 
[3.12] gh-101100: Fix Sphinx nitpicks in `library/inspect.rst` and `reference/simple_stmts.rst` (GH-113107) (#113109)

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.12] gh-112716: Fix SystemError when __builtins__ is not a dict (GH-112770) (GH...
Serhiy Storchaka [Thu, 14 Dec 2023 12:54:25 +0000 (14:54 +0200)] 
[3.12] gh-112716: Fix SystemError when __builtins__ is not a dict (GH-112770) (GH-113103)

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.12] gh-113090: Fix test.support.os_support.can_chmod() on Windows (GH-113091)...
Miss Islington (bot) [Thu, 14 Dec 2023 12:00:40 +0000 (13:00 +0100)] 
[3.12] gh-113090: Fix test.support.os_support.can_chmod() on Windows (GH-113091) (GH-113099)

(cherry picked from commit c6e953be125c491226adc1a5bc9c804ce256aa17)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.12] gh-111049: Fix crash during garbage collection of the BytesIO buffer object...
Miss Islington (bot) [Thu, 14 Dec 2023 10:28:57 +0000 (11:28 +0100)] 
[3.12] gh-111049: Fix crash during garbage collection of the BytesIO buffer object (GH-111221) (GH-113096)

(cherry picked from commit bb36f72efcc6a656e0907ffa83620a1e44044895)

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

(cherry picked from commit b3c21265fa48a137a4c6a35e425b2b7f94f96cf4)

Co-authored-by: Daniel Wysocki <dwysocki@users.noreply.github.com>
22 months ago[3.12] gh-113086: Add tests for os.chmod() and os.lchmod() (GH-113087) (GH-113088)
Miss Islington (bot) [Thu, 14 Dec 2023 07:31:46 +0000 (08:31 +0100)] 
[3.12] gh-113086: Add tests for os.chmod() and os.lchmod() (GH-113087) (GH-113088)

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.12] gh-112867: fix for WITH_PYMALLOC_RADIX_TREE=0 (GH-112885) (#113068)
Miss Islington (bot) [Wed, 13 Dec 2023 21:06:43 +0000 (22:06 +0100)] 
[3.12] gh-112867: fix for WITH_PYMALLOC_RADIX_TREE=0 (GH-112885) (#113068)

gh-112867: fix for WITH_PYMALLOC_RADIX_TREE=0 (GH-112885)

The _obmalloc_usage structure is only defined if the obmalloc radix tree
is enabled.
(cherry picked from commit 890ce430d94b0b2bccc92a8472b1e1030b4faeb8)

Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
22 months ago[3.12] bpo-40648: Test modes that file can get with chmod() on Windows (GH-20130...
Miss Islington (bot) [Wed, 13 Dec 2023 20:50:50 +0000 (21:50 +0100)] 
[3.12] bpo-40648: Test modes that file can get with chmod() on Windows (GH-20130) (GH-113070)

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.12] gh-107959: clarify Unix-availability of `os.lchmod()` (GH-107960) (GH-113066)
Miss Islington (bot) [Wed, 13 Dec 2023 20:01:39 +0000 (21:01 +0100)] 
[3.12] gh-107959: clarify Unix-availability of `os.lchmod()` (GH-107960) (GH-113066)

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.12] Docs: Fix external link to devguide.python.org (GH-112899) (#113065)
Miss Islington (bot) [Wed, 13 Dec 2023 19:48:43 +0000 (20:48 +0100)] 
[3.12] Docs: Fix external link to devguide.python.org (GH-112899) (#113065)

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

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.12] [pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter...
Miss Islington (bot) [Wed, 13 Dec 2023 12:38:07 +0000 (13:38 +0100)] 
[3.12] [pprint]: Add docstring about `PrettyPrinter.underscore_numbers` parameter (GH-112963) (#113053)

[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.12] gh-101100: Fix Sphinx warning in references with asterisks (GH-113029) (#113043)
Miss Islington (bot) [Wed, 13 Dec 2023 08:59:47 +0000 (09:59 +0100)] 
[3.12] gh-101100: Fix Sphinx warning in references with asterisks (GH-113029) (#113043)

gh-101100: Fix Sphinx warning in references with asterisks (GH-113029)
(cherry picked from commit 3531ea441b8b76bff90d2ecc062335da65fd3341)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.12] gh-101100: Further improve docs on function attributes (GH-113001) (#113030)
Miss Islington (bot) [Tue, 12 Dec 2023 20:28:10 +0000 (21:28 +0100)] 
[3.12] gh-101100: Further improve docs on function attributes (GH-113001) (#113030)

gh-101100: Further improve docs on function attributes (GH-113001)
(cherry picked from commit 81a15ea74e2607728fceb822dfcc1aabff00478a)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago[3.12] gh-112983: Add the known magic value of 3495 for Python 3.11 bytecode (GH...
Miss Islington (bot) [Tue, 12 Dec 2023 18:24:28 +0000 (19:24 +0100)] 
[3.12] gh-112983: Add the known magic value of 3495 for Python 3.11 bytecode (GH-112985) (#113023)

gh-112983: Add the known magic value of 3495 for Python 3.11 bytecode (GH-112985)

Add the known magic value of 3495 for Python 3.11 bytecode
(cherry picked from commit 616622cab7200bac476bf753d6cc98f4ee48808c)

Co-authored-by: wim glenn <jump@wimglenn.com>
22 months ago[3.12] gh-112999: Replace the outdated "deprecated" directives with "versionchanged...
Miss Islington (bot) [Tue, 12 Dec 2023 17:20:51 +0000 (18:20 +0100)] 
[3.12] gh-112999: Replace the outdated "deprecated" directives with "versionchanged" (GH-113000) (GH-113019)

(cherry picked from commit fe9991bb672dd95fb9cd38b5a03180719ac4e722)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
22 months ago[3.12] Update pre-commit to fix Sphinx Lint (GH-113015) (#113017)
Miss Islington (bot) [Tue, 12 Dec 2023 16:30:00 +0000 (17:30 +0100)] 
[3.12] Update pre-commit to fix Sphinx Lint (GH-113015) (#113017)

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.12] gh-83162: Rename re.error in idlelib (GH-101677) (#112987)
Terry Jan Reedy [Tue, 12 Dec 2023 15:53:58 +0000 (10:53 -0500)] 
[3.12] gh-83162: Rename re.error in idlelib (GH-101677) (#112987)

Backport idlelib part of #101677 with simple rename.

22 months ago[3.12] gh-101100: Improve documentation on function attributes (GH-112933) (#112974)
Hugo van Kemenade [Tue, 12 Dec 2023 10:10:27 +0000 (12:10 +0200)] 
[3.12] gh-101100: Improve documentation on function attributes (GH-112933) (#112974)

(cherry picked from commit 4c5b9c107a1d158b245f21a1839a2bec97d05383)

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
22 months ago [3.12] gh-112953: Rename idlelib/NEWS.txt to News3.txt and update (GH-112988) (...
Terry Jan Reedy [Tue, 12 Dec 2023 06:01:56 +0000 (01:01 -0500)] 
 [3.12] gh-112953: Rename idlelib/NEWS.txt to News3.txt and update (GH-112988) (#112990)

23 months ago[3.12] gh-108303: Move `double_const` to `test_import` where it belongs (GH-112108...
Miss Islington (bot) [Mon, 11 Dec 2023 19:00:45 +0000 (20:00 +0100)] 
[3.12] gh-108303: Move `double_const` to `test_import` where it belongs (GH-112108) (#112976)

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>