Skip to content

[pull] main from python:main - #1469

Merged
pull[bot] merged 4 commits into
tj-python:mainfrom
python:main
Sep 12, 2026
Merged

[pull] main from python:main#1469
pull[bot] merged 4 commits into
tj-python:mainfrom
python:main

Conversation

@pull

@pull pull Bot commented Sep 12, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

vstinner and others added 4 commits September 12, 2026 04:24
If bytearray.resize() or bytearray.take_bytes() fails, leave the
bytearray unchanged.

Add PyBytesWriter_Resize() error test on bytearray.
On Py_TRACE_REFS build, use malloc() and free() functions of the C
library for the "reference chain" hash table. So it becomes possible
to use _testcapi.set_nomemory() with Py_TRACE_REFS.

Mark new tests using set_nomemory() with @support.nomemtest.
Co-authored-by: Ben Hsing <blhsing@gmail.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Replace soft deprecated _PyBytes_Resize() with PyBytesWriter.
@pull pull Bot locked and limited conversation to collaborators Sep 12, 2026
@pull pull Bot added the ⤵️ pull label Sep 12, 2026
@pull
pull Bot merged commit 7b17157 into tj-python:main Sep 12, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants