]>
git.ipfire.org Git - thirdparty/Python/cpython.git/log
Jakub Kulík [Wed, 27 Aug 2025 17:41:14 +0000 (19:41 +0200)]
bpo-41839: Fix error checking in sched_get_priority_ functions (GH-22374)
Pablo Galindo Salgado [Wed, 27 Aug 2025 16:52:50 +0000 (17:52 +0100)]
gh-138122: Implement PEP 799 (#138142)
Andreas Pelme [Wed, 27 Aug 2025 15:57:37 +0000 (17:57 +0200)]
Docs: Fix typo in `shutil.make_archive` example (GH-138188)
Serhiy Storchaka [Wed, 27 Aug 2025 10:24:28 +0000 (13:24 +0300)]
gh-71679: Improve tests for repr() of bytes and bytearray (GH-138180)
* Merge existing tests test_repr_str and test_to_str.
* Add more tests for non-printable and non-ASCII bytes.
* Add tests for special escape sequences ('\t\n\r').
* Add tests for slashes.
* Add more tests for quotes.
* Add tests for subclasses.
* Add test for non-ASCII class name.
* Only apply @check_bytes_warnings for str() tests.
Blaise Pabon [Wed, 27 Aug 2025 06:42:00 +0000 (02:42 -0400)]
gh-106318: Add example for `str.find()` (#134529)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Taegyun Kim [Tue, 26 Aug 2025 23:00:43 +0000 (08:00 +0900)]
gh-128042: Emit a ``configure`` warning when ``-O0`` and ``--enable-optimizations`` are combined (#137975)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Kumar Aditya [Tue, 26 Aug 2025 17:13:02 +0000 (22:43 +0530)]
enhance docs for critical sections (#137334)
Rani Pinchuk [Tue, 26 Aug 2025 13:33:21 +0000 (15:33 +0200)]
gh-135427: Fix DeprecationWarning for os.fork when run in threads with -Werror (GH-136796)
Don't ignore errors raised by `PyErr_WarnFormat` in `warn_about_fork_with_threads`
Instead, ignore the warnings in all test code that forks. (That's a lot of functions.)
In `test_support`, make `ignore_warnings` a context manager (as well as decorator),
and add a `message` argument to it.
Also add a `ignore_fork_in_thread_deprecation_warnings` helper for the deadlock-in-fork
warning.
Jakub Kulík [Tue, 26 Aug 2025 11:21:09 +0000 (13:21 +0200)]
gh-137481: Fix test_calendar on Solaris and OpenIndiana (GH-138156)
In some locales (e.g. pt_PT.UTF-8), the abbreviated weekday names
are longer than three character.
Krishna Chaitanya [Tue, 26 Aug 2025 11:13:33 +0000 (16:43 +0530)]
gh-138148: Fix grammatical error in the `asynchronous generator iterator` term (GH-138155)
Bénédikt Tran [Tue, 26 Aug 2025 10:38:53 +0000 (12:38 +0200)]
gh-136565: use SHA-256 for `hashlib.__doc__` example instead of MD5 (#138157)
Petr Viktorin [Tue, 26 Aug 2025 09:14:35 +0000 (11:14 +0200)]
gh-138143: Allow anonymous unions in public headers, using `_Py_ANONYMOUS` (GH-137283)
We already use an anonymous union for PyObject. This makes the workarounds available in all public headers:
- MSVC: `__pragma(warning(disable: 4201))` (with push/pop). Warning 4201 is specifically for anonymous unions, so let's disable for all of `<Python.h>`
- GCC/clang, pedantic old C standards: define `_Py_ANONYMOUS` as `__extension__`
- otherwise, define `_Py_ANONYMOUS` as nothing
(Note that this is only for public headers -- CPython internals use C11, which has anonymous structs/unions.)
C API WG vote: https://github.com/capi-workgroup/decisions/issues/74
Adam Turner [Tue, 26 Aug 2025 01:34:07 +0000 (03:34 +0200)]
Introduce a structure for ``.github/CODEOWNERS`` (#137498)
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Chris Eibl [Mon, 25 Aug 2025 20:59:52 +0000 (22:59 +0200)]
GH-131033: Enable the optimizing macros UNLIKELY and LIKELY for Clang (GH-131019)
This includes clang-cl on Windows, which does not define the GCC version that was previously being checked.
PrinceNaroliya [Mon, 25 Aug 2025 14:53:26 +0000 (20:23 +0530)]
gh-138098: Clarify strong references in `PyDict_Next` docs on the free-threaded build (GH-138106)
Wulian233 [Mon, 25 Aug 2025 14:38:43 +0000 (22:38 +0800)]
gh-136507: Fix mimetypes CLI to handle multiple file parameters (GH-136508)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
maurycy [Mon, 25 Aug 2025 13:23:47 +0000 (15:23 +0200)]
Remove some dead code from gzip and tarfile (#138123)
The original_n variable and the writebuf and bufsize attributes were never used.
Stan Ulbrych [Mon, 25 Aug 2025 12:58:00 +0000 (13:58 +0100)]
gh-133390: Extend completion for .commands in `sqlite3` (GH-135432)
Serhiy Storchaka [Mon, 25 Aug 2025 12:36:06 +0000 (15:36 +0300)]
gh-137609: Change names of some positional-only parameters in builtins (GH-137611)
This is for a pair with GH-137610.
Serhiy Storchaka [Mon, 25 Aug 2025 12:28:27 +0000 (15:28 +0300)]
gh-137609: Update signatures of builtins in the documentation (GH-137610)
Show signatures that match the actual signatures or future multisignatures
for all functions, classes and methods in the "builtins" module.
Sergey Miryanov [Mon, 25 Aug 2025 10:15:51 +0000 (03:15 -0700)]
gh-95245: Document Py_TPFLAGS_PREHEADER (GH-135861)
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Yongzi Li [Mon, 25 Aug 2025 01:48:29 +0000 (09:48 +0800)]
gh-138081: Fix/remove incorrect links in `idlelib/HISTORY.txt` (#138091)
Brian Schubert [Sun, 24 Aug 2025 20:36:35 +0000 (16:36 -0400)]
gh-136021: Remove dead code for internal sentinel in `typing` (#138120)
Remove dead code for internal sentinel
Bénédikt Tran [Sun, 24 Aug 2025 09:01:37 +0000 (11:01 +0200)]
gh-135261: bring back CI job for testing OpenSSL 1.1.1w (#135262)
This partially reverts commit
d83e30caddcbf9482273743d287577517ec735b7
by bringing back the CI job for testing OpenSSL 1.1.1w. Despite this
version being upstream EOL, the rationale for keeping it as follows:
- It most resembles other 1.1.1-work-a-like ssl APIs supported by important vendors.
- Python officially requires OpenSSL 1.1.1 or later, although OpenSSL 3.0 or later
is recommended for cryptographic modules. Since changing the build requirements
requires a transition period, we need to keep testing the allowed versions.
- The code base still contains calls to OpenSSL functions that are deprecated since
OpenSSL 3.0 as well as `ifdef` blocks constrained to OpenSSL 1.1.1.
Serhiy Storchaka [Sun, 24 Aug 2025 08:13:31 +0000 (11:13 +0300)]
gh-137986: Fix and improve the csv functions docstrings (GH-137987)
The csv.register_dialect() docstring no longer imply that it returns a
dialect.
All functions have now signatures.
Co-authored-by: maurycy <5383+maurycy@users.noreply.github.com>
Raymond Hettinger [Sat, 23 Aug 2025 15:18:46 +0000 (10:18 -0500)]
Improve readability by adding whitespace between code paragraphs (gh-138090)
Improve readability by adding whitespace between code paragraphs.
Bénédikt Tran [Sat, 23 Aug 2025 10:17:14 +0000 (12:17 +0200)]
gh-136134: restore truncated comment post GH-136623 (#138088)
This amends
766614f88af0433c2c14f5c4ed11c92d0fb04e61
where a comment has been incorrectly truncated.
Serhiy Storchaka [Sat, 23 Aug 2025 09:12:13 +0000 (12:12 +0300)]
gh-137754: Fix import of zoneinfo if _datetime is not available (GH-137845)
Both modules should use the Python implementation in that case.
Kentaro Jay Takahashi [Fri, 22 Aug 2025 23:52:30 +0000 (08:52 +0900)]
gh-133125: Clarify ZipInfo.date_time attribute documentation (#136082)
Specifically, clarify that ZipInfo.date_time pulls the datetime information from the central directory, and that times are interpreted as local time.
Co-authored-by: Emma Smith <emma@emmatyping.dev>
Robin Narsingh Ranabhat [Fri, 22 Aug 2025 19:19:55 +0000 (01:04 +0545)]
gh-137740: Clarify `__del__` invocation mechanism in reference counting (#137741)
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Krishna Chaitanya [Fri, 22 Aug 2025 16:28:33 +0000 (21:58 +0530)]
gh-91116: Add hyperlink from `sys.settrace` to frame objects (GH-138062)
Kumar Aditya [Fri, 22 Aug 2025 13:40:43 +0000 (19:10 +0530)]
gh-137384: fix crash when accessing warnings state late in runtime shutdown (#138027)
Serhiy Storchaka [Fri, 22 Aug 2025 13:22:14 +0000 (16:22 +0300)]
gh-135386: Skip readonly tests for the root user (GH-138058)
Ken Jin [Fri, 22 Aug 2025 12:15:40 +0000 (20:15 +0800)]
gh-138042: Fix homebrew for tail-calling macOS CI (GH-138043)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Bénédikt Tran [Fri, 22 Aug 2025 11:45:01 +0000 (13:45 +0200)]
gh-136134: smtplib: fix CRAM-MD5 on FIPS-only environments (#136623)
General_K1ng [Fri, 22 Aug 2025 11:11:59 +0000 (19:11 +0800)]
gh-135386: Fix "unable to open database file" errors on readonly DB (GH-135566)
Add immutable=1 flag for read-only SQLite access to avoid WAL/SHM errors on readonly DB.
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Pranjal Prajapati [Fri, 22 Aug 2025 10:21:16 +0000 (15:51 +0530)]
gh-130425: Add "Did you mean [...]" suggestions for `del obj.attr` (GH-136588)
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Ned Batchelder <ned@nedbatchelder.com>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Bénédikt Tran [Fri, 22 Aug 2025 10:08:55 +0000 (12:08 +0200)]
gh-136134: imaplib: fix CRAM-MD5 on FIPS-only environments (#136615)
Bénédikt Tran [Fri, 22 Aug 2025 09:19:04 +0000 (11:19 +0200)]
gh-134531: simplify code for computing HMAC digests (#138046)
yihong [Fri, 22 Aug 2025 08:44:25 +0000 (16:44 +0800)]
gh-138019: improve help message for `json.tool` (#138037)
vict-Yang [Fri, 22 Aug 2025 08:27:02 +0000 (16:27 +0800)]
gh-137920: Fix semantically relevant typo in `curses.window.attron` (#137940)
Hugo van Kemenade [Fri, 22 Aug 2025 07:33:29 +0000 (10:33 +0300)]
gh-123299: Fix typos & grammar and copyedit What's New in 3.14 (#138040)
Russell Keith-Magee [Fri, 22 Aug 2025 05:11:50 +0000 (13:11 +0800)]
gh-137973: Add a non-parallel test plan to the iOS testbed project (#138018)
Modifies the iOS testbed project to add a test plan. This simplifies the iOS
test runner, as we can now use the built-in log streaming to see test results.
It also allows for some other affordances, like providing a default LLDB config,
and using a standardized mechanism for specifying test arguments.
Sergey B Kirpichev [Thu, 21 Aug 2025 22:12:17 +0000 (01:12 +0300)]
gh-73487: Convert ``_decimal`` to use Argument Clinic (part 5) (#137948)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Adam Turner [Thu, 21 Aug 2025 22:00:58 +0000 (00:00 +0200)]
GH-132775: Fix argument parsing for ``_interpqueues.put()`` (#137686)
sobolevn [Thu, 21 Aug 2025 17:48:40 +0000 (20:48 +0300)]
gh-137967: Fix "Whats New" doc example (#138028)
Pablo Galindo Salgado [Thu, 21 Aug 2025 15:56:57 +0000 (16:56 +0100)]
gh-137967: Restore suggestions on nested attribute access (#137968)
Terry Jan Reedy [Thu, 21 Aug 2025 15:02:29 +0000 (11:02 -0400)]
gh-138011: Clarify tutorial method object example code (#138014)
x must be a MyClass instance for examples to work.
---------
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Petr Viktorin [Thu, 21 Aug 2025 12:58:38 +0000 (14:58 +0200)]
gh-137376: Add note on top-level `global` declarations (GH-137707)
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Mark Shannon [Thu, 21 Aug 2025 09:40:53 +0000 (10:40 +0100)]
GH-137959: Replace shim code in jitted code with a single trampoline function. (GH-137961)
Sergey B Kirpichev [Wed, 20 Aug 2025 21:59:40 +0000 (00:59 +0300)]
gh-73487: Convert ``_decimal`` to use Argument Clinic (part 4) (#137931)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Yüce Tekol [Wed, 20 Aug 2025 17:10:44 +0000 (20:10 +0300)]
gh-137884: Added threading.get_native_id() on Illumos/Solaris (GH-137927)
Scott Noyes [Wed, 20 Aug 2025 16:55:50 +0000 (12:55 -0400)]
gh-137481: Fix abbreviation of day names in TextCalendar (GH-137482)
Use the length of the longest day name in the current locale, rather
than a constant 9, to decide if the names should be abbreviated.
Ken Jin [Wed, 20 Aug 2025 14:53:54 +0000 (22:53 +0800)]
gh-137728 gh-137762: Fix bugs in the JIT with many local variables (GH-137764)
Serhiy Storchaka [Wed, 20 Aug 2025 13:18:08 +0000 (16:18 +0300)]
gh-137477: Fix inspect.getblock() for generator expressions (GH-137488)
This fixes also inspect.getsourcelines() and inspect.getsource().
Tangyuan [Wed, 20 Aug 2025 13:08:45 +0000 (21:08 +0800)]
gh-137900: Improve dataclasses frozen parameter documentation (#137937)
Serhiy Storchaka [Wed, 20 Aug 2025 12:05:38 +0000 (15:05 +0300)]
gh-137044: To weaken the statement regarding the RLIM_INFINITY value (GH-137954)
Maximilian Linhoff [Wed, 20 Aug 2025 11:07:32 +0000 (13:07 +0200)]
Fix typo in `logging` docs (GH-137981)
Itamar Oren [Tue, 19 Aug 2025 21:30:59 +0000 (14:30 -0700)]
gh-137964: Remove the "experimental" designation from the Windows installer (GH-137965)
Steve Dower [Tue, 19 Aug 2025 20:28:28 +0000 (21:28 +0100)]
gh-120037: Disable user site packages when a ._pth file is used (GH-137428)
Serhiy Storchaka [Tue, 19 Aug 2025 15:11:03 +0000 (18:11 +0300)]
Update the availability info in the resource docs (GH-137922)
Serhiy Storchaka [Tue, 19 Aug 2025 15:05:24 +0000 (18:05 +0300)]
Update the dbm documentation (GH-137919)
Unify documentation for all backends, enumerate all not implemented mapping
methods, document particularities of implemented mapping methods.
Serhiy Storchaka [Tue, 19 Aug 2025 12:22:30 +0000 (15:22 +0300)]
gh-137044: Fix test_resource on 32-bit Linux (GH-137941)
PrinceNaroliya [Tue, 19 Aug 2025 12:00:39 +0000 (17:30 +0530)]
[docs] minor, fix grammar in ssl.SSLContect.sslsocket_class docstring (GH-137935)
Fix grammar in ssl.SSLContect.sslsocket_class docstring
---------
Co-authored-by: Gregory P. Smith <68491+gpshead@users.noreply.github.com>
Petr Viktorin [Tue, 19 Aug 2025 10:59:03 +0000 (12:59 +0200)]
gh-123681: Check NORMALIZE_CENTURY behavior at runtime; require C99 (GH-136022)
A runtime check is needed to support cross-compiling.
Remove the _Py_NORMALIZE_CENTURY macro.
Remove _pydatetime.py's _can_support_c99.
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Peter Bierma [Tue, 19 Aug 2025 08:53:38 +0000 (04:53 -0400)]
gh-137883: Check the recursion limit for specialized keyword argument calls (GH-137887)
Adam Turner [Tue, 19 Aug 2025 08:52:13 +0000 (09:52 +0100)]
gh-95534: Convert ``ZlibDecompressor.__new__`` to AC (#137923)
Mikhail Efimov [Tue, 19 Aug 2025 08:48:35 +0000 (11:48 +0300)]
gh-136438: Make sure `test_dis` pass with all optimization levels (GH-136593)
Now tests pass with all combinations of -OO and --without-doc-strings.
Sergey B Kirpichev [Tue, 19 Aug 2025 08:20:06 +0000 (11:20 +0300)]
gh-73487: Convert ``_decimal`` to use Argument Clinic (part 3) (#137844)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Serhiy Storchaka [Tue, 19 Aug 2025 06:52:45 +0000 (09:52 +0300)]
gh-137512: Add new constants in the resource module (GH-137513)
* RLIMIT_NTHR
* RLIMIT_THREADS
* RLIMIT_UMTXP
* RLIM_SAVED_CUR
* RLIM_SAVED_MAX
* Document RLIMIT_PIPEBUF. Other doc fixes.
Jason R. Coombs [Mon, 18 Aug 2025 20:57:36 +0000 (13:57 -0700)]
Revert "gh-132947: Apply changes from importlib_metadata 8.7 (#137885)" (#137924)
This reverts commit
5292fc00f29df60af82b55fca6c8b360e3667f96 .
ggqlq [Mon, 18 Aug 2025 20:54:39 +0000 (04:54 +0800)]
gh-134869: Fix Ctrl+C corrupts REPL autocomplete (#134929)
Jason R. Coombs [Mon, 18 Aug 2025 17:54:10 +0000 (10:54 -0700)]
gh-132947: Apply changes from importlib_metadata 8.7 (#137885)
* Copied files from python/importlib_metadata@
b67ac80c49 .
Adam Turner [Mon, 18 Aug 2025 17:29:00 +0000 (18:29 +0100)]
GH-137623: Use an AC decorator for docstring line length enforcement (#137690)
Serhiy Storchaka [Mon, 18 Aug 2025 16:28:56 +0000 (19:28 +0300)]
gh-137044: Make resource.RLIM_INFINITY always positive (GH-137511)
It is now a positive integer larger larger than any limited resource value.
This simplifies comparison of the resource values.
Previously, it could be negative, such as -1 or -3, depending on platform.
Deprecation warning is emitted if the old negative value is passed.
Bartosz Sławecki [Mon, 18 Aug 2025 14:58:23 +0000 (16:58 +0200)]
gh-44538: Mention nested classes/functions in doctest docs (GH-137870)
Sergey B Kirpichev [Mon, 18 Aug 2025 13:21:00 +0000 (16:21 +0300)]
gh-73487: Convert ``_decimal`` to use Argument Clinic (part 2) (#137637)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Kumar Aditya [Mon, 18 Aug 2025 13:06:43 +0000 (18:36 +0530)]
gh-135862: add C contiguous one-dimensional buffer requirement to `asyncio.StreamWriter` docs (#137910)
Petr Viktorin [Mon, 18 Aug 2025 12:25:51 +0000 (14:25 +0200)]
gh-135228: Create __dict__ and __weakref__ descriptors for object (GH-136966)
This partially reverts #137047, keeping the tests for GC collectability of the
original class that dataclass adds `__slots__` to.
The reference leaks solved there are instead solved by having the `__dict__` &
`__weakref__` descriptors not tied to (and referencing) their class.
Instead, they're shared between all classes that need them (within
an interpreter).
The `__objclass__` ol the descriptors is set to `object`, since these
descriptors work with *any* object. (The appropriate checks were already
made in the get/set code, so the `__objclass__` check was redundant.)
The repr of these descriptors (and any others whose `__objclass__` is `object`)
now doesn't mention the objclass.
This change required adjustment of introspection code that checks
`__objclass__` to determine an object's “own” (i.e. not inherited) `__dict__`.
Third-party code that does similar introspection of the internals will also
need adjusting.
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Bar Harel [Mon, 18 Aug 2025 12:18:54 +0000 (13:18 +0100)]
gh-127859: Fixed documentation for call_later and call_at for early wakeup in asyncio (#137859)
Petr Viktorin [Mon, 18 Aug 2025 11:53:01 +0000 (13:53 +0200)]
bpo-38735: Don't fail when importing from / with sys.pycache_prefix set (GH-30456)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Semyon Moroz [Mon, 18 Aug 2025 11:49:21 +0000 (11:49 +0000)]
gh-131885: Use positional-only markers for the ``decimal`` module (#131990)
Weilin Du [Mon, 18 Aug 2025 11:24:19 +0000 (19:24 +0800)]
gh-137847: Add examples for UUIDv6-8 (#137848)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Serhiy Storchaka [Mon, 18 Aug 2025 07:11:15 +0000 (10:11 +0300)]
gh-137729: Fix support for locales with @-modifiers (GH-137253)
Hood Chatham [Sun, 17 Aug 2025 23:57:15 +0000 (01:57 +0200)]
gh-127146: Emscripten: Add test_sample_profiler skips where needed (#137815)
Emscripten doesn't have the `socket.SO_REUSEADDR` constant; skip tests that
require that symbol to exist.
Christoph Walcher [Sun, 17 Aug 2025 22:12:32 +0000 (00:12 +0200)]
Emend an error in ``string.templatelib`` example output (#137890)
Adam Turner [Sun, 17 Aug 2025 16:13:57 +0000 (17:13 +0100)]
GH-137841: Open tzdata/zones file with UTF-8 encoding (#137872)
Serhiy Storchaka [Sun, 17 Aug 2025 10:37:50 +0000 (13:37 +0300)]
gh-135661: Fix parsing unterminated bogus comments in HTMLParser (GH-137873)
Bogus comments that start with "<![CDATA[" should not include the starting "!"
in its value.
Rafael Fontenelle [Sun, 17 Aug 2025 05:41:31 +0000 (02:41 -0300)]
gh-131591: fix formatting of remote debugger docs (#137225)
Terry Jan Reedy [Sat, 16 Aug 2025 14:29:47 +0000 (10:29 -0400)]
gh-137846: Add missing 'be' to profile doc. (#137856)
Insert 'be' into 'will interpreted'.
Victor Stinner [Sat, 16 Aug 2025 13:16:04 +0000 (15:16 +0200)]
gh-137725: Convert faulthandler to Argument Clinic (#137726)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Kumar Aditya [Sat, 16 Aug 2025 11:11:45 +0000 (16:41 +0530)]
gh-90483: fix docs of `SubprocessTransport.get_pipe_transport ` (#137852)
Kumar Aditya [Sat, 16 Aug 2025 10:50:54 +0000 (16:20 +0530)]
gh-101359: clarify docs for `asyncio.Event.clear` (#137849)
Jason R. Coombs [Fri, 15 Aug 2025 21:19:23 +0000 (14:19 -0700)]
gh-120492: Sync importlib_metadata 8.2.0 (#124033)
* Sync with importlib_metadata 8.2.0
Removes deprecated behaviors, including support for `PackageMetadata.__getitem__` returning None for missing keys and Distribution subclasses not implementing abstract methods.
Prioritizes valid dists to invalid dists when retrieving by name (python/cpython/#120492). Adds SimplePath to `importlib.metadata.__all__`.
* Add blurb
Nick Burns [Fri, 15 Aug 2025 20:47:46 +0000 (13:47 -0700)]
gh-92936: update `http.cookies` docs post GH-113663 (#137566)
* add versionchanged and example with quotes in cookie value
* update whatsnew with http.cookies change
* Update Doc/library/http.cookies.rst
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* Update Doc/whatsnew/3.15.rst
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* spelling, quote
* demonstrate json
* Update Doc/library/http.cookies.rst
Co-authored-by: Senthil Kumaran <senthil@python.org>
* Apply suggestions from code review
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* shorter description
---------
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Senthil Kumaran <senthil@python.org>
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
ggqlq [Fri, 15 Aug 2025 18:00:43 +0000 (02:00 +0800)]
gh-131178: Add tests for `site` command-line interface (GH-133582)
rimchoi [Fri, 15 Aug 2025 17:41:09 +0000 (02:41 +0900)]
gh-137777: Disband the 'Program Frameworks' chapter (#137796)
Pablo Galindo Salgado [Fri, 15 Aug 2025 15:14:13 +0000 (16:14 +0100)]
gh-137078: Fix keyword typo recognition when executed over files (#137079)
Adam Turner [Fri, 15 Aug 2025 14:56:13 +0000 (15:56 +0100)]
GH-123299: Copyedit 3.14 What's New: Removed (#137794)
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Kumar Aditya [Fri, 15 Aug 2025 13:58:10 +0000 (19:28 +0530)]
gh-137808: use argument clinic for `_thread.lock` and `_thread.RLock` (#137809)