Skip to content

[pull] main from python:main#249

Merged
pull[bot] merged 9 commits into
tj-python:mainfrom
python:main
Sep 13, 2025
Merged

[pull] main from python:main#249
pull[bot] merged 9 commits into
tj-python:mainfrom
python:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Sep 13, 2025

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 : )

Replace the private _PyBytesWriter API with the new public
PyBytesWriter API.
Replace the private _PyBytesWriter API with the new public
PyBytesWriter API.
…38838)

Replace the private _PyBytesWriter API with the new public
PyBytesWriter API.
)

Replace PyBytes_FromStringAndSize(NULL, 0) with
Py_GetConstant(Py_CONSTANT_EMPTY_BYTES). Py_GetConstant() cannot
fail.
Replace PyBytes_FromStringAndSize(NULL, size) and _PyBytes_Resize()
with the new public PyBytesWriter API.
Replace PyBytes_FromStringAndSize(NULL, size) with the new public
PyBytesWriter API.
Replace PyBytes_FromStringAndSize(NULL, size) and _PyBytes_Resize()
with the new public PyBytesWriter API.
Use the new public PyBytesWriter API in:

* _PyBytes_FromHex()
* _PyBytes_FromBuffer()
* _PyBytes_FromList()
* _PyBytes_FromTuple()
* _PyBytes_FromIterator()

Add _PyBytesWriter_ResizeAndUpdatePointer() and
_PyBytesWriter_GetAllocated() helper functions.
Replace PyBytes_FromStringAndSize(NULL, size) with the new public
PyBytesWriter API.
@pull pull Bot locked and limited conversation to collaborators Sep 13, 2025
@pull pull Bot added the ⤵️ pull label Sep 13, 2025
@pull pull Bot merged commit 7168e98 into tj-python:main Sep 13, 2025
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.

1 participant