]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Miss Islington (bot) [Mon, 30 Sep 2024 01:24:55 +0000 (03:24 +0200)]
[3.13] gh-123892: Add "_wmi" to sys.stdlib_module_names (GH-123893) (#123896)
gh-123892: Add "_wmi" to sys.stdlib_module_names (GH-123893)
(cherry picked from commit
fb1b51a58df4315f7ef3171a5abeb74f132b0971 )
Co-authored-by: Victor Stinner <vstinner@python.org>
Miss Islington (bot) [Mon, 30 Sep 2024 01:24:40 +0000 (03:24 +0200)]
[3.13] gh-123881: Add additional test coverage for PEP 695 edge cases (GH-123886) (#123890)
gh-123881: Add additional test coverage for PEP 695 edge cases (GH-123886)
(cherry picked from commit
b52de7e02dba9e1f176d6d978d782fbd0509311e )
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Miss Islington (bot) [Mon, 30 Sep 2024 01:23:42 +0000 (03:23 +0200)]
[3.13] gh-77894: Fix a crash when the GC breaks a loop containing a memoryview (GH-123898) (#123936)
gh-77894: Fix a crash when the GC breaks a loop containing a memoryview (GH-123898)
Now a memoryview object can only be cleared if there are no buffers
that refer it.
(cherry picked from commit
a1dbf2ea69acc6ccee6292709af1dadd55c068be )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Miss Islington (bot) [Mon, 30 Sep 2024 01:22:15 +0000 (03:22 +0200)]
[3.13] gh-123919: Fix null handling in `_freeze_module.c` (GH-123920) (#123948)
gh-123919: Fix null handling in `_freeze_module.c` (GH-123920)
(cherry picked from commit
c8d1dbef5b770b647aa7ff45fd5b269bc7629d0b )
Co-authored-by: sobolevn <mail@sobolevn.me>
Miss Islington (bot) [Mon, 30 Sep 2024 01:21:57 +0000 (03:21 +0200)]
[3.13] gh-123942: add missing test for docstring-handling code in ast_opt.c (GH-123943) (#123955)
gh-123942: add missing test for docstring-handling code in ast_opt.c (GH-123943)
(cherry picked from commit
6e23c89fcdd02b08fa6e9fa70d6e90763ddfc327 )
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
Miss Islington (bot) [Mon, 30 Sep 2024 01:17:16 +0000 (03:17 +0200)]
[3.13] gh-121735: Fix module-adjacent references in zip files (GH-123037) (#123986)
* gh-121735: Fix module-adjacent references in zip files (GH-123037)
* gh-116608: Apply style and compatibility changes from importlib_metadata.
* gh-121735: Ensure module-adjacent resources are loadable from a zipfile.
* gh-121735: Allow all modules to be processed by the ZipReader.
* Add blurb
* Remove update-zips script, unneeded.
* Remove unnecessary references to removed static fixtures.
* Remove zipdata fixtures, unused.
(cherry picked from commit
ba687d9481c04fd160795ff8d8568f5c9f877128 )
* gh-123994: Generate utf-16 file using little endian and BOM. (#123995)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
Miss Islington (bot) [Mon, 30 Sep 2024 01:15:16 +0000 (03:15 +0200)]
[3.13] gh-116622: Mock the passage of time in Android logcat rate limit tests (GH-124015) (#124035)
gh-116622: Mock the passage of time in Android logcat rate limit tests (GH-124015)
Mock the passage of time in Android logcat rate limit tests
(cherry picked from commit
f5548834256414c6a721e9ebfa511e043e73ef03 )
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Miss Islington (bot) [Mon, 30 Sep 2024 01:14:44 +0000 (03:14 +0200)]
[3.13] gh-123836: Check zero signs in math_testcases.txt (GH-123854) (#124161)
gh-123836: Check zero signs in math_testcases.txt (GH-123854)
Just like cmath_testcases.txt. These tests require IEEE 754 anyway.
Correct zero sign for sqrt tests to match math.h convention.
(cherry picked from commit
28aea5d07d163105b42acd81c1651397ef95ea57 )
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Sergey B Kirpichev [Mon, 30 Sep 2024 01:14:02 +0000 (04:14 +0300)]
[3.13] gh-123836: workaround fmod(x, y) bug on Windows (GH-124171) (#124187)
Buildbot failure on Windows 10 with MSC v.1916 64 bit (AMD64):
FAIL: testFmod (test.test_math.MathTests.testFmod)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_math.py", line 605, in testFmod
self.ftest('fmod(-10, 1)', math.fmod(-10, 1), -0.0)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "D:\buildarea\3.x.bolen-windows10\build\Lib\test\test_math.py", line 258, in ftest
self.fail("{}: {}".format(name, failure))
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: fmod(-10, 1): expected -0.0, got 0.0 (zero has wrong sign)
Here Windows loose sign of the result; if y is nonzero, the result
should have the same sign as x.
This amends commit
28aea5d07d .
(cherry picked from commit
f4dd4402108cc005d45acd4ca83c8530c36a93ca )
Miss Islington (bot) [Mon, 30 Sep 2024 01:13:36 +0000 (03:13 +0200)]
[3.13] gh-122145: Handle an empty AST body when reporting tracebacks (GH-122161) (#124214)
gh-122145: Handle an empty AST body when reporting tracebacks (GH-122161)
(cherry picked from commit
5cd50cb6eb28e525f0c838e049e900ea982a5a23 )
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Miss Islington (bot) [Mon, 30 Sep 2024 01:13:13 +0000 (03:13 +0200)]
[3.13] gh-124064: Fix -Wconversion warnings in Parser/string_parser.c (GH-124204) (#124216)
gh-124064: Fix -Wconversion warnings in Parser/string_parser.c (GH-124204)
Fix integer overflow check in decode_unicode_with_escapes(): use
PY_SSIZE_T_MAX instead of SIZE_MAX.
(cherry picked from commit
f9fa6ba4f8d90ae12bc1f6a792d66903bb169ba8 )
Co-authored-by: Victor Stinner <vstinner@python.org>
Miss Islington (bot) [Mon, 30 Sep 2024 01:11:22 +0000 (03:11 +0200)]
[3.13] gh-124212: Fix undefined variable in error message in venv (GH-124211) (#124226)
gh-124212: Fix undefined variable in error message in venv (GH-124211)
(cherry picked from commit
ea7fe1fe2e162f2375562467ad834c6224a62daf )
Co-authored-by: Jacek <jacek.duszenko@gmail.com>
Miss Islington (bot) [Mon, 30 Sep 2024 01:11:03 +0000 (03:11 +0200)]
[3.13] gh-123934: Fix `MagicMock` not to reset magic method return values (GH-124038) (#124231)
gh-123934: Fix `MagicMock` not to reset magic method return values (GH-124038)
(cherry picked from commit
7628f67d55cb65bad9c9266e0457e468cd7e3775 )
Co-authored-by: sobolevn <mail@sobolevn.me>
Miss Islington (bot) [Mon, 30 Sep 2024 01:07:04 +0000 (03:07 +0200)]
[3.13] gh-124245: Fix UserWarning in test_argparse (GH-124246) (#124255)
gh-124245: Fix UserWarning in test_argparse (GH-124246)
(cherry picked from commit
992e8f6102e317b4967a762fbefea82f9fcf9dfb )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Miss Islington (bot) [Mon, 30 Sep 2024 01:06:53 +0000 (03:06 +0200)]
[3.13] gh-123797: Check for runtime availability of `ptsname_r` on macos (GH-123806) (#124270)
gh-123797: Check for runtime availability of `ptsname_r` on macos (GH-123806)
(cherry picked from commit
3e36e5aef18e326f5d1081d73ee8d8fefa1d82f8 )
Co-authored-by: sobolevn <mail@sobolevn.me>
Miss Islington (bot) [Mon, 30 Sep 2024 01:06:32 +0000 (03:06 +0200)]
[3.13] gh-124248: Fix crash in struct when processing 0p fields (GH-124251) (#124277)
gh-124248: Fix crash in struct when processing 0p fields (GH-124251)
(cherry picked from commit
63f196090f90cbfe5f698824655f74dea5cb2b29 )
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Miss Islington (bot) [Mon, 30 Sep 2024 01:06:11 +0000 (03:06 +0200)]
[3.13] gh-124254: Detect freethreaded MSI component when doing an upgrade on Windows (GH-124279) (#124347)
gh-124254: Detect freethreaded MSI component when doing an upgrade on Windows (GH-124279)
(cherry picked from commit
df7228ce140ecb005d44a0c171ba4d098b3fa67c )
Co-authored-by: Steve Dower <steve.dower@python.org>
Miss Islington (bot) [Mon, 30 Sep 2024 01:05:51 +0000 (03:05 +0200)]
[3.13] GH-87041: Fix incorrect indentation in argparse help (GH-124230) (#124373)
GH-87041: Fix incorrect indentation in argparse help (GH-124230)
In case of usage a long command along with max_help_position more than
the length of the command, the command's help was incorrectly started
on the new line.
(cherry picked from commit
7ee99217345af3010bf05b1f5241c661a5e0ea9b )
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Co-authored-by: Pavel Ditenbir <pavel.ditenbir@gmail.com>
Alex Waygood [Mon, 30 Sep 2024 01:04:56 +0000 (02:04 +0100)]
[3.13] Bump Ruff to 0.6.7 (#124384) (#124389)
Bump Ruff to 0.6.7 (#124384)
Miss Islington (bot) [Mon, 30 Sep 2024 01:03:29 +0000 (03:03 +0200)]
[3.13] bpo-44864: Do not translate user-provided strings in ArgumentParser.add_subparsers() (GH-27667) (#124506)
bpo-44864: Do not translate user-provided strings in ArgumentParser.add_subparsers() (GH-27667)
Call _() on literal strings only.
(cherry picked from commit
d3c76dff444046504754a437dceebc9a9c87ef18 )
Co-authored-by: Jérémie Detrey <jdetrey@users.noreply.github.com>
Miss Islington (bot) [Mon, 30 Sep 2024 01:03:12 +0000 (03:03 +0200)]
[3.13] gh-116622: Make test_unzip_zipfile recognize Android error message format (GH-124462) (#124516)
gh-116622: Make test_unzip_zipfile recognize Android error message format (GH-124462)
Make test_unzip_zipfile recognize Android error message format
(cherry picked from commit
461c12b43870d51ea29eae7b0969b20565d50eb6 )
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Miss Islington (bot) [Mon, 30 Sep 2024 01:03:00 +0000 (03:03 +0200)]
[3.13] gh-124513: Check args in framelocalsproxy_new() (GH-124515) (#124539)
gh-124513: Check args in framelocalsproxy_new() (GH-124515)
Fix a crash in FrameLocalsProxy constructor: check the number of
arguments.
(cherry picked from commit
d6954b6421aa34afd280df9c44ded21a2348a6ea )
Co-authored-by: Victor Stinner <vstinner@python.org>
Miss Islington (bot) [Mon, 30 Sep 2024 01:02:42 +0000 (03:02 +0200)]
[3.13] gh-124378: Update test_ttk for Tcl/Tk 8.6.15 (GH-124542) (#124544)
gh-124378: Update test_ttk for Tcl/Tk 8.6.15 (GH-124542)
(cherry picked from commit
fb6bd31cb74d2f7e7b525ee4fe9f45475fc94ce9 )
Co-authored-by: Zachary Ware <zach@python.org>
Co-authored-by: Marc Culler <culler@users.noreply.github.com>
Miss Islington (bot) [Mon, 30 Sep 2024 01:01:06 +0000 (03:01 +0200)]
[3.13] gh-124498: Fix `TypeAliasType` not to be generic, when `type_params=()` (GH-124499) (#124603)
gh-124498: Fix `TypeAliasType` not to be generic, when `type_params=()` (GH-124499)
(cherry picked from commit
abe5f799e6ce1d177f79554f1b84d348b6141045 )
Co-authored-by: sobolevn <mail@sobolevn.me>
Bénédikt Tran [Mon, 30 Sep 2024 01:00:42 +0000 (03:00 +0200)]
[3.13] gh-89683: add tests for `deepcopy` on frozen dataclasses (GH-123098) (#124678)
* gh-89683: add tests for `deepcopy` on frozen dataclasses (gh-123098)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Miss Islington (bot) [Mon, 30 Sep 2024 00:59:54 +0000 (02:59 +0200)]
[3.13] gh-124385: Document and soft-deprecate PyLong_AS_LONG (GH-124386) (#124719)
gh-124385: Document and soft-deprecate PyLong_AS_LONG (GH-124386)
(cherry picked from commit
425587a110eb214a097c634d4b6d944ac478923e )
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Miss Islington (bot) [Mon, 30 Sep 2024 00:58:32 +0000 (02:58 +0200)]
[3.13] docs: improve venv docs (GH-124540) (#124727)
docs: improve venv docs (GH-124540)
- Move "versionchanged" notes that apply to the whole class to the
end of the class docs
- Remove or move notes next to the method list that apply to individual
methods.
- Mark up parameters using the appropriate syntax
- Do not capitalize "boolean"
- Shorten some text
(cherry picked from commit
c976d789a98047ae7ddec6d13c9ea7086d9fa3f9 )
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Irit Katriel [Mon, 30 Sep 2024 00:53:47 +0000 (01:53 +0100)]
[3.13] gh-124746: remove assertion on exits having line numbers (#124762)
gh-124746: remove assertion in 3.13
Miss Islington (bot) [Mon, 30 Sep 2024 00:53:13 +0000 (02:53 +0200)]
[3.13] Docs: improve generic `typing.NamedTuple` example (GH-124739) (#124764)
Docs: improve generic `typing.NamedTuple` example (GH-124739)
(cherry picked from commit
76fbee642e78eacf3866102f31e0ac969b57f1e6 )
Co-authored-by: CBerJun <121291537+CBerJun@users.noreply.github.com>
Miss Islington (bot) [Mon, 30 Sep 2024 00:52:31 +0000 (02:52 +0200)]
[3.13] gh-124720: Update "Using Python on a Mac" document (GH-124721) (#124775)
gh-124720: Update "Using Python on a Mac" document (GH-124721)
Update "Using Python on a Mac" section of the "Python Setup and Usage"
document and include information on installing free-threading support.
(cherry picked from commit
4b83c03ce964af7fb204144db9adaa524c113a82 )
Co-authored-by: Ned Deily <nad@python.org>
Miss Islington (bot) [Fri, 27 Sep 2024 22:23:39 +0000 (00:23 +0200)]
[3.13] GH-124547: Clear instance dictionary if memory error occurs during object dealloc (GH-124627) (#124714)
GH-124547: Clear instance dictionary if memory error occurs during object dealloc (GH-124627)
(cherry picked from commit
0e21cc6cf820679439d72e3ebd06227ee2a085f9 )
Co-authored-by: Mark Shannon <mark@hotpy.org>
Emily Morehouse [Fri, 27 Sep 2024 22:21:58 +0000 (15:21 -0700)]
[3.13] gh-81263: Add assignment expressions to `help` (GH-124641) (#124713)
gh-81263: Add assignment expressions to `help` (#124641)
* Add assignment expression (:=) to `help`
* Update index for Assignment Expressions to include pair of `assignment; expression`
Miss Islington (bot) [Fri, 27 Sep 2024 22:20:44 +0000 (00:20 +0200)]
[3.13] doc: PyUnicode_AsUTF8String() fails if string contains surrogates (GH-124605) (#124707)
doc: PyUnicode_AsUTF8String() fails if string contains surrogates (GH-124605)
(cherry picked from commit
d8cf587dc749cf21eafc1064237970ee7460634f )
Co-authored-by: Victor Stinner <vstinner@python.org>
Miss Islington (bot) [Fri, 27 Sep 2024 22:19:56 +0000 (00:19 +0200)]
[3.13] gh-120104: IDLE: Fix padding in config and search dialogs (GH-120107) (#122740)
gh-120104: IDLE: Fix padding in config and search dialogs (GH-120107)
(cherry picked from commit
4b66b6b7d6e65f9eb2d61435b9b37ffeb7bb00fb )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Terry Jan Reedy [Fri, 27 Sep 2024 22:19:44 +0000 (18:19 -0400)]
[3.13] Backport idlelib typos (#124325)
See #123597. The typo in Icon/README.txt was fixed
in the unmerged 3.13 backport #123608 of the
PR that added the text with the typo.
(cherry picked from commit
1f4a49e )
Co-authored-by: abstractee
Miss Islington (bot) [Fri, 27 Sep 2024 22:19:28 +0000 (00:19 +0200)]
[3.13] gh-112938: IDLE - Fix uninteruptable hang when Shell gets rapid continuous output. (GH-124310) (#124318)
gh-112938: IDLE - Fix uninteruptable hang when Shell gets rapid continuous output. (GH-124310)
https://github.com/python/cpython/issues/88496 replaced text.update with text.update_idletasks in colorizer.py and outwin.py to fix test failures on macOS. While theoretically correct, the result was Shell freezing when receiving continuous short strings to print. Test: `while 1: 1`.
The guess is that there is no idle time in which to do the screen update. Reverting the change in one of the files,
outwin, fixes the issue. Colorizer runs ever 1/20 second and seems to work fine.
When running test-outwin on macOS, alias 'update'
to 'update_idletasks on the text used for testing.
(cherry picked from commit
d5f95ec07bb47a4d6554e04d13a979dbeac05f74 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Miss Islington (bot) [Fri, 27 Sep 2024 21:28:30 +0000 (23:28 +0200)]
[3.13] gh-90190: Add doc for using `singledispatch` with precise collection type hints (GH-116544) (#124710)
gh-90190: Add doc for using `singledispatch` with precise collection type hints (GH-116544)
(cherry picked from commit
2357d5ba48cd9685cb36bcf92a0eaed86a85f4de )
Co-authored-by: Matt Delengowski <matt.delengowski@gmail.com>
Miss Islington (bot) [Fri, 27 Sep 2024 21:23:16 +0000 (23:23 +0200)]
[3.13] gh-124520: What's New entry for ctypes metaclass __new__/__init__ change (GH-124546) (#124708)
gh-124520: What's New entry for ctypes metaclass __new__/__init__ change (GH-124546)
(cherry picked from commit
3387f76b8f0b9f5ef89f9526c583bcc3dc36f486 )
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Miss Islington (bot) [Fri, 27 Sep 2024 19:59:26 +0000 (21:59 +0200)]
[3.13] gh-124487: Update Windows API version to Windows 8.1 (GH-124676) (#124702)
gh-124487: Update Windows API version to Windows 8.1 (GH-124676)
(cherry picked from commit
a4916e6013e0870fd682b7967dce76667e8ba547 )
Co-authored-by: Steve Dower <steve.dower@python.org>
Miss Islington (bot) [Fri, 27 Sep 2024 19:58:36 +0000 (21:58 +0200)]
[3.13] gh-124609: Fix _Py_ThreadId for Windows builds using MinGW (GH-124663) (#124698)
gh-124609: Fix _Py_ThreadId for Windows builds using MinGW (GH-124663)
(cherry picked from commit
0881e2d3b1212d988733f1d3acca4011ce5e6280 )
Co-authored-by: Tony Roberts <tony@pyxll.com>
Miss Islington (bot) [Fri, 27 Sep 2024 18:53:35 +0000 (20:53 +0200)]
[3.13] GH-65961: Document the deprecation of `__package__` and `__cached__` (GH-124377) (#124380)
* GH-65961: Document the deprecation of `__package__` and `__cached__` (GH-124377)
The code changes for warning related to `__package__` landed in Python 3.12. `__cached__` doesn't have any changes as it isn't used but only set by the import system.
(cherry picked from commit
67201ad53ff11576c69a9b762540b77128285f8d )
---------
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Barry Warsaw <barry@python.org>
Miss Islington (bot) [Fri, 27 Sep 2024 18:45:06 +0000 (20:45 +0200)]
[3.13] gh-124628: Pyrepl inputs on Windows shouldn't always be blocking reads (GH-124629) (#124638)
gh-124628: Pyrepl inputs on Windows shouldn't always be blocking reads (GH-124629)
(cherry picked from commit
83e5dc0f4d0d8d71288f162840b36f210fb03abf )
Co-authored-by: Dino Viehland <dinoviehland@meta.com>
Miss Islington (bot) [Fri, 27 Sep 2024 18:34:48 +0000 (20:34 +0200)]
[3.13] gh-119004: fix a crash in equality testing between `OrderedDict` (GH-121329) (#124507)
gh-119004: fix a crash in equality testing between `OrderedDict` (GH-121329)
(cherry picked from commit
38a887dc3ec52c4a7222279bf4b3ca2431b86de9 )
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Miss Islington (bot) [Fri, 27 Sep 2024 18:28:02 +0000 (20:28 +0200)]
[3.13] gh-124682: Disable test that is prone to intermittent failure on iOS. (GH-124683) (#124687)
gh-124682: Disable test that is prone to intermittent failure on iOS. (GH-124683)
Disable test that is prone to intermittent failure on iOS.
(cherry picked from commit
10d504aecc56f9481114fe3d0a8d1721d38db7e3 )
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Miss Islington (bot) [Fri, 27 Sep 2024 18:16:02 +0000 (20:16 +0200)]
[3.13] Docs: Update and proofread `library/venv.rst` (GH-124121) (#124644)
Docs: Update and proofread `library/venv.rst` (GH-124121)
(cherry picked from commit
23e812b84ae688a56a1011ed69a0d178c70e35ea )
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Fri, 27 Sep 2024 18:15:25 +0000 (20:15 +0200)]
[3.13] gh-116510: Fix crash due to shared immortal interned strings. (gh-124646) (#124648)
gh-116510: Fix crash due to shared immortal interned strings. (gh-124646)
(cherry picked from commit
98b2ed7e239c807f379cd2bf864f372d79064aac )
Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Miss Islington (bot) [Fri, 27 Sep 2024 18:11:02 +0000 (20:11 +0200)]
[3.13] gh-116510: Fix crash during sub-interpreter shutdown (gh-124645) (#124649)
gh-116510: Fix crash during sub-interpreter shutdown (gh-124645)
Fix a bug that can cause a crash when sub-interpreters use "basic"
single-phase extension modules. Shared objects could refer to PyGC_Head
nodes that had been freed as part of interpreter shutdown.
(cherry picked from commit
6f9525dd3f0ef5809106ca0923a7512d666a04bb )
Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
Miss Islington (bot) [Fri, 27 Sep 2024 18:09:15 +0000 (20:09 +0200)]
[3.13] gh-86673: Harden `test_ttk.test_element_create_image` (GH-123335) (#124654)
gh-86673: Harden `test_ttk.test_element_create_image` (GH-123335)
(cherry picked from commit
08e1bbe4a329e5961716f030c6ccfe92c736bf28 )
Co-authored-by: Erlend E. Aasland <erlend@python.org>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Miss Islington (bot) [Fri, 27 Sep 2024 18:08:56 +0000 (20:08 +0200)]
[3.13] Docs: for for/else clarify that return or raise also skip the else (GH-124591) (#124659)
Docs: for for/else clarify that return or raise also skip the else (GH-124591)
(cherry picked from commit
5329d1b74a86b3a22ff36f7976bfe720ee06d10d )
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Miss Islington (bot) [Fri, 27 Sep 2024 18:01:03 +0000 (20:01 +0200)]
[3.13] GH-95079: document error behaviour for some unicode C APIs (GH-95080) (#124661)
GH-95079: document error behaviour for some unicode C APIs (GH-95080)
(cherry picked from commit
b79a21ea429844e84509430e636d808ea9cff244 )
Co-authored-by: Max Bachmann <kontakt@maxbachmann.de>
Miss Islington (bot) [Fri, 27 Sep 2024 18:00:49 +0000 (20:00 +0200)]
[3.13] gh-123017: Add Android to the list of platforms where `strftime` doesn't support negative years (GH-124467) (#124674)
gh-123017: Add Android to the list of platforms where `strftime` doesn't support negative years (GH-124467)
Add Android to the list of platforms where `strftime` doesn't support negative years
(cherry picked from commit
0a3577bdfcb7132c92a3f7fb2ac231bc346383c0 )
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Alex Waygood [Fri, 27 Sep 2024 17:59:52 +0000 (10:59 -0700)]
[3.13] Fixup indentation for docs on `ModuleSpec` attributes (#124681) (#124685)
Fixup indentation for docs on `ModuleSpec` attributes (#124681)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Jelle Zijlstra [Thu, 26 Sep 2024 23:57:50 +0000 (16:57 -0700)]
[3.13] gh-123242: Note that type.__annotations__ may not exist (GH-124557) (#124569)
Closes GH-123242. The real criterion is that the attribute does not
exist on heap types, but I don't think we should discuss heap vs.
static types in the language reference.
(cherry picked from commit
99b23c64de301c9e77add6b0d8e60118ef807840 )
Miss Islington (bot) [Thu, 26 Sep 2024 20:56:06 +0000 (22:56 +0200)]
[3.13] gh-101100: Make __subclasses__ doctest stable (GH-124577) (#124579)
gh-101100: Make __subclasses__ doctest stable (GH-124577)
Using a standard library class makes this test difficult to maintain
as other tests and other parts of the stdlib may create subclasses,
which may still be alive when this test runs depending on GC timing.
(cherry picked from commit
08a467b537b3d9b499d060697e79b3950374ab0f )
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Miss Islington (bot) [Thu, 26 Sep 2024 20:55:32 +0000 (22:55 +0200)]
[3.13] gh-115528: Update language reference for PEP 646 (GH-121181) (#124632)
gh-115528: Update language reference for PEP 646 (GH-121181)
To recap: the objective is to make starred expressions valid in `subscription`,
which is used for generics: `Generic[...]`, `list[...]`, etc.
What _is_ gramatically valid in such contexts? Seemingly any of the following.
(At least, none of the following throw `SyntaxError` in a 3.12.3 REPL.)
Generic[x]
Generic[*x]
Generic[*x, y]
Generic[y, *x]
Generic[x := 1]
Generic[x := 1, y := 2]
So introducting
flexible_expression: expression | assignment_expression | starred_item
end then switching `subscription` to use `flexible_expression` sorts that.
But then we need to field `yield` - for which any of the following are
apparently valid:
yield x
yield x,
yield x, y
yield *x,
yield *x, *y
Introducing a separate `yield_list` is the simplest way I've been figure out to
do this - separating out the special case of `starred_item ,`.
(cherry picked from commit
7d3497f617edf77cb6ead6f5e62bce98d77b9ab8 )
Co-authored-by: Matthew Rahtz <matthew.rahtz@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Miss Islington (bot) [Thu, 26 Sep 2024 20:55:08 +0000 (22:55 +0200)]
[3.13] Programming FAQ: Mention object.__setattr__ as a technique for delegation (GH-124617) (#124624)
Programming FAQ: Mention object.__setattr__ as a technique for delegation (GH-124617)
This is used for example by threading.local in the stdlib.
(cherry picked from commit
43979fad904bcc343f90cb526faa526c45fcbfa4 )
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Miss Islington (bot) [Thu, 26 Sep 2024 20:54:52 +0000 (22:54 +0200)]
[3.13] Doc: Use the short version for daily downloads (GH-124602) (#124610)
Doc: Use the short version for daily downloads (GH-124602)
(cherry picked from commit
2c472d36b776636fb00881a717f69e43672588b1 )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Thu, 26 Sep 2024 20:52:37 +0000 (22:52 +0200)]
[3.13] gh-118181: Fix parameter markup in AST docs (GH-124473) (#124600)
gh-118181: Fix parameter markup in AST docs (GH-124473)
(cherry picked from commit
09aebb1fbc0c1d771d4942844d5e2077fcdf56c9 )
Co-authored-by: Tomas R <tomas.roun8@gmail.com>
Miss Islington (bot) [Thu, 26 Sep 2024 20:52:18 +0000 (22:52 +0200)]
[3.13] gh-123560: Correct docs for "empty" format type for floats (GH-123561) (#124596)
gh-123560: Correct docs for "empty" format type for floats (GH-123561)
(cherry picked from commit
274d9ab619b8150a613275835234ea9ef935f21f )
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Miss Islington (bot) [Thu, 26 Sep 2024 20:51:58 +0000 (22:51 +0200)]
[3.13] gh-124538: Fix crash when using `gc.get_referents` on an untracked capsule object (GH-124559) (#124588)
gh-124538: Fix crash when using `gc.get_referents` on an untracked capsule object (GH-124559)
(cherry picked from commit
f923605658a29ff9af5a62edc1fc10191977627b )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Victor Stinner [Thu, 26 Sep 2024 20:44:36 +0000 (22:44 +0200)]
[3.13] gh-124402: Speed up test_free_threading and test_super (#124491) (#124585)
gh-124402: Speed up test_free_threading and test_super (#124491)
* Reduce the number of iterations and the number of threads so a
whole test file takes less than a minute.
* Refactor test_racing_iter_extend() to remove two levels of
indentation.
* test_monitoring() uses a sleep of 100 ms instead of 1 second.
(cherry picked from commit
0387c34f7c91428681ca8a4ba4e3d22b9acffde4 )
Miss Islington (bot) [Thu, 26 Sep 2024 20:39:01 +0000 (22:39 +0200)]
[3.13] gh-123856: Fix PyREPL failure when a keyboard interrupt is triggered after using a history search (GH-124396) (#124530)
gh-123856: Fix PyREPL failure when a keyboard interrupt is triggered after using a history search (GH-124396)
(cherry picked from commit
c1600c78e4565b6bb558ade451abe2648ba4dd0a )
Co-authored-by: Emily Morehouse <emily@cuttlesoft.com>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
Malcolm Smith [Thu, 26 Sep 2024 20:36:12 +0000 (21:36 +0100)]
[3.13] gh-123014: Disable pidfd API on older Android versions (GH-124458) (#124543)
gh-123014: Disable pidfd API on older Android versions (#124458)
(cherry picked from commit
c58c572a65eb5b93d054e779df289e975a0b9864 )
Alex Waygood [Thu, 26 Sep 2024 00:29:48 +0000 (17:29 -0700)]
[3.13] gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs (#124480) (#124556)
Miss Islington (bot) [Thu, 26 Sep 2024 00:20:57 +0000 (02:20 +0200)]
[3.13] Doc: Use ``major.minor`` for documentation distribution archive filenames (GH-124489) (#124534)
Doc: Use ``major.minor`` for documentation distribution archive filenames (GH-124489)
(cherry picked from commit
6318ffcba21f8fc155f5558237ab03aa45f0e174 )
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Miss Islington (bot) [Thu, 26 Sep 2024 00:16:18 +0000 (02:16 +0200)]
[3.13] gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231) (#124528)
gh-123223: Adding hyperlink of argument in warnings.catch_warnings: (GH-123231)
* Adding hyperlink of argument
* Modify as reviewer suggested
(cherry picked from commit
828583a7855f15edc96e6721c226ace098ba463b )
Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
Miss Islington (bot) [Thu, 26 Sep 2024 00:16:02 +0000 (02:16 +0200)]
[3.13] gh-123968: fix -f/--float command line option description (GH-124517) (#124523)
gh-123968: fix -f/--float command line option description (GH-124517)
* fix -f/--float command line option description
See gh-123968 gh-124009
* Update Doc/library/random.rst
---------
(cherry picked from commit
f8651a2988274be091ecd6efc2916f38d9fb9577 )
Co-authored-by: Robert Wolff <mahlzahn@posteo.de>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Miss Islington (bot) [Thu, 26 Sep 2024 00:13:14 +0000 (02:13 +0200)]
[3.13] gh-123445: calendar: Improve descriptions for day and month attributes (GH-123483) (#124500)
gh-123445: calendar: Improve descriptions for day and month attributes (GH-123483)
(cherry picked from commit
8447c933da308939b06e33544ca9abc9fc46aa8b )
Co-authored-by: Mat S <mscull@gmail.com>
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
Co-authored-by: Eric V. Smith <ericvsmith@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Miss Islington (bot) [Thu, 26 Sep 2024 00:12:48 +0000 (02:12 +0200)]
[3.13] Doc: Improve documentation for the ``path`` argument in ``shutil.which()`` (GH-124494) (#124497)
Doc: Improve documentation for the ``path`` argument in ``shutil.which()`` (GH-124494)
(cherry picked from commit
0d38409f422b7be158a45e59766d8f4605dfa5df )
Co-authored-by: Tom Most <twm@freecog.net>
Miss Islington (bot) [Thu, 26 Sep 2024 00:12:20 +0000 (02:12 +0200)]
[3.13] Adjust build_ubuntu_ssltests job to use cache for the correct OS version (GH-124403) (#124481)
Adjust build_ubuntu_ssltests job to use cache for the correct OS version (GH-124403)
(cherry picked from commit
54dd77fb8c880d7655fffab934978e277b4275fe )
Co-authored-by: Zachary Ware <zach@python.org>
Miss Islington (bot) [Thu, 26 Sep 2024 00:10:15 +0000 (02:10 +0200)]
[3.13] For-else deserves its own section in the tutorial (GH-123946) (#124564)
For-else deserves its own section in the tutorial (GH-123946)
* For-else deserves its own section in the tutorial
* remove mention of unrolling the loop
* Update Doc/tutorial/controlflow.rst
---------
(cherry picked from commit
ffdc80e93d9d947531fa0123e5b392c6f1fd9136 )
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 22:23:17 +0000 (00:23 +0200)]
[3.13] gh-124402: Require cpu resource in test_super slow method (GH-124434) (#124468)
gh-124402: Require cpu resource in test_super slow method (GH-124434)
test___class___modification_multithreaded() now requires the 'cpu'
test resource on a Free Threaded build.
(cherry picked from commit
5a605660745d32a9b9f4208666889c702527208c )
Co-authored-by: Victor Stinner <vstinner@python.org>
Miss Islington (bot) [Tue, 24 Sep 2024 18:34:21 +0000 (20:34 +0200)]
[3.13] gh-124120: Document `Annotated.__origin__` (GH-124125) (#124416)
gh-124120: Document `Annotated.__origin__` (GH-124125)
(cherry picked from commit
faef3fa653f2901cc905f98eae0ddcd8dc334d33 )
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 18:26:32 +0000 (20:26 +0200)]
[3.13] gh-65169: Clarify prog default in argparse (GH-31602) (#124430)
gh-65169: Clarify prog default in argparse (GH-31602)
(cherry picked from commit
e69ff34e81eceb69de6623205c87e0145f1831e4 )
Co-authored-by: Stanley <46876382+slateny@users.noreply.github.com>
Victor Stinner [Tue, 24 Sep 2024 18:26:02 +0000 (20:26 +0200)]
[3.13] gh-124402: Require cpu resource in test_free_threading (#124438) (#124439)
gh-124402: Require cpu resource in test_free_threading (#124438)
Require the 'cpu' test resource on slow test_free_threading tests.
(cherry picked from commit
38a5beb12a64461a06b84fab285944ecb66de04c )
Miss Islington (bot) [Tue, 24 Sep 2024 18:22:38 +0000 (20:22 +0200)]
[3.13] Further revise idlelib/Icons/README.text (GH-123364) (#123608)
* Further revise idlelib/Icons/README.text (GH-123364)
In particular, add trademark derivative approval information.
(cherry picked from commit
fe85a8291d9aa11c9ce9e207c39ea0a0c35f9625 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* Update Lib/idlelib/Icons/README.txt
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Miss Islington (bot) [Tue, 24 Sep 2024 18:21:29 +0000 (20:21 +0200)]
[3.13] Remove excessive backticks in logging doc (GH-123813) (#123816)
Remove excessive backticks in logging doc (GH-123813)
(cherry picked from commit
93050e46144c5864fbf2b39eac798387d5758a2d )
Co-authored-by: Wei-Hsiang (Matt) Wang <mattwang44@gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 18:21:10 +0000 (20:21 +0200)]
[3.13] gh-123789: `secrets.randbits` returns only non-negative int (GH-123801) (#123830)
gh-123789: `secrets.randbits` returns only non-negative int (GH-123801)
(cherry picked from commit
beee91cdcc0dbecab252f7c5c7c51e2adb8edc26 )
Co-authored-by: Wulian <1055917385@qq.com>
Miss Islington (bot) [Tue, 24 Sep 2024 18:20:48 +0000 (20:20 +0200)]
[3.13] gh-123834: Add `symtable` to the list of modules with a CLI (GH-123835) (#123862)
gh-123834: Add `symtable` to the list of modules with a CLI (GH-123835)
(cherry picked from commit
32bc2d61411fb71bdc84eb29c6859517e7f25f36 )
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Miss Islington (bot) [Tue, 24 Sep 2024 18:17:51 +0000 (20:17 +0200)]
[3.13] Mention `curl` in `contextvars` docs (GH-123838) (#123868)
Mention `curl` in `contextvars` docs (GH-123838)
(cherry picked from commit
b950831c941a37c37b68a771610e072d11d33331 )
Co-authored-by: sobolevn <mail@sobolevn.me>
Miss Islington (bot) [Tue, 24 Sep 2024 18:16:48 +0000 (20:16 +0200)]
[3.13] gh-66449: remove duplicate configparser section in 3.13 whatsnew (GH-123874) (#123879)
gh-66449: remove duplicate configparser section in 3.13 whatsnew (GH-123874)
(cherry picked from commit
d359a7683e4339a3e057517ff25037aff2460353 )
Co-authored-by: Anthony Sottile <asottile@umich.edu>
Miss Islington (bot) [Tue, 24 Sep 2024 18:16:12 +0000 (20:16 +0200)]
[3.13] gh-123609: Clarify usage of standalone `PyBUF_FORMAT` (GH-123778) (#123903)
gh-123609: Clarify usage of standalone `PyBUF_FORMAT` (GH-123778)
(cherry picked from commit
962304a54ca79da0838cf46dd4fb744045167cdd )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 18:15:30 +0000 (20:15 +0200)]
[3.13] gh-123905: Update TOML description to include version number (GH-123906) (#123908)
gh-123905: Update TOML description to include version number (GH-123906)
Update TOML description to include version number
There is some movement, currently blocked, that would update the TOML spec to 1.1.0; this would include breaking changes to what characters are allowed. Thus, it is worthwhile for the library page to be clear which version is implemented here.
(cherry picked from commit
1b29f4144cb1631650b9b7f467453b5959fa237f )
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Paul Hoffman <phoffman@proper.com>
Miss Islington (bot) [Tue, 24 Sep 2024 18:11:31 +0000 (20:11 +0200)]
[3.13] gh-108951: Document how to terminate an asyncio.TaskGroup (GH-123837) (#123956)
gh-108951: Document how to terminate an asyncio.TaskGroup (GH-123837)
We don't want to add another API, since the recipe is straightforward and rarely needed.
The advantage is that we could backport this to the earliest Python version that has taskgroups (3.11, alas in security mode already, so we'll just do 3.12 and 3.13).
(cherry picked from commit
ef05801ba0cbf090034df17e2a0420fb42c2d538 )
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Miss Islington (bot) [Tue, 24 Sep 2024 18:08:02 +0000 (20:08 +0200)]
[3.13] GH-87358: Add clarification about nargs and default argparse behaviour (GH-124094) (#124440)
GH-87358: Add clarification about nargs and default argparse behaviour (GH-124094)
(cherry picked from commit
20ccda000b5f8365d5f864fd07876804157c2378 )
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 17:21:26 +0000 (19:21 +0200)]
[3.13] gh-116622: Switch test_stress_delivery_simultaneous from SIGUSR1 to SIGUSR2 (GH-123981) (#123988)
gh-116622: Switch test_stress_delivery_simultaneous from SIGUSR1 to SIGUSR2 (GH-123981)
Use SIGUSR1 instead of SIGUSR2 to improve reliability of signal stress test on Android.
(cherry picked from commit
43303e362e3a7e2d96747d881021a14c7f7e3d0b )
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Miss Islington (bot) [Tue, 24 Sep 2024 16:35:18 +0000 (18:35 +0200)]
[3.13] gh-108219: Add credits to the free-threading entry in What's New (GH-123802) (#123847)
gh-108219: Add credits to the free-threading entry in What's New (GH-123802)
(cherry picked from commit
aa3f11f80a644dac7184e8546ddfcc9b68be364c )
Co-authored-by: Donghee Na <donghee.na@python.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Itamar Oren <itamarost@gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 01:52:45 +0000 (03:52 +0200)]
[3.13] gh-121607: Edited source file import recipe to make it more clear (GH-121519) (#124080)
gh-121607: Edited source file import recipe to make it more clear (GH-121519)
(cherry picked from commit
38809171b8768517824fb62d48abe2cb0aff8429 )
Co-authored-by: Chris Barker <Chris.Barker@noaa.gov>
Co-authored-by: Brett Cannon <brett@python.org>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 00:43:04 +0000 (02:43 +0200)]
[3.13] GH-103484: Fix permanently redirects reported by linkcheck (GH-124144) (#124151)
GH-103484: Fix permanently redirects reported by linkcheck (GH-124144)
Fix redirects reported by linkcheck, update docs conf.py checks.
(cherry picked from commit
0a32c6959c265d21d7c43fe8e4aefc8c0983e85e )
Co-authored-by: Rafael Fontenelle <rffontenelle@users.noreply.github.com>
Miss Islington (bot) [Tue, 24 Sep 2024 00:35:29 +0000 (02:35 +0200)]
[3.13] gh-118577: Clarify that inspect.BoundArguments prefers to put values in args (GH-119936) (#124005)
gh-118577: Clarify that inspect.BoundArguments prefers to put values in args (GH-119936)
(cherry picked from commit
8e99495701737c9d9706622f59581213ef163b23 )
Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 00:35:14 +0000 (02:35 +0200)]
[3.13] gh-124083: Skip test_signal.test_strsignal() on NetBSD (GH-124084) (#124223)
gh-124083: Skip test_signal.test_strsignal() on NetBSD (GH-124084)
Skip test_strsignal() on NetBSD due to TypeError.
(cherry picked from commit
36682c091407dc9c7e750c22fb71e62466952662 )
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Co-authored-by: T. Wouters <thomas@python.org>
Miss Islington (bot) [Tue, 24 Sep 2024 00:33:33 +0000 (02:33 +0200)]
[3.13] gh-116622: Android test script improvements (GH-124012) (#124034)
gh-116622: Android test script improvements (GH-124012)
* Set Android test script stdout to line-buffered
* Print warning logcat messages on stderr
* Add a -vv option to display high-volume messages which are rarely useful
* Documentation and comment improvements
(cherry picked from commit
1f9d163850c43ba85193ef853986c5e96b168c8c )
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Miss Islington (bot) [Tue, 24 Sep 2024 00:31:56 +0000 (02:31 +0200)]
[3.13] GH-101599: Update docs to remove redundant option in argparse tutorial (GH-124025) (#124037)
GH-101599: Update docs to remove redundant option in argparse tutorial (GH-124025)
(cherry picked from commit
e5b0185e43c972ce98decd1493cd0b0c3a6b166b )
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 00:31:28 +0000 (02:31 +0200)]
[3.13] gh-123811: Test that round(Decimal) can return signed zero (GH-124007) (#124048)
gh-123811: Test that round(Decimal) can return signed zero (GH-124007)
(cherry picked from commit
b46c65ed2b78214cb8914779ac4e8d343ac4775e )
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 00:31:01 +0000 (02:31 +0200)]
[3.13] gh-119802: Update memory management docs for free-threaded build (gh-124006) (#124054)
gh-119802: Update memory management docs for free-threaded build (gh-124006)
* gh-119802: Update memory management docs for free-threaded build
* nit
* nit
* Address code review
* nit
* Update Doc/c-api/memory.rst
---------
(cherry picked from commit
e6bb1a2b28ac8aed1e1b7f1c74221ca1d02a7235 )
Co-authored-by: Donghee Na <donghee.na@python.org>
Co-authored-by: Sam Gross <colesbury@gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 00:28:10 +0000 (02:28 +0200)]
[3.13] gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031) (#124063)
gh-124030: Skip test_tcsendbreak on NetBSD for ENOTTY error (GH-124031)
(cherry picked from commit
9f42b62db998131bb5cd555e2fa72ba7e06e3130 )
Co-authored-by: Furkan Onder <furkanonder@protonmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 00:24:35 +0000 (02:24 +0200)]
[3.13] gh-124043: Disallow mixing `--with-trace-refs` and `--disable-gil` (GH-124078) (#124138)
gh-124043: Disallow mixing `--with-trace-refs` and `--disable-gil` (GH-124078)
Tracing references is not currently thread-safe in the free-threaded build.
(cherry picked from commit
3b45df03a4bd0e21edec43144b8d9bac689d23a0 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 00:23:54 +0000 (02:23 +0200)]
[3.13] gh-121023: Improve `_xxtestfuzz/README.rst` (GH-121024) (#124140)
gh-121023: Improve `_xxtestfuzz/README.rst` (GH-121024)
(cherry picked from commit
a9c2bc16349c2be3005f97249f3ae9699988f218 )
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Illia Volochii <illia.volochii@gmail.com>
Miss Islington (bot) [Tue, 24 Sep 2024 00:13:45 +0000 (02:13 +0200)]
[3.13] gh-116622: Complete Android documentation (GH-124259) (#124395)
gh-116622: Complete Android documentation (GH-124259)
(cherry picked from commit
e80dd3035fb805716bc49f9e7e9cab5f83614661 )
Co-authored-by: Malcolm Smith <smith@chaquo.com>
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: T. Wouters <thomas@python.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Hugo van Kemenade [Mon, 23 Sep 2024 23:39:46 +0000 (16:39 -0700)]
[3.13] Docs: Update two FAQs for Python 3 (GH-124247) (#124258)
Docs: Update two FAQs for Python 3 (#124247)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
(cherry picked from commit
5f011115943933ff36adf997c886d73ea88003fb )